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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b58f1
sub esp, 0x74
mov eax, dword [esp + 0x78]
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp], eax
cmp dword [esp], 0
je 0x4b58e6
add dword [esp], 0xd0
mov dword [esp + 4], eax
call fcn.004b4160
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], ecx
cmp ecx, 0
je 0x4b54df
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
add esp, 0x74
ret
cmp byte [0x6d9c6f], 0
je 0x4b5598
mov edi, 2
xchg edi, eax
mov byte [esp + 0x2f], al
xchg edi, eax
cmp byte [0x6d9c72], 0
je 0x4b5553
cmp eax, 0
je 0x4b58df
mov esi, dword [eax + 0x20]
mov dword [esp + 0x6c], esi
mov edx, dword [eax + 0x24]
mov dword [esp + 0x70], edx
cmp edx, 3
jne 0x4b5553
mov dword [esp], esi
mov dword [esp + 4], edx
mov ebp, 0x5f5d6a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.00452cd0
movzx edi, byte [esp + 0x2f]
mov eax, dword [esp + 0x78]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4b5553
mov ebx, edi
or ebx, 1
mov edi, ebx
mov ebp, dword [eax + 0x10]
mov dword [esp], ebp
xchg edi, eax
mov byte [esp + 0x2f], al
xchg edi, eax
xchg edi, eax
mov byte [esp + 4], al
xchg edi, eax
call fcn.0045ad70
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], ecx
cmp ecx, 0
jne 0x4b5598
movzx ebx, byte [esp + 0x2f]
and ebx, 1
cmp bl, 0
je 0x4b5598
mov ecx, 1
mov byte [eax + 0x1d], cl
cmp eax, 0
je 0x4b58d8
mov esi, dword [eax + 0x20]
mov dword [esp + 0x6c], esi
mov edx, dword [eax + 0x24]
cmp edx, 3
jne 0x4b5857
mov dword [esp], esi
mov dword [esp + 0x70], edx
mov dword [esp + 4], edx
mov ebp, 0x5f5d70
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 3
call fcn.00452cd0
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4b5857
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov ecx, 4
mov ebp, dword [eax + 0x10]
mov dword [esp], ebp
mov dword [esp + 4], 0x9800000c
lea ebx, [esp + 0x34]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
lea ebx, [esp + 0x30]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00459ea0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], ecx
cmp ecx, 0
je 0x4b5712
mov ebx, 0x5f6c35
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 8
mov dword [esp + 0x50], edx
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ecx
cmp ecx, 0
jne 0x4b56a3
xor eax, eax
mov ecx, eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], eax
add esp, 0x74
ret
mov dword [esp], 0x5d1980
call fcn.0040ea00
mov eax, dword [esp + 4]
mov dword [esp + 0x38], eax
mov ebp, dword [esp + 0x48]
mov dword [eax + 4], ebp
mov ebp, dword [esp + 0x44]
cmp byte [0x6d9e38], 0
jne 0x4b5700
mov dword [eax], ebp
mov ebp, dword [esp + 0x4c]
mov dword [eax + 8], ebp
mov ebp, dword [esp + 0x50]
cmp byte [0x6d9e38], 0
jne 0x4b56eb
mov dword [eax + 0xc], ebp
mov ecx, 0x6b0cb0
jmp 0x4b5694
lea esi, [eax + 0xc]
mov dword [esp], esi
mov dword [esp + 4], ebp
call fcn.0040f3d0
mov eax, dword [esp + 0x38]
jmp 0x4b56e4
mov dword [esp], eax
mov dword [esp + 4], ebp
call fcn.0040f3d0
mov eax, dword [esp + 0x38]
jmp 0x4b56cd
mov ecx, 0x72
mov dword [eax + 0x50], ecx
mov ecx, 0x77
mov dword [eax + 0x9c], ecx
cmp byte [0x6d9e38], 0
jne 0x4b583f
mov dword [eax + 0x5c], eax
cmp eax, 0
je 0x4b5838
cmp byte [0x6d9e38], 0
jne 0x4b581d
mov dword [eax + 0xa8], eax
mov ebp, dword [eax + 0xd0]
mov dword [eax + 0x4c], ebp
mov ebp, dword [eax + 0xd0]
mov dword [eax + 0x98], ebp
cmp byte [0x6d9c6e], 0
jne 0x4b57dc
mov dword [esp], 0x5ba080
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004045a0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
cmp ebx, 0
je 0x4b5816
cmp byte [0x6d9e38], 0
jne 0x4b5805
mov dword [ebx + 0x60], eax
mov dword [esp], 0x5ba080
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.004045a0
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x78]
cmp ebx, 0
je 0x4b5801
cmp byte [0x6d9e38], 0
jne 0x4b57ed
mov dword [ebx + 0xac], eax
xor ebx, ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
add esp, 0x74
ret
lea esi, [ebx + 0xac]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f3d0
jmp 0x4b57dc
mov dword [ebx], eax
jmp 0x4b57cd
lea esi, [ebx + 0x60]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f3d0
jmp 0x4b57a4
mov dword [ebx], eax
jmp 0x4b5798
lea esi, [eax + 0xa8]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f3d0
mov eax, dword [esp + 0x78]
jmp 0x4b5751
mov dword [eax], eax
jmp 0x4b573e
lea esi, [eax + 0x5c]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040f3d0
mov eax, dword [esp + 0x78]
jmp 0x4b5735
cmp edx, 4
jne 0x4b5897
mov dword [esp], esi
mov dword [esp + 0x70], edx
mov dword [esp + 4], edx
mov ebp, 0x5f6035
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.00452cd0
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x78]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4b55ef
mov dword [esp + 0x70], edx
cmp edx, 4
jne 0x4b5712
mov dword [esp], esi
mov dword [esp + 4], edx
mov ebp, 0x5f6039
mov dword [esp + 8], ebp
mov dword [esp + 0xc], 4
call fcn.00452cd0
mov eax, dword [esp + 0x78]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
jne 0x4b55ef
jmp 0x4b5712
mov dword [eax], eax
jmp 0x4b55a1
mov dword [eax], eax
jmp 0x4b5509
mov dword [0], eax
jmp 0x4b54a7
call fcn.00450fb0
jmp fcn.004b5470