Function at 0x4bd6f0
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 0x4bdde2
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.004bd660
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
test eax, eax
jne 0x4bdd92
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 0x4bd7d2
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4bd869
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0046585e
call fcn.0047b610
movzx eax, byte [esp + 0x14]
test al, al
je 0x4bd7f7
mov eax, dword [esp + 0xa0]
xor ecx, ecx
jmp 0x4bd869
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.0049aca0
lea edi, [esp + 0x64]
lea esi, [0x5e46d0]
call fcn.0046585e
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00465379
lea eax, [0x4bdf10]
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.004bd520
movzx eax, byte [esp + 8]
test al, al
je 0x4bdcf0
mov eax, dword [esp + 0xac]
test eax, eax
jne 0x4bd92f
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x4bddbd
mov eax, dword [esp + 0xb4]
lea ecx, [0x518390]
cmp eax, ecx
jne 0x4bd8db
lea eax, [0x4f62e0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x518390]
jmp 0x4bd901
lea ecx, [0x5183a4]
cmp eax, ecx
jne 0x4bddbd
lea eax, [0x4f75a0]
mov dword [esp], eax
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x5183a4]
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 0x4bdc83
lea eax, [0x4e9540]
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, [0x4bded0]
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, [0x4f3bc0]
mov dword [esp], edx
call fcn.0040cb10
mov eax, dword [esp + 4]
lea ecx, [0x4bddf0]
mov dword [eax], ecx
mov ecx, dword [esp + 0xa4]
mov dword [eax + 4], ecx
mov ecx, dword [0x60a540]
test ecx, ecx
jne 0x4bd9d1
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 0x4bd9ff
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.0049cc00
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
test eax, eax
je 0x4bdbbd
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 0x4bdb24
mov eax, dword [esp + 0x30]
lea ecx, [0x518444]
cmp eax, ecx
jne 0x4bdab5
lea ecx, [0x50477a]
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.0049d420
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
jmp 0x4bdabd
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 0x4bdb06
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 0x4bdb1d
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.004c71c0
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 0x4bdb9f
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 0x4bdbb6
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, [0x504bff]
mov dword [esp], edx
mov dword [esp + 4], 0xa
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049d420
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 0x4bdc65
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 0x4bdc7c
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, [0x503ab3]
mov dword [esp], edx
mov dword [esp + 4], 4
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049d420
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 0x4bdce9
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 [0x5dfabc]
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, [0x504179]
mov dword [esp], ebx
mov dword [esp + 4], 7
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call fcn.0049d420
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 0x4bdd8b
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, [0x517f18]
mov dword [esp + 4], eax
call fcn.00438510
nop
call fcn.00437b40
add esp, 0x9c
ret
call fcn.00463e70
jmp fcn.004bd6f0