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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b0b96
sub esp, 0x58
mov eax, dword [esp + 0x68]
test eax, eax
jne 0x4b0a84
xor eax, eax
mov ecx, eax
mov edx, dword [esp + 0x70]
test edx, edx
je 0x4b0a53
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], ecx
mov eax, dword [edx + 0x20]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [ecx + 0x140]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4b0a47
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov ecx, dword [esp + 0x60]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
call fcn.004a6c80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test edx, edx
jne 0x4b0a3b
mov edx, dword [esp + 0x5c]
mov byte [edx + 0x148], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov ebx, dword [edx + 0x10]
mov dword [esp], ebx
call fcn.004775e0
mov eax, dword [esp + 4]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x44]
test edx, edx
je 0x4b091b
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004b06d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call fcn.004b06d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004a6bb0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x58
ret
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
call fcn.004776c0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
je 0x4b09c9
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004b06d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
call fcn.004b06d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x5c]
mov dword [esp], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.004a6bb0
jmp 0x4b0907
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004b06d0
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [edx]
call eax
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x50], ecx
lea edx, [0x4ebdc0]
mov dword [esp], edx
mov edx, dword [esp + 0x70]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 8], edx
call fcn.0040aee0
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
call fcn.004a6bb0
jmp 0x4b0907
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
add esp, 0x58
ret
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
call fcn.004a6a90
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4b0a78
mov edx, dword [esp + 0x5c]
xor eax, eax
xor ecx, ecx
jmp 0x4b0856
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x58
ret
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x5c]
mov edx, dword [ecx + 0x140]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
test ecx, ecx
jne 0x4b0b8a
test ebx, ebx
jne 0x4b0ac3
mov eax, edx
mov ecx, ebx
jmp 0x4b07b9
mov dword [esp + 0x38], edx
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00477500
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
test ecx, ecx
jne 0x4b0af8
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
jmp 0x4b0aba
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
lea eax, [0x4ee380]
mov dword [esp], eax
call fcn.0040d220
mov eax, dword [esp + 4]
mov dword [esp + 0x4c], eax
mov dword [eax + 4], 4
mov ecx, dword [0x5ac790]
test ecx, ecx
jne 0x4b0b72
lea ecx, [0x50580d]
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, dword [0x5ac790]
lea edx, [eax + 0xc]
test ecx, ecx
jne 0x4b0b5c
mov ecx, dword [esp + 0x40]
mov dword [eax + 0xc], ecx
lea ecx, [0x51e140]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
mov dword [esp], edx
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.0040da50
mov eax, dword [esp + 0x4c]
jmp 0x4b0b4a
mov dword [esp], eax
lea ecx, [0x50580d]
mov dword [esp + 4], ecx
call fcn.0040da50
mov eax, dword [esp + 0x4c]
jmp 0x4b0b2f
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x58
ret
call fcn.004491a0
jmp fcn.004b0790