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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a30da
sub esp, 0x70
mov ecx, dword [esp + 0x88]
test ecx, ecx
je 0x4a2dde
mov edx, dword [ecx + 0x20]
test edx, edx
jne 0x4a2dde
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
test edx, edx
je 0x4a2dde
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.004a6d30
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x4a2d8d
mov ecx, dword [esp + 0x88]
jmp 0x4a2dde
lea edx, [0x54932c]
cmp ecx, edx
jne 0x4a30bd
mov dword [edi + 4], 5
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a2db6
lea eax, [0x51237d]
mov dword [edi], eax
jmp 0x4a2dc1
lea eax, [0x51237d]
call fcn.00460010
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], edi
add esp, 0x70
ret
lea edi, [esp + 0x4c]
xor eax, eax
call fcn.00460217
mov ecx, dword [esp + 0x88]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 0xc]
mov ebp, dword [ecx + 0x10]
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov ebx, dword [ecx + 0x20]
mov dword [esp + 0x6c], ebx
test edx, edx
jne 0x4a2e54
mov dword [esp], ebx
call fcn.004a1c70
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], eax
test ebx, ebx
jne 0x4a2ea6
mov ecx, dword [esp + 0x88]
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x38], eax
lea edx, [0x4fdb20]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
call fcn.00449b90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x88]
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0x18]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4a2edb
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], ebp
mov dword [esp + 0x94], esi
add esp, 0x70
ret
mov eax, ebp
lea ebp, [esi + 1]
mov dword [esp + 0x64], ebp
mov dword [edi + esi*4], eax
inc ebx
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x88]
cmp ebx, edx
jge 0x4a2f51
mov ebp, dword [ecx + ebx*4]
test ebp, ebp
je 0x4a2eee
mov ebp, dword [ebp]
mov ebp, dword [ebp + 0x10]
jmp 0x4a2ef3
mov ebp, 0xffffffff
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x68]
lea ecx, [esi + 1]
cmp eax, ecx
jae 0x4a2ec3
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebp
lea edx, [0x4fdb20]
mov dword [esp], edx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.00449cd0
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x68], eax
mov dword [esp + 0x60], edi
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
jmp 0x4a2ec3
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x7c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x10], edx
lea edx, [esp + 0x4c]
mov dword [esp + 0x14], edx
call fcn.00485600
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
test edx, edx
je 0x4a3047
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebx
lea eax, [0x505d20]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [eax + 4], 9
lea ecx, [0x512e9f]
mov dword [eax], ecx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a2fea
mov ecx, dword [esp + 0x74]
mov dword [eax + 8], ecx
jmp 0x4a2ffa
lea edi, [eax + 8]
mov ecx, eax
mov eax, dword [esp + 0x74]
call fcn.00460010
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a3014
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x14], ecx
jmp 0x4a3024
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x40]
call fcn.00460010
mov eax, ecx
mov dword [esp + 0x8c], 0
lea ecx, [0x54932c]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
add esp, 0x70
ret
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
lea eax, [0x507580]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
lea ecx, [0x50c180]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea ecx, [0x4fbfe0]
mov dword [esp + 8], ecx
lea ecx, [0x51f400]
mov dword [esp + 0xc], ecx
call fcn.004146c0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
add esp, 0x70
ret
mov dword [esp], ecx
lea eax, [0x504ea0]
mov dword [esp + 4], eax
lea eax, [0x4ffd80]
mov dword [esp + 8], eax
call fcn.00408b60
nop
call fcn.0045ec00
jmp fcn.004a2d30