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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x4a5ef7
sub esp, 0xa0
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4a5e80
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov ebx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004a5300
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4a5e07
mov edi, dword [esp + 0xa4]
mov dword [edi + 4], edx
mov ecx, dword [0x5a9b20]
test ecx, ecx
jne 0x4a5dfb
mov dword [edi], ebx
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4a5dbf
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
jne 0x4a5d10
mov eax, dword [edi + 0x44]
lea ecx, [0x4db700]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x38], eax
mov dword [esp + 8], eax
call fcn.0043fb20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x70], 0
mov edx, dword [esp + 0x38]
mov dword [ecx + 0x74], edx
lea edi, [ecx + 0x6c]
mov edx, dword [0x5a9b20]
test edx, edx
jne 0x4a5d06
mov dword [ecx + 0x6c], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
lea ebx, [0x4e99e4]
mov dword [esp + 0x70], ebx
lea ebx, [0x4e99e8]
mov dword [esp + 0x74], ebx
lea ebx, [0x4e99e0]
mov dword [esp + 0x78], ebx
xor eax, eax
jmp 0x4a5768
mov ebx, dword [esp + 0x38]
lea eax, [ebx + 1]
mov ecx, edx
mov edi, dword [esp + 0x64]
cmp eax, 3
jge 0x4a58a6
mov dword [esp + 0x38], eax
lea ebx, [esp + 0x70]
mov edx, dword [ebx + eax*4]
mov dword [esp], ecx
mov ebp, dword [edx]
call ebp
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
test ecx, ecx
jne 0x4a582d
mov ebx, dword [esp + 0xa4]
mov ebp, dword [ebx + 0x70]
lea esi, [ebp + 1]
mov ecx, ebp
mov ebp, dword [ebx + 0x6c]
mov edx, ebx
mov ebx, dword [ebx + 0x74]
cmp esi, ebx
ja 0x4a57d3
lea ebx, [ecx + 1]
mov dword [edx + 0x70], ebx
lea edi, [ebp + ecx*4]
mov ebx, dword [0x5a9b20]
test ebx, ebx
jne 0x4a57cc
mov dword [ebp + ecx*4], eax
jmp 0x4a575b
call fcn.00455860
jmp 0x4a575b
mov dword [esp + 0x48], eax
lea eax, [0x4db700]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.0043fbe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xa4]
mov dword [ebx + 0x74], edx
mov edx, dword [0x5a9b20]
test edx, edx
jne 0x4a5822
mov dword [ebx + 0x6c], eax
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x48]
jmp 0x4a57b2
mov edi, dword [esp + 0x64]
call fcn.00455860
jmp 0x4a5818
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a5250
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov eax, dword [ecx + 0x70]
mov edx, dword [ecx + 0x44]
lea ebx, [eax + edx]
mov dword [esp + 0x38], ebx
mov ebp, dword [ecx + 0x74]
mov esi, dword [ecx + 0x6c]
mov edi, dword [ecx + 0x40]
mov dword [esp + 0x60], edi
mov edi, dword [ecx + 0x48]
cmp ebx, ebp
ja 0x4a5cb8
cmp eax, ebx
ja 0x4a5eef
mov dword [esp + 0x5c], esi
mov dword [esp + 0x44], ebp
lea ecx, [0x4db700]
mov dword [esp], ecx
sub ebp, eax
shl eax, 2
mov ebx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edi
call fcn.0040e9b0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xa4]
mov dword [ecx + 0x70], eax
mov eax, dword [esp + 0x44]
mov dword [ecx + 0x74], eax
mov eax, dword [0x5a9b20]
test eax, eax
jne 0x4a5ca6
mov eax, dword [esp + 0x5c]
mov dword [ecx + 0x6c], eax
mov eax, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 8]
test edx, edx
jle 0x4a5c76
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov ebp, dword [ecx + 0x1c]
mov esi, dword [ecx + 0x18]
mov edi, dword [ecx + 0x14]
test edi, edi
je 0x4a5c60
mov byte [esp], 1
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
call fcn.004a61b0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004a64e0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x14]
lea edi, [esp + 0x7c]
mov ebx, eax
xor eax, eax
call fcn.00455a77
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x20]
mov ebp, dword [eax + 0x24]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], ebp
mov ecx, dword [eax + 0x6c]
mov ebp, dword [eax + 0x70]
mov esi, dword [eax + 0x74]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], esi
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x7c]
mov dword [esp + 0x14], ecx
call fcn.004912a0
mov eax, dword [0x5a9b20]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x4a5c48
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x50], ecx
test ebx, ebx
jne 0x4a5bd6
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x94]
test ecx, ecx
jle 0x4a5b32
lea eax, [0x4c2120]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004041c0
mov eax, dword [0x5a9b20]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4a5bbb
mov eax, dword [esp + 0xa4]
mov dword [eax + 0x9c], ecx
mov ecx, dword [eax + 0x90]
mov dword [esp + 0x58], ecx
mov edx, dword [eax + 0x94]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4a5b2e
mov dword [esp + 0x44], ebx
mov edx, dword [ecx + ebx*4]
mov dword [esp], 8
lea ebp, [0x4e99d8]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.00436e90
mov eax, dword [esp + 0x44]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4a5af3
mov ecx, dword [eax + 0x58]
test ecx, ecx
jne 0x4a5b56
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
add esp, 0xa0
ret
lea eax, [0x4c21e0]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.004041c0
mov eax, dword [0x5a9b20]
mov ecx, dword [esp + 8]
test eax, eax
jne 0x4a5ba3
mov eax, dword [esp + 0xa4]
mov dword [eax + 0xa0], ecx
mov dword [esp], 4
lea ecx, [0x4e99dc]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00436e90
jmp 0x4a5b39
mov edx, dword [esp + 0xa4]
lea edi, [edx + 0xa0]
mov eax, ecx
call fcn.00455860
mov eax, edx
jmp 0x4a5b87
mov edx, dword [esp + 0xa4]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.00455860
mov eax, edx
jmp 0x4a5adb
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], edx
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x8c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004a5250
mov eax, dword [esp + 0x34]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov ebp, dword [esp + 0xa4]
lea edi, [ebp + 0x50]
mov eax, ecx
call fcn.00455860
mov eax, ebp
jmp 0x4a5a6d
nop
call fcn.0047d920
mov edi, dword [esp]
mov esi, dword [esp + 4]
mov ebp, dword [esp + 8]
jmp 0x4a5971
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ebp, dword [ecx + 4]
mov esi, dword [ecx]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebp
lea ebx, [esp + 0x68]
mov eax, 1
mov edx, 1
jmp 0x4a5954
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
call fcn.00455860
jmp 0x4a5943
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], eax
lea ecx, [0x4db700]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0043fbe0
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x40]
jmp 0x4a58cb
call fcn.00455860
jmp 0x4a571d
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405560
movzx eax, byte [esp + 8]
test al, al
jne 0x4a5d39
mov edi, dword [esp + 0xa4]
jmp 0x4a56cc
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x78]
mov edx, dword [eax + 0x80]
mov ebx, dword [eax + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x88]
mov edx, dword [eax + 0x8c]
mov ebx, dword [eax + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x58]
mov eax, dword [eax + 0x5c]
mov ecx, dword [ecx + 0x18]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0xa0
ret
lea eax, [0x4ca7c0]
mov dword [esp], eax
call fcn.0040a430
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x4e3057]
mov dword [eax], ecx
lea ecx, [0x4ff770]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov eax, ebx
call fcn.00455860
jmp 0x4a56b3
mov dword [esp + 0x50], eax
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x7c]
mov ebx, dword [eax + 0x78]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a5250
mov eax, dword [esp + 0x30]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xac], eax
add esp, 0xa0
ret
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x78]
mov ebx, dword [eax + 0x7c]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x8c]
mov edx, dword [eax + 0x88]
mov ebx, dword [eax + 0x84]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
call fcn.004a5250
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0x64]
mov eax, dword [eax + 0x60]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
add esp, 0xa0
ret
mov ecx, ebx
call fcn.00455940
nop
call fcn.00454020
jmp fcn.004a5630