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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x1c]
cmp eax, dword [ecx + 8]
jbe 0x4be072
sub esp, 0x9c
mov eax, 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov byte [esp + 0x23], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.004bd8f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4be022
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046537b
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0xa8]
mov dword [esp], ebx
call edx
movzx ecx, byte [esp + 0x18]
mov byte [esp + 0x21], cl
lea edi, [esp + 0x50]
lea esi, [esp + 4]
call fcn.0046585e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.0046585e
movzx ecx, byte [esp + 0x21]
test cl, cl
jne 0x4bda62
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4bdaf9
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0046585e
call fcn.0047b610
movzx eax, byte [esp + 0x14]
test al, al
je 0x4bda87
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4bdaf9
mov eax, dword [esp + 0xa0]
test byte [eax], al
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.0046585e
call fcn.0049ae20
lea edi, [esp + 0x64]
lea esi, [0x5df3f0]
call fcn.0046585e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00465379
lea eax, [0x4be1a0]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x7c], eax
lea edi, [esp + 0x80]
lea esi, [esp + 0x64]
call fcn.0046585e
lea ecx, [esp + 0x78]
mov dword [esp + 0x98], ecx
mov byte [esp + 0x23], 1
mov ecx, 1
mov byte [esp + 0x22], cl
mov edx, dword [eax + 0x140]
mov ebx, dword [eax + 0x144]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.004bd7b0
movzx eax, byte [esp + 8]
test al, al
je 0x4bdf80
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4bdbbf
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4be04d
mov eax, dword [esp + 0xb4]
lea ecx, [0x5184c8]
cmp eax, ecx
jne 0x4bdb6b
lea eax, [0x4f62c0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x5184c8]
jmp 0x4bdb91
lea ecx, [0x5184dc]
cmp eax, ecx
jne 0x4be04d
lea eax, [0x4f7580]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x5184dc]
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00470670
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4bdf13
lea eax, [0x4e9500]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004056f0
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x4be160]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x94], ecx
movzx ecx, byte [esp + 0x22]
or ecx, 2
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], cl
lea edx, [0x4f3c20]
mov dword [esp], edx
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4be080]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x605260]
test ecx, ecx
jne 0x4bdc61
mov ecx, dword [esp + 0xa8]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0xa0]
mov dword [eax + 0xc], edx
mov ebx, dword [esp + 0x2c]
mov dword [eax + 0x10], ebx
jmp 0x4bdc8f
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xa8]
call fcn.00465280
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0xa0]
call fcn.00465280
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x2c]
call fcn.00465280
mov eax, ecx
mov dword [esp], eax
call fcn.004437f0
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call fcn.0049cd80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4bde4d
mov dword [esp + 0x28], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x14]
mov edx, dword [esp + 0xa8]
mov dword [esp], edx
call ecx
mov dword [esp], 0
call fcn.00406ad0
movzx eax, byte [esp + 8]
test al, al
jne 0x4bddb4
mov eax, dword [esp + 0x30]
lea ecx, [0x51857c]
cmp eax, ecx
jne 0x4bdd45
lea ecx, [0x50486e]
mov dword [esp], ecx
mov dword [esp + 4], 9
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], eax
call fcn.0049d5a0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4bdd4d
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edx
movzx eax, byte [esp + 0x22]
test al, 2
je 0x4bdd96
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4bddad
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xa4]
mov eax, dword [eax + 0x18]
mov ecx, dword [esp + 0xa8]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004c7280
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 2
je 0x4bde2f
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4bde46
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov eax, dword [esp + 0xa0]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], 0xffff
mov dword [esp + 8], 0x7010
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 4
call fcn.004729e0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea edx, [0x504cea]
mov dword [esp], edx
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049d5a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 2
je 0x4bdef5
and eax, 0xfffffffd
mov byte [esp + 0x22], al
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x94]
mov ecx, dword [edx]
call ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4bdf0c
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
lea edx, [0x503b96]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049d5a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4bdf79
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov edx, dword [0x5da7dc]
mov eax, dword [edx]
mov ecx, dword [esp + 0xa0]
mov ecx, dword [ecx + 0x10]
mov dword [esp], ecx
mov ecx, dword [esp + 0xb4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xb8]
mov dword [esp + 8], ecx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
lea ebx, [0x504264]
mov dword [esp], ebx
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049d5a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], ecx
movzx eax, byte [esp + 0x22]
test al, 1
je 0x4be01b
and eax, 0xfffffffe
mov byte [esp + 0x23], al
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
call eax
add esp, 0x9c
ret
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], edx
add esp, 0x9c
ret
lea eax, [0x4ec7e0]
mov dword [esp], eax
lea eax, [0x51804c]
mov dword [esp + 4], eax
call fcn.00438510
nop
call fcn.00437b40
add esp, 0x9c
ret
call fcn.00463e70
jmp fcn.004bd980