Function at 0x4bdb80
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 0x4be272
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.004bdaf0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4be222
lea edi, [esp + 0x50]
xor eax, eax
call fcn.0046557b
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.00465a5e
lea edi, [esp + 0x3c]
lea esi, [esp + 0x50]
call fcn.00465a5e
movzx ecx, byte [esp + 0x21]
test cl, cl
jne 0x4bdc62
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4bdcf9
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.00465a5e
call fcn.0047b810
movzx eax, byte [esp + 0x14]
test al, al
je 0x4bdc87
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4bdcf9
mov eax, dword [esp + 0xa0]
test byte [eax], al
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0x3c]
call fcn.00465a5e
call fcn.0049b020
lea edi, [esp + 0x64]
lea esi, [0x5e56b0]
call fcn.00465a5e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00465579
lea eax, [0x4be3a0]
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.00465a5e
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.004bd9b0
movzx eax, byte [esp + 8]
test al, al
je 0x4be180
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4bddbf
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4be24d
mov eax, dword [esp + 0xb4]
lea ecx, [0x518490]
cmp eax, ecx
jne 0x4bdd6b
lea eax, [0x4f62c0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x518490]
jmp 0x4bdd91
lea ecx, [0x5184a4]
cmp eax, ecx
jne 0x4be24d
lea eax, [0x4f7580]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x5184a4]
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.00470870
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
jne 0x4be113
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, [0x4be360]
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, [0x4be280]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x60b520]
test ecx, ecx
jne 0x4bde61
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 0x4bde8f
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0xa8]
call fcn.00465480
lea edi, [ecx + 0xc]
mov eax, dword [esp + 0xa0]
call fcn.00465480
lea edi, [ecx + 0x10]
mov eax, dword [esp + 0x2c]
call fcn.00465480
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.0049cf80
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4be04d
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 0x4bdfb4
mov eax, dword [esp + 0x30]
lea ecx, [0x518544]
cmp eax, ecx
jne 0x4bdf45
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.0049d7a0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4bdf4d
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 0x4bdf96
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 0x4bdfad
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.004c7480
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 0x4be02f
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 0x4be046
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.00472be0
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.0049d7a0
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 0x4be0f5
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 0x4be10c
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.0049d7a0
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 0x4be179
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 [0x5e0a9c]
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.0049d7a0
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 0x4be21b
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, [0x518014]
mov dword [esp + 4], eax
call fcn.00438510
nop
call fcn.00437b40
add esp, 0x9c
ret
call fcn.00464070
jmp fcn.004bdb80