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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x74]
cmp eax, dword [ecx + 8]
jbe 0x4aa258
sub esp, 0xf4
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4a97b9
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x4a97b9
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x4a97b9
lea eax, [0x4b9ee0]
mov dword [esp], eax
call fcn.0040b050
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x4c8546]
mov dword [eax], ecx
lea ecx, [0x4ec670]
mov edx, dword [esp + 0xf8]
mov dword [edx + 0x60], ecx
mov ebx, dword [0x599330]
test ebx, ebx
jne 0x4a97af
mov dword [edx + 0x64], eax
jmp 0x4a97c1
lea edi, [edx + 0x64]
call fcn.0045f180
jmp 0x4a97c1
lea ecx, [0x4ec670]
mov edx, eax
mov eax, dword [edx + 0x60]
test eax, eax
jne 0x4a97d2
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4a97ea
mov eax, dword [edx + 0x74]
mov dword [esp + 0xa0], eax
mov ecx, dword [edx + 0x78]
mov dword [esp + 0x4c], ecx
xor ebx, ebx
jmp 0x4aa1c8
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov ebx, dword [edx + 0x20]
mov ebp, dword [edx + 0x24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ebp
call fcn.004a9440
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x4a984b
mov dword [esp + 0x74], edx
mov dword [esp + 0xb8], ecx
mov eax, dword [esp + 0xf8]
mov ebx, dword [eax + 0x74]
mov dword [esp + 0x98], ebx
mov ebp, dword [eax + 0x78]
mov dword [esp + 0x44], ebp
xor esi, esi
jmp 0x4aa132
mov edi, dword [esp + 0xf8]
mov dword [edi + 4], ebp
mov ecx, dword [0x599330]
test ecx, ecx
jne 0x4a9863
mov dword [edi], ebx
jmp 0x4a986a
mov eax, ebx
call fcn.0045f180
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x4a9969
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
je 0x4a98c2
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405940
movzx eax, byte [esp + 8]
test al, al
je 0x4a98bb
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x90], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x3c], edx
xor ebx, ebx
jmp 0x4aa07f
mov edi, dword [esp + 0xf8]
mov eax, dword [edi + 0x44]
lea ecx, [0x4c3a20]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x58], eax
mov dword [esp + 8], eax
call fcn.00449110
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x6c], 0
mov edx, dword [esp + 0x58]
mov dword [ecx + 0x70], edx
lea edi, [ecx + 0x68]
mov edx, dword [0x599330]
test edx, edx
jne 0x4a9911
mov dword [ecx + 0x68], eax
jmp 0x4a9916
call fcn.0045f180
mov dword [esp + 0xb4], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea ebx, [0x4d08d8]
mov dword [esp + 0xc4], ebx
lea ebx, [0x4d08dc]
mov dword [esp + 0xc8], ebx
lea ebx, [0x4d08d4]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x4a99b5
lea eax, [0x4b9ee0]
mov dword [esp], eax
call fcn.0040b050
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x4c9c79]
mov dword [eax], ecx
lea ecx, [0x4ec670]
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], eax
add esp, 0xf4
ret
mov ebx, dword [esp + 0x58]
lea eax, [ebx + 1]
mov ecx, edx
mov edi, dword [esp + 0xb4]
cmp eax, 3
jge 0x4a9ab6
mov dword [esp + 0x58], eax
mov edx, dword [esp + eax*4 + 0xc4]
mov ebx, dword [edx]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0xc]
test ecx, ecx
jne 0x4a9a8c
mov ebx, dword [esp + 0xf8]
mov ebp, dword [ebx + 0x6c]
lea esi, [ebp + 1]
mov ecx, ebp
mov ebp, dword [ebx + 0x68]
mov edx, ebx
mov ebx, dword [ebx + 0x70]
cmp ebx, esi
jae 0x4a9a65
mov dword [esp + 0x64], eax
lea eax, [0x4c3a20]
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.00449250
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0xf8]
mov dword [ebx + 0x70], edx
mov edx, dword [0x599330]
test edx, edx
jne 0x4a9a51
mov dword [ebx + 0x68], eax
mov edi, dword [esp + 0xb4]
jmp 0x4a9a5d
mov edi, dword [esp + 0xb4]
call fcn.0045f180
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x64]
lea ebx, [ecx + 1]
mov dword [edx + 0x6c], ebx
mov ebx, dword [0x599330]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x4a9a82
mov dword [ebp + ecx*4], eax
jmp 0x4a99a5
call fcn.0045f180
jmp 0x4a99a5
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x70], ebp
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 0x74]
mov dword [esp + 0x88], ecx
mov edx, dword [eax + 0x78]
mov dword [esp + 0x34], edx
xor esi, esi
jmp 0x4a9fe9
mov eax, dword [ecx + 0x6c]
mov edx, dword [ecx + 0x44]
lea ebx, [eax + edx]
mov dword [esp + 0x58], ebx
mov ebp, dword [ecx + 0x70]
mov esi, dword [ecx + 0x68]
mov edi, dword [ecx + 0x40]
cmp ebp, ebx
jae 0x4a9b1f
mov dword [esp + 0xb0], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
lea ecx, [0x4c3a20]
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.00449250
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
mov edi, dword [esp + 0xb0]
cmp eax, ebx
ja 0x4a9faa
mov dword [esp + 0x54], ebp
mov dword [esp + 0xac], esi
lea ecx, [0x4c3a20]
mov dword [esp], ecx
sub ebp, eax
xchg ebp, ebx
neg ebx
xchg ebp, ebx
shl eax, 2
sar ebp, 0x1f
and eax, ebp
add eax, esi
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
call fcn.0040f140
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [ecx + 0x70], eax
mov eax, dword [0x599330]
test eax, eax
jne 0x4a9b8d
mov eax, dword [esp + 0xac]
mov dword [ecx + 0x68], eax
jmp 0x4a9ba0
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
call fcn.0045f180
mov dword [esp], ecx
call fcn.004aaab0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
test eax, eax
jne 0x4a9d3a
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx + 0xc]
mov eax, esi
mov esi, dword [ecx + 8]
mov edi, ebp
mov ebp, dword [ecx + 0x10]
test edx, edx
jne 0x4a9c22
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov edx, ebx
mov ebx, dword [ecx]
mov ebp, ecx
mov ecx, dword [ecx + 4]
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xc0], ecx
mov ecx, ebp
mov ebx, edx
mov ebp, 1
mov edx, 1
lea esi, [esp + 0xbc]
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x5c], esi
lea edi, [esp + 0xd0]
xor eax, eax
call fcn.0045f357
mov ecx, dword [esp + 0xf8]
mov eax, ebp
mov ebp, dword [ecx + 0x20]
mov edi, edx
mov edx, dword [ecx + 0x24]
mov dword [esp + 0xd0], ebp
mov dword [esp + 0xd4], edx
mov edx, dword [ecx + 0x68]
mov ebp, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x70]
mov dword [esp + 0xe4], edx
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], esi
mov dword [esp + 0xd8], ebx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xdc], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xe0], edx
mov edx, dword [ecx + 0x4c]
mov dword [esp + 0xf0], edx
mov edx, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov edx, dword [esp + 0x5c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
lea edx, [esp + 0xd0]
mov dword [esp + 0x14], edx
call fcn.004830f0
mov ecx, dword [0x599330]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x4a9cf2
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x50], eax
jmp 0x4a9d01
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x50]
call fcn.0045f180
test edx, edx
je 0x4a9d28
mov dword [esp + 0x6c], ebp
mov dword [esp + 0xb8], ebx
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x80], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x2c], edx
xor esi, esi
jmp 0x4a9f47
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x4a9d79
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x24]
cmp ebx, edx
jl 0x4a9d4f
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x4a9de7
lea ecx, [0x4b6000]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00404550
mov eax, dword [esp + 8]
mov ecx, dword [0x599330]
test ecx, ecx
jne 0x4a9db6
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x98], eax
jmp 0x4a9dc8
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x98]
call fcn.0045f180
mov dword [esp + 0x68], eax
mov edx, dword [ecx + 0x8c]
mov dword [esp + 0xa8], edx
mov ebx, dword [ecx + 0x90]
mov dword [esp + 0x58], ebx
xor ebp, ebp
jmp 0x4a9e62
mov dword [esp], ecx
call fcn.004aa670
mov eax, dword [0x599330]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4a9e0c
mov eax, dword [esp + 0xf8]
mov dword [eax + 0x9c], ecx
jmp 0x4a9e20
mov edx, dword [esp + 0xf8]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.0045f180
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf4
ret
mov dword [esp], eax
call fcn.0043fed0
mov eax, dword [esp + 0x54]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x58]
cmp ebp, ebx
jge 0x4a9de7
mov dword [esp + 0x54], ebp
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x60], eax
lea ecx, [0x4b9be0]
mov dword [esp], ecx
call fcn.0040b050
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea ecx, [0x4aa2b0]
mov dword [eax], ecx
mov edx, dword [0x599330]
test edx, edx
jne 0x4a9ea5
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
jmp 0x4a9eb1
lea edi, [eax + 4]
mov eax, dword [esp + 0x68]
call fcn.0045f180
lea eax, [0x4bb060]
mov dword [esp], eax
call fcn.0040b050
mov eax, dword [esp + 4]
lea ecx, [0x4aa270]
mov dword [eax], ecx
mov edx, dword [0x599330]
test edx, edx
jne 0x4a9eeb
mov edx, dword [esp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
jmp 0x4a9e3d
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0xa4]
call fcn.0045f180
lea edi, [edx + 8]
mov eax, dword [esp + 0x60]
call fcn.0045f180
mov eax, edx
jmp 0x4a9e3d
mov dword [esp + 0x58], esi
lea ecx, [eax + esi*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
cmp esi, edx
jl 0x4a9f0f
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx + 0x84]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x4a9f91
mov dword [esp + 0x58], edx
lea ecx, [eax + edx*8]
mov ebx, dword [ecx]
mov ecx, dword [ecx + 4]
mov ebx, dword [ebx + 0x10]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 0x58]
lea edx, [eax + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x6c]
cmp edx, ecx
jl 0x4a9f63
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov ecx, ebx
call fcn.0045f260
mov dword [esp + 0x58], esi
lea eax, [ecx + esi*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x34]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x70]
cmp esi, edx
jl 0x4a9fb1
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x4aa039
mov dword [esp + 0x58], edx
lea eax, [ecx + edx*8]
mov ebx, dword [eax]
mov eax, dword [eax + 4]
mov ebx, dword [ebx + 0x10]
mov dword [esp], eax
call ebx
mov eax, dword [esp + 0x58]
lea edx, [eax + 1]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0xb8]
mov ebp, dword [esp + 0x70]
cmp edx, eax
jl 0x4aa008
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x3c]
cmp ebx, edx
jl 0x4aa052
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x4aa0cb
mov dword [esp + 0x58], ebx
lea eax, [ecx + ebx*8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], eax
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jl 0x4aa09e
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 + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
mov dword [esp + 0x58], esi
lea eax, [ebx + esi*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x58]
lea esi, [eax + 1]
mov eax, dword [esp + 0xf8]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x44]
cmp esi, ebp
jl 0x4aa0fa
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x94], ebx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x4aa182
mov dword [esp + 0x58], ebp
lea eax, [ebx + ebp*8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ecx + 0x10]
mov dword [esp], eax
call ecx
mov eax, dword [esp + 0x58]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x74]
mov ebx, dword [esp + 0x94]
cmp ebp, eax
jl 0x4aa151
mov dword [esp + 0xfc], ecx
mov dword [esp + 0x100], edx
add esp, 0xf4
ret
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0xf8]
cmp ebx, ecx
jl 0x4aa19b
mov eax, dword [edx + 0x80]
mov dword [esp + 0x9c], eax
mov ecx, dword [edx + 0x84]
mov dword [esp + 0x48], ecx
xor ebx, ebx
jmp 0x4aa214
mov dword [esp + 0x58], ebx
lea ecx, [eax + ebx*8]
mov edx, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + 0x10]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x58]
lea ebx, [eax + 1]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0xf8]
cmp ebx, ecx
jl 0x4aa1e7
mov eax, dword [edx + 0xa0]
mov ecx, dword [edx + 0xa4]
test eax, eax
je 0x4aa23d
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
mov eax, dword [edx + 0x60]
mov ecx, dword [edx + 0x64]
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], ecx
add esp, 0xf4
ret
call fcn.0045dd70
jmp fcn.004a9730