Function at 0x490000
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 0x490b28
sub esp, 0xf4
mov eax, dword [esp + 0xf8]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x490089
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x490089
mov ecx, dword [eax + 0xa0]
test ecx, ecx
jne 0x490089
lea eax, [0x49e780]
mov dword [esp], eax
call fcn.0040a820
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x10
lea ecx, [0x4ab089]
mov dword [eax], ecx
lea ecx, [0x4ca268]
mov edx, dword [esp + 0xf8]
mov dword [edx + 0x60], ecx
mov ebx, dword [0x5653d0]
test ebx, ebx
jne 0x49007f
mov dword [edx + 0x64], eax
jmp 0x490091
lea edi, [edx + 0x64]
call fcn.0045ccd0
jmp 0x490091
lea ecx, [0x4ca268]
mov edx, eax
mov eax, dword [edx + 0x60]
test eax, eax
jne 0x4900a2
mov eax, dword [edx + 0xa0]
test eax, eax
je 0x4900ba
mov eax, dword [edx + 0x74]
mov dword [esp + 0xa0], eax
mov ecx, dword [edx + 0x78]
mov dword [esp + 0x4c], ecx
xor ebx, ebx
jmp 0x490a98
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.0048fd10
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 0x49011b
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 0x490a02
mov edi, dword [esp + 0xf8]
mov dword [edi + 4], ebp
mov ecx, dword [0x5653d0]
test ecx, ecx
jne 0x490133
mov dword [edi], ebx
jmp 0x49013a
mov eax, ebx
call fcn.0045ccd0
mov eax, dword [edi + 0x50]
test eax, eax
jne 0x490239
mov eax, dword [edi + 0x58]
mov ecx, dword [edi + 0x5c]
test eax, eax
je 0x490192
mov eax, dword [eax + 0x14]
mov dword [esp], ecx
call eax
mov dword [esp], 0
call fcn.00405150
movzx eax, byte [esp + 8]
test al, al
je 0x49018b
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 0x49094f
mov edi, dword [esp + 0xf8]
mov eax, dword [edi + 0x44]
lea ecx, [0x4a6a20]
mov dword [esp], ecx
mov dword [esp + 4], 0
add eax, 3
mov dword [esp + 0x58], eax
mov dword [esp + 8], eax
call fcn.00447c80
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 [0x5653d0]
test edx, edx
jne 0x4901e1
mov dword [ecx + 0x68], eax
jmp 0x4901e6
call fcn.0045ccd0
mov dword [esp + 0xb4], edi
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea ebx, [0x4b21bc]
mov dword [esp + 0xc4], ebx
lea ebx, [0x4b21c0]
mov dword [esp + 0xc8], ebx
lea ebx, [0x4b21b8]
mov dword [esp + 0xcc], ebx
xor eax, eax
jmp 0x490285
lea eax, [0x49e780]
mov dword [esp], eax
call fcn.0040a820
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x15
lea ecx, [0x4ac610]
mov dword [eax], ecx
lea ecx, [0x4ca268]
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 0x490386
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 0x49035c
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 0x490335
mov dword [esp + 0x64], eax
lea eax, [0x4a6a20]
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.00447d80
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 [0x5653d0]
test edx, edx
jne 0x490321
mov dword [ebx + 0x68], eax
mov edi, dword [esp + 0xb4]
jmp 0x49032d
mov edi, dword [esp + 0xb4]
call fcn.0045ccd0
mov edx, ebx
mov ebp, eax
mov eax, dword [esp + 0x64]
lea ebx, [ecx + 1]
mov dword [edx + 0x6c], ebx
mov ebx, dword [0x5653d0]
lea edi, [ebp + ecx*4]
test ebx, ebx
jne 0x490352
mov dword [ebp + ecx*4], eax
jmp 0x490275
call fcn.0045ccd0
jmp 0x490275
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 0x4908b9
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 0x4903ef
mov dword [esp + 0xb0], edi
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
lea ecx, [0x4a6a20]
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.00447d80
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 0x49087a
mov dword [esp + 0x54], ebp
mov dword [esp + 0xac], esi
lea ecx, [0x4a6a20]
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.0040ddd0
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 [0x5653d0]
test eax, eax
jne 0x49045d
mov eax, dword [esp + 0xac]
mov dword [ecx + 0x68], eax
jmp 0x490470
mov edi, dword [esp + 0xb4]
mov eax, dword [esp + 0xac]
call fcn.0045ccd0
mov dword [esp], ecx
call fcn.004911f0
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 0x49060a
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 0x4904f2
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.0045cef7
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.004861c0
mov ecx, dword [0x5653d0]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
test ecx, ecx
jne 0x4905c2
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x50], eax
jmp 0x4905d1
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x50]
call fcn.0045ccd0
test edx, edx
je 0x4905f8
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 0x490817
mov eax, dword [ecx + 0x74]
mov dword [esp + 0x78], eax
mov edx, dword [ecx + 0x78]
mov dword [esp + 0x24], edx
xor ebx, ebx
jmp 0x490649
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 0x49061f
mov eax, dword [ecx + 0x90]
test eax, eax
je 0x4906b7
lea ecx, [0x49af60]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00403d60
mov eax, dword [esp + 8]
mov ecx, dword [0x5653d0]
test ecx, ecx
jne 0x490686
mov ecx, dword [esp + 0xf8]
mov dword [ecx + 0x98], eax
jmp 0x490698
mov ecx, dword [esp + 0xf8]
lea edi, [ecx + 0x98]
call fcn.0045ccd0
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 0x490732
mov dword [esp], ecx
call fcn.00490f40
mov eax, dword [0x5653d0]
mov ecx, dword [esp + 4]
test eax, eax
jne 0x4906dc
mov eax, dword [esp + 0xf8]
mov dword [eax + 0x9c], ecx
jmp 0x4906f0
mov edx, dword [esp + 0xf8]
lea edi, [edx + 0x9c]
mov eax, ecx
call fcn.0045ccd0
mov dword [esp + 0xfc], 0
mov dword [esp + 0x100], 0
add esp, 0xf4
ret
mov dword [esp], eax
call fcn.0043ea80
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 0x4906b7
mov dword [esp + 0x54], ebp
mov eax, dword [edx + ebp*4]
mov dword [esp + 0x60], eax
lea ecx, [0x49e4e0]
mov dword [esp], ecx
call fcn.0040a820
mov eax, dword [esp + 4]
mov dword [esp + 0xa4], eax
lea ecx, [0x490b80]
mov dword [eax], ecx
mov edx, dword [0x5653d0]
test edx, edx
jne 0x490775
mov edx, dword [esp + 0x68]
mov dword [eax + 4], edx
jmp 0x490781
lea edi, [eax + 4]
mov eax, dword [esp + 0x68]
call fcn.0045ccd0
lea eax, [0x49f780]
mov dword [esp], eax
call fcn.0040a820
mov eax, dword [esp + 4]
lea ecx, [0x490b40]
mov dword [eax], ecx
mov edx, dword [0x5653d0]
test edx, edx
jne 0x4907bb
mov edx, dword [esp + 0xa4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 8], edx
jmp 0x49070d
lea edi, [eax + 4]
mov edx, eax
mov eax, dword [esp + 0xa4]
call fcn.0045ccd0
lea edi, [edx + 8]
mov eax, dword [esp + 0x60]
call fcn.0045ccd0
mov eax, edx
jmp 0x49070d
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 0x4907df
mov eax, dword [ecx + 0x80]
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx + 0x84]
mov dword [esp + 0x28], ecx
xor edx, edx
jmp 0x490861
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 0x490833
mov dword [esp + 0xfc], ebx
mov dword [esp + 0x100], ebp
add esp, 0xf4
ret
mov ecx, ebx
call fcn.0045cdb0
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 0x490881
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x84], ecx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x490909
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 0x4908d8
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 0x490922
mov ecx, dword [eax + 0x80]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 0x84]
mov dword [esp + 0x38], edx
xor ebx, ebx
jmp 0x49099b
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 0x49096e
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 0x4909ca
mov ebx, dword [eax + 0x80]
mov dword [esp + 0x94], ebx
mov eax, dword [eax + 0x84]
mov dword [esp + 0x40], eax
xor ebp, ebp
jmp 0x490a52
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 0x490a21
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 0x490a6b
mov eax, dword [edx + 0x80]
mov dword [esp + 0x9c], eax
mov ecx, dword [edx + 0x84]
mov dword [esp + 0x48], ecx
xor ebx, ebx
jmp 0x490ae4
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 0x490ab7
mov eax, dword [edx + 0xa0]
mov ecx, dword [edx + 0xa4]
test eax, eax
je 0x490b0d
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.0045b8c0
jmp fcn.00490000