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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66dcb4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1d4
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], esi
call fcn.0049ceb0
xor ebx, ebx
push 0xa
push ebx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1f0], ebx
mov dword [esp + 0x44], 0x69de10
call fcn.0048b670
mov eax, dword [esi + 0xa0]
xor edi, edi
cmp eax, ebx
mov dword [esp + 0x1e8], 1
mov dword [esp + 0x18], eax
jle 0x490a02
mov eax, dword [esi + 0x9c]
mov ecx, dword [eax + edi*4]
call fcn.00515d50
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x4909eb
push ebx
mov ecx, esi
call fcn.0048fd00
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x38], edi
jne 0x490a47
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1e8], 0xffffffff
mov dword [esp + 0x3c], 0x69de10
call fcn.0049ced0
mov ecx, dword [esp + 0x1e0]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.0048fc00
mov ecx, edi
mov dword [esp + 0x68], eax
call fcn.004d8820
mov edi, eax
mov eax, dword [edi + 8]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x490b43
lea ecx, [esp + 0x24]
call fcn.0049ceb0
push 0xa
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f0], 2
mov dword [esp + 0x2c], 0x69de10
call fcn.0048b670
mov ecx, dword [edi + 8]
push 0xffffffffffffffff
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f0], 3
call fcn.0048b670
mov eax, dword [edi + 8]
mov edx, dword [edi + 4]
mov ecx, dword [esp + 0x28]
mov esi, eax
dec eax
test esi, esi
je 0x490ac5
inc eax
mov esi, dword [edx]
add edx, 4
mov dword [ecx], esi
add ecx, 4
dec eax
jne 0x490ab8
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebx
jle 0x490aeb
mov edx, dword [esp + 0x28]
mov ecx, dword [edx + esi*4]
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ecx]
call dword [eax + 0x88]
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x490acf
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, ebx
jle 0x490b10
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + esi*4]
cmp ecx, ebx
je 0x490b07
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
jl 0x490af5
push 0xa
push ebx
lea ecx, [esp + 0x2c]
call fcn.0048b670
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0048b670
lea ecx, [esp + 0x24]
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x24], 0x69de10
call fcn.0049ced0
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + 0xa0]
xor eax, eax
cmp ecx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
jle 0x4910c2
mov ecx, dword [esi + 0x9c]
push ebx
mov ecx, dword [ecx + eax*4]
mov edx, dword [ecx]
call dword [edx + 0x90]
mov esi, eax
mov ecx, esi
call fcn.0050ba10
cmp eax, 1
je 0x490b91
push ebx
mov ecx, esi
call fcn.0050ba20
mov eax, dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.004ac930
jmp 0x490ba4
mov ecx, esi
call fcn.004ac920
cmp eax, ebx
je 0x490ba4
push esi
mov ecx, eax
call fcn.004903c0
mov edi, dword [esp + 0x38]
mov ecx, esi
push edi
call fcn.0050bab0
mov ecx, esi
call fcn.0050ba10
cmp eax, 1
je 0x491042
lea ecx, [esp + 0x50]
call fcn.0064dc20
mov ecx, esi
call fcn.0050ba60
fst qword [esp + 0xc]
fabs
fcomp qword [0x691f50]
fnstsw ax
test ah, 1
je 0x490c9f
mov ecx, edi
call fcn.004da3a0
lea ecx, [esp + 0x6c]
push 3
push ecx
mov ecx, dword [esp + 0x24]
sub esp, 0x18
mov edi, eax
mov eax, dword [esp + 0x40]
mov edx, esp
mov ebx, dword [edi]
mov dword [esp + 0x2c], esp
push edx
push eax
add ecx, 0x98
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ac900
lea edx, [esp + 0x130]
mov ecx, edi
push edx
call dword [ebx + 0x9c]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
sub esp, 0x18
mov dword [esp + 0x78], ecx
lea eax, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x7c], edx
mov ebx, dword [edi]
push eax
call fcn.0064dc70
mov ecx, edi
call dword [ebx + 0xc0]
fstp qword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
mov ecx, esi
call fcn.0050ba40
mov ecx, esi
call fcn.0050be00
xor ebx, ebx
mov ecx, esi
push ebx
call fcn.0050bc70
jmp 0x491042
mov dword [esp + 0x24], 0x69dbfc
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
mov eax, 0x69dbe8
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xbc], ebx
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
lea ecx, [esp + 0x128]
mov byte [esp + 0x1e8], 6
call fcn.004c7940
lea ecx, [esp + 0x70]
mov byte [esp + 0x1e8], 7
call fcn.0064dc20
mov ecx, edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
call fcn.004da3a0
mov edi, eax
lea eax, [esp + 0xc8]
push eax
mov ecx, esi
call fcn.004ac900
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov dword [esp + 0x8c], edx
sub esp, 0x18
lea edx, [esi + 0x238]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00657880
lea eax, [esp + 0x100]
push eax
call fcn.00657220
add esp, 0x24
lea ecx, [esp + 0x88]
push eax
call fcn.006578b0
fld qword [esp + 0x90]
fmul qword [0x691f40]
push ebx
push ebx
sub esp, 8
fsubr qword [esp + 0x88]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0xa0]
fmul qword [0x691f40]
fsubr qword [esp + 0x88]
fstp qword [esp]
lea ecx, [esp + 0x140]
call fcn.004d4350
fld qword [esp + 0x90]
fmul qword [0x691f40]
push ebx
push ebx
sub esp, 8
lea ecx, [esp + 0x138]
fadd qword [esp + 0x88]
sub esp, 8
fstp qword [esp + 8]
fld qword [esp + 0xa0]
fmul qword [0x691f40]
fadd qword [esp + 0x88]
fstp qword [esp]
call fcn.004c7b30
mov edx, dword [edi]
lea eax, [esp + 0xa0]
lea ecx, [esp + 0xb4]
push eax
push ecx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x130]
push eax
push ecx
mov ecx, edi
call dword [edx + 0x118]
cmp eax, ebx
jle 0x490ef6
sub esp, 0x18
lea edx, [esp + 0x88]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.0064dc70
lea eax, [esp + 0x3c]
push eax
call fcn.00468a00
mov ebx, dword [edi]
add esp, 0x1c
lea ecx, [esp + 0x24]
push eax
call fcn.00472c20
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.0064dc70
mov ecx, edi
call dword [ebx + 0xc0]
fstp qword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push ecx
push edx
jmp 0x490f88
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x6c]
push 3
mov ebx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
push ecx
push edx
lea ecx, [eax + 0x98]
call fcn.004ea1e0
mov ecx, dword [eax]
call fcn.004ac900
lea ecx, [esp + 0x118]
push ecx
mov ecx, edi
call dword [ebx + 0x9c]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
mov edx, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x60], edx
sub esp, 0x18
lea edx, [esp + 0x68]
mov ecx, esp
mov dword [esp + 0x24], esp
mov dword [esp + 0x7c], eax
mov ebx, dword [edi]
push edx
call fcn.0064dc70
mov ecx, edi
call dword [ebx + 0xc0]
fstp qword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.0050ba40
mov ecx, esi
call fcn.0050be00
xor ebx, ebx
mov ecx, esi
push ebx
call fcn.0050bc70
lea ecx, [esp + 0x128]
mov byte [esp + 0x1e8], 6
call fcn.004c7ac0
mov dword [esp + 0xa0], 0x69dbe8
mov eax, dword [esp + 0xa4]
mov byte [esp + 0x1e8], 8
cmp eax, ebx
je 0x490fdb
push eax
call fcn.0065e732
add esp, 4
mov edi, 0x691080
mov dword [esp + 0xb4], 0x69dbe8
mov dword [esp + 0xa0], edi
mov eax, dword [esp + 0xb8]
mov byte [esp + 0x1e8], 9
cmp eax, ebx
je 0x49100e
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0xb4], edi
mov dword [esp + 0x24], 0x69dbfc
mov eax, dword [esp + 0x28]
mov byte [esp + 0x1e8], 0xa
cmp eax, ebx
je 0x491036
push eax
call fcn.0065e732
add esp, 4
mov byte [esp + 0x1e8], 1
mov dword [esp + 0x24], edi
mov ecx, dword [esp + 0x38]
push esi
call fcn.0048f4b0
mov ecx, dword [esp + 0x68]
cmp ecx, ebx
je 0x49105a
push esi
call fcn.004d90d0
mov ecx, dword [ebp + 8]
push esi
call fcn.0049d780
mov ecx, esi
call fcn.00515bd0
cmp dword [0x705eec], 1
jne 0x4910a9
mov ecx, esi
call fcn.00515d80
test eax, eax
jne 0x4910a9
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push 0xffffffffffffffff
mov eax, dword [edx + 0x9c]
mov esi, dword [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov edi, eax
inc eax
push eax
lea ecx, [esp + 0x44]
call fcn.0048b670
mov edx, dword [esp + 0x40]
mov dword [edx + edi*4], esi
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
inc eax
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x490b5b
cmp dword [0x705eec], 1
jne 0x491152
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x18], eax
je 0x491152
xor edi, edi
cmp eax, ebx
jle 0x491101
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + edi*4]
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ecx]
call dword [edx + 0x88]
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x4910e1
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, ebx
jle 0x491122
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx + edi*4]
cmp ecx, ebx
je 0x49111d
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x44]
inc edi
cmp edi, eax
jl 0x491107
mov eax, dword [esp + 0x40]
mov dword [esp + 0x4c], 0xa
cmp eax, ebx
je 0x49113f
push eax
call fcn.0065e732
add esp, 4
mov dword [esp + 0x40], ebx
mov eax, dword [ebp + 8]
mov ecx, esi
push eax
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], ebx
call fcn.00490980
mov ecx, esi
call fcn.004d8ca0
mov edi, eax
xor esi, esi
cmp edi, ebx
jle 0x49117c
mov ecx, dword [esp + 0x1c]
push esi
call fcn.0048fd00
push 1
push ebx
push 1
mov ecx, eax
call fcn.00498b40
inc esi
cmp esi, edi
jl 0x491161
mov dword [esp + 0x3c], 0x69de4c
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1e8], 0xb
cmp eax, ebx
je 0x4911a0
push eax
call fcn.0065e732
add esp, 4
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4