Function at 0x4bed00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6046f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6687b8]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx]
mov dword [esp + 0x24], ecx
mov ecx, eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x20], ecx
test ecx, ecx
mov esi, dword [eax + 4]
je 0x4bed4d
cmp ecx, eax
je 0x4bed52
call fcn.005d29f1
cmp dword [esp + 0x24], esi
je 0x4bf1e4
mov ebx, dword [esp + 0x70]
mov esi, dword [esp + 0x20]
test esi, esi
mov edx, dword [ebx + 4]
mov dword [esp + 0x54], edx
jne 0x4bed74
call fcn.005d29f1
mov edi, dword [esp + 0x24]
cmp edi, dword [esi + 4]
jne 0x4bed82
call fcn.005d29f1
lea esi, [edi + 0xc]
mov ecx, esi
mov eax, ebx
call fcn.004bfc90
mov ebp, dword [ebx + 4]
cmp eax, ebp
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], ebx
je 0x4beded
mov ecx, dword [eax + 0xc]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4bf1fe
mov esi, dword [esi]
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4bedd9
test dx, dx
je 0x4bedd5
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bedd9
add eax, 4
add ecx, 4
test dx, dx
jne 0x4bedb3
xor eax, eax
jmp 0x4bedde
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setl al
test al, al
jne 0x4beded
lea eax, [esp + 0x30]
jmp 0x4bedf9
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], ebx
lea eax, [esp + 0x38]
mov ecx, dword [eax]
test ecx, ecx
mov esi, dword [eax + 4]
je 0x4bee06
cmp ecx, ebx
je 0x4bee0b
call fcn.005d29f1
cmp esi, dword [esp + 0x54]
je 0x4bf1c6
mov eax, dword [esp + 0x20]
cmp edi, dword [eax + 4]
jne 0x4bee23
call fcn.005d29f1
mov eax, dword [edi + 0x14]
mov ebp, dword [eax]
lea ebx, [edi + 0x10]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov ecx, dword [esp + 0x20]
cmp edi, dword [ecx + 4]
jne 0x4bee41
call fcn.005d29f1
mov edi, dword [esp + 0x24]
add edi, 0xc
test ebx, ebx
mov esi, dword [edi + 8]
lea eax, [edi + 4]
je 0x4bee56
cmp ebx, eax
je 0x4bee5b
call fcn.005d29f1
cmp ebp, esi
je 0x4bf1bf
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp eax, dword [edx + 4]
jne 0x4bee75
call fcn.005d29f1
mov ecx, dword [esp + 0x70]
push edi
call fcn.004bf210
test ebx, ebx
mov ecx, dword [eax + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], ecx
jne 0x4bee93
call fcn.005d29f1
cmp ebp, dword [ebx + 4]
jne 0x4bee9d
call fcn.005d29f1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 4]
lea esi, [ebp + 0xc]
jne 0x4beeb2
call fcn.005d29f1
mov ecx, dword [esp + 0x70]
push edi
call fcn.004bf210
mov ecx, esi
mov ebp, eax
call fcn.00467b70
test ebp, ebp
mov edi, eax
mov dword [esp + 0x44], edi
jne 0x4beed4
call fcn.005d29f1
cmp edi, dword [ebp + 4]
mov dword [esp + 0x40], ebp
je 0x4bef2b
mov ecx, dword [edi + 0xc]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x4bf1fe
mov eax, dword [esi]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4bef17
test dx, dx
je 0x4bef13
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4bef17
add eax, 4
add ecx, 4
test dx, dx
jne 0x4beef1
xor eax, eax
jmp 0x4bef1c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setl al
test al, al
jne 0x4bef2b
lea eax, [esp + 0x40]
jmp 0x4bef3a
mov eax, dword [ebp + 4]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], ebp
lea eax, [esp + 0x48]
mov ecx, dword [eax]
test ecx, ecx
mov edi, dword [eax + 4]
je 0x4bef49
cmp ecx, dword [esp + 0x18]
je 0x4bef4e
call fcn.005d29f1
cmp edi, dword [esp + 0x5c]
je 0x4bf1a5
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [ebx + 4]
jne 0x4bef66
call fcn.005d29f1
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
cmp edx, dword [eax + 4]
jne 0x4bef78
call fcn.005d29f1
mov edi, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0x78]
add edi, 0xc
push edi
call fcn.004bf210
add esp, 4
mov ecx, eax
call fcn.004bf380
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [ebx + 4]
mov ebp, dword [eax]
jne 0x4befa5
call fcn.005d29f1
mov eax, dword [esi + 4]
push ebp
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
je 0x4bf1a5
mov ebp, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
cmp ebp, dword [edx + 4]
jne 0x4befcc
call fcn.005d29f1
mov edi, dword [edi]
push 0x632c20
push edi
call fcn.005d2da6
add esp, 8
test eax, eax
jne 0x4bf1dc
mov edi, dword [esp + 0x2c]
cmp edi, dword [ebx + 4]
jne 0x4beff2
call fcn.005d29f1
mov eax, dword [esi]
push str.KeySet
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
je 0x4bf046
cmp edi, dword [ebx + 4]
jne 0x4bf010
call fcn.005d29f1
mov eax, dword [esi]
push str.AdvanceSet
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
je 0x4bf046
cmp edi, dword [ebx + 4]
jne 0x4bf02e
call fcn.005d29f1
mov eax, dword [esi]
push str.CommonSet
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
jne 0x4bf1dc
cmp edi, dword [ebx + 4]
jne 0x4bf050
call fcn.005d29f1
mov eax, dword [esi + 4]
sub eax, 0x10
call fcn.0040a210
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], 0
cmp edi, dword [ebx + 4]
jne 0x4bf074
call fcn.005d29f1
mov eax, dword [esp + 0x20]
cmp ebp, dword [eax + 4]
jne 0x4bf082
call fcn.005d29f1
mov eax, dword [esp + 0x24]
push esi
push ecx
mov ecx, dword [esp + 0x78]
add eax, 0xc
push eax
call fcn.004bf210
add esp, 4
mov ecx, eax
call fcn.004bf380
mov eax, dword [eax]
sub eax, 0x10
call fcn.0040a210
mov ecx, dword [esp + 0x18]
push 0xa
push 0
push ecx
lea edi, [eax + 0x10]
call fcn.005d419b
add esp, 0xc
push 0xa
push 0
push edi
mov dword [esp + 0x28], eax
call fcn.005d419b
mov edx, dword [esp + 0x38]
add esp, 0xc
cmp edx, dword [ebx + 4]
mov ebp, eax
jne 0x4bf0de
call fcn.005d29f1
mov eax, dword [esi]
push str.KeySet
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
jne 0x4bf0fa
and ebp, 0x1ef
jmp 0x4bf14c
mov eax, dword [esp + 0x2c]
cmp eax, dword [ebx + 4]
jne 0x4bf108
call fcn.005d29f1
mov eax, dword [esi]
push str.AdvanceSet
push eax
call fcn.005d2da6
add esp, 8
test eax, eax
jne 0x4bf124
and ebp, 0x7fd
jmp 0x4bf14c
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [ebx + 4]
jne 0x4bf132
call fcn.005d29f1
mov esi, dword [esi]
push str.CommonSet
push esi
call fcn.005d2da6
add esp, 8
test eax, eax
jne 0x4bf14c
and ebp, 0xdff
cmp dword [esp + 0x1c], ebp
je 0x4bf15a
mov dword [esp + 0x14], 1
add edi, 0xfffffff0
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4bf176
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4bf19e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x14], 0
jne 0x4bf1e4
lea esi, [esp + 0x28]
call fcn.00433c40
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x24]
jmp 0x4bee33
cmp dword [esp + 0x14], 0
jne 0x4bf1e4
lea esi, [esp + 0x20]
call fcn.00433a30
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x74]
jmp 0x4bed42
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
push 0x80004005
call fcn.00403650
int3