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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x5a
push 0
push 0
dec ecx
jne 0x490359
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x490e56
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x490d9d
mov ecx, dword [ebx]
lea eax, [ebp - 0x20]
mov edx, 0x490e74
call fcn.00404c7c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.004051fc
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
call fcn.0045c1fc
lea ecx, [ebp - 0x24]
mov edx, 0x490e80
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 4]
call fcn.00404bf8
mov edx, 0x490e98
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push edx
push eax
call fcn.0045b554
fstp qword [ebx + 0x10]
wait
mov edx, 0x490eb4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push edx
push eax
call fcn.0045b554
fstp qword [ebx + 0x20]
wait
mov edx, 0x490ed0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push edx
push eax
call fcn.0045b554
fstp qword [ebx + 0x30]
wait
mov edx, 0x490ee8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push edx
push eax
call fcn.0045b554
fstp qword [ebx + 0x38]
wait
lea eax, [ebx + 0xe2c]
mov edx, 0x4de2b4
mov ecx, dword [0x46eb48]
call fcn.0040587c
xor eax, eax
mov dword [ebp - 0xc], eax
lea esi, [ebx + 0x90]
mov eax, dword [0x4db3c0]
mov dword [ebp - 0x14], eax
mov eax, esi
mov edx, 0x4de2b4
mov ecx, dword [0x46eb48]
call fcn.0040587c
cmp dword [ebp - 0xc], 1
jne 0x4904aa
mov ecx, dword [0x4db3c0]
mov ecx, dword [ecx + 8]
lea eax, [ebp - 0x30]
mov edx, 0x490f14
call fcn.00404c7c
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
call fcn.004051fc
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x24]
cmp dword [ebp - 0x28], 0
je 0x490527
cmp dword [ebp - 0xc], 8
je 0x490527
cmp dword [ebp - 0xc], 4
je 0x490527
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea eax, [ebp - 0x14c]
mov edx, 0x490f14
call fcn.00404c7c
mov edx, dword [ebp - 0x14c]
lea eax, [ebp - 0x148]
call fcn.004051fc
mov edx, dword [ebp - 0x148]
lea ecx, [ebp - 0x144]
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
call dword [edi + 0x4c]
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0045c1fc
mov edx, dword [ebp - 0x140]
lea ecx, [ebp - 0x13c]
xor eax, eax
call fcn.00489ad0
lea edx, [ebp - 0x13c]
mov eax, esi
mov ecx, dword [0x46eb48]
call fcn.0040587c
inc dword [ebp - 0xc]
add dword [ebp - 0x14], 8
add esi, 0x10c
cmp dword [ebp - 0xc], 0xd
jne 0x49045d
cmp dword [ebx + 0x19c], 0
jne 0x490571
lea ecx, [ebp - 0x258]
lea edx, [ebx + 0x90]
xor eax, eax
call fcn.0048a1b0
lea edx, [ebp - 0x258]
lea eax, [ebx + 0x19c]
mov ecx, dword [0x46eb48]
call fcn.0040587c
lea eax, [ebx + 0x8f0]
lea edx, [ebx + 0xb08]
mov ecx, dword [0x46eb48]
call fcn.0040587c
lea ecx, [ebx + 0x9fc]
lea edx, [ebx + 0x8f0]
mov eax, dword [ebx]
call fcn.0048a53c
lea eax, [ebx + 0x4c0]
lea edx, [ebx + 0x5cc]
mov ecx, dword [0x46eb48]
call fcn.0040587c
lea ecx, [ebx + 0x6d8]
lea edx, [ebx + 0x4c0]
mov eax, dword [ebx]
call fcn.0048a53c
lea ecx, [ebx + 0x7e4]
lea edx, [ebx + 0x4c0]
mov eax, dword [ebx]
call fcn.0048a53c
xor eax, eax
mov dword [ebx + 0xe2c], eax
mov eax, dword [ebp + 8]
push eax
mov edx, 0x490f24
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
mov edx, eax
xor eax, eax
mov al, byte [0x4de3c0]
imul eax, eax, 0x43
mov eax, dword [ebx + eax*4 + 0x90]
mov ecx, ebx
call fcn.0048c910
xor eax, eax
mov al, byte [0x4de3c0]
imul eax, eax, 0x43
lea esi, [ebx + eax*4 + 0x90]
cmp dword [esi], 0
jle 0x490c7f
lea edi, [esi + 0x8c]
push 0
push 0
push 0x3fff
push 0xddb22d0e
push 0x56041893
fild dword [esi + 0x3c]
fild dword [esi]
fdivp st(1)
fadd dword [0x490f40]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d4f0
fmul dword [0x490f44]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x260], eax
xor eax, eax
mov dword [ebp - 0x25c], eax
fild qword [ebp - 0x260]
fild dword [esi]
fdivp st(1)
fmul dword [0x490f48]
fld dword [esi + 0x74]
fadd dword [0x490f4c]
fdivp st(1)
fld dword [0x490f4c]
fmul dword [esi + 0x74]
fdiv dword [0x490f50]
fld xword [0x490f54]
faddp st(1)
fmulp st(1)
imul eax, dword [esi + 0x34], 0xfa
imul edx, dword [esi + 0x38], 0x96
add eax, edx
imul edx, dword [esi + 0x40], 0x96
add eax, edx
mov dword [ebp - 0x264], eax
fild dword [ebp - 0x264]
fild dword [esi]
fdivp st(1)
faddp st(1)
faddp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.0042d448
add esp, 0xfffffff8
fstp qword [esp]
wait
call fcn.0042d678
fstp dword [edi]
wait
xor eax, eax
mov al, byte [0x4de3c0]
imul eax, eax, 0x43
lea eax, [ebx + eax*4 + 0x90]
lea edx, [ebx + 0xe2c]
call fcn.0048a8b4
fstp dword [edi + 8]
wait
fild dword [esi]
fldln2
fxch st(1)
fyl2x
fdiv dword [0x490f48]
fild dword [esi + 0x14]
fild dword [esi]
fdivp st(1)
fmul dword [0x490f40]
mov eax, dword [esi + 0x44]
mov dword [ebp - 0x260], eax
xor eax, eax
mov dword [ebp - 0x25c], eax
fild qword [ebp - 0x260]
fild dword [esi]
fdivp st(1)
fild dword [esi + 4]
fild dword [esi]
fdivp st(1)
fmul dword [0x490f4c]
fild dword [esi + 0x34]
fild dword [esi]
fdivp st(1)
fld xword [0x490f60]
fmulp st(1)
faddp st(1)
fild dword [esi + 0x38]
fild dword [esi]
fdivp st(1)
fmul dword [0x490f6c]
faddp st(1)
fild dword [esi + 0x3c]
fild dword [esi]
fdivp st(1)
fmul dword [0x490f6c]
faddp st(1)
fild dword [esi + 0x40]
fild dword [esi]
fdivp st(1)
fmul dword [0x490f6c]
faddp st(1)
fmulp st(1)
faddp st(1)
fmulp st(1)
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.0042d448
fstp dword [edi + 0x10]
wait
mov edx, 0x490f74
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], edx
fild qword [ebp - 0x260]
fstp dword [edi + 0x18]
wait
fld dword [edi]
fcomp dword [0x490f90]
fnstsw ax
sahf
jbe 0x4907de
mov dword [edi + 4], 0x42c80000
jmp 0x49085c
fld xword [0x490f94]
fmul dword [edi]
fld xword [0x490fa0]
fsubp st(1)
fmul dword [edi]
fld xword [0x490fac]
faddp st(1)
fmul dword [edi]
fld xword [0x490fb8]
fsubp st(1)
fmul dword [edi]
fld xword [0x490fc4]
fsubp st(1)
fmul dword [edi]
fld xword [0x490fd0]
faddp st(1)
fmul dword [edi]
fld xword [0x490fdc]
fsubp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4005
push 0xc8000000
push 0
call fcn.0042d600
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0
push 0
push 0
call fcn.0042d6ac
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.0042d448
fstp dword [edi + 4]
wait
fld dword [edi + 8]
fcomp dword [0x490fe8]
fnstsw ax
sahf
jbe 0x490876
mov dword [edi + 0xc], 0x42c80000
jmp 0x4908fa
fld xword [0x490fec]
fmul dword [edi + 8]
fld xword [0x490ff8]
faddp st(1)
fmul dword [edi + 8]
fld xword [0x491004]
fsubp st(1)
fmul dword [edi + 8]
fld xword [0x491010]
faddp st(1)
fmul dword [edi + 8]
fld xword [0x49101c]
fsubp st(1)
fmul dword [edi + 8]
fld xword [0x491028]
faddp st(1)
fmul dword [edi + 8]
fld xword [0x491034]
fsubp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4005
push 0xc8000000
push 0
call fcn.0042d600
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0
push 0
push 0
call fcn.0042d6ac
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.0042d448
fstp dword [edi + 0xc]
wait
fld dword [edi + 0x10]
fcomp dword [0x491040]
fnstsw ax
sahf
jbe 0x490914
mov dword [edi + 0x14], 0x42c80000
jmp 0x490998
fld xword [0x491044]
fmul dword [edi + 0x10]
fld xword [0x491050]
faddp st(1)
fmul dword [edi + 0x10]
fld xword [0x49105c]
fsubp st(1)
fmul dword [edi + 0x10]
fld xword [0x491068]
faddp st(1)
fmul dword [edi + 0x10]
fld xword [0x491074]
fsubp st(1)
fmul dword [edi + 0x10]
fld xword [0x491080]
faddp st(1)
fmul dword [edi + 0x10]
fld xword [0x49108c]
fsubp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4005
push 0xc8000000
push 0
call fcn.0042d600
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0
push 0
push 0
call fcn.0042d6ac
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.0042d448
fstp dword [edi + 0x14]
wait
fld dword [edi + 0x18]
fcomp dword [0x491098]
fnstsw ax
sahf
jbe 0x4909b2
mov dword [edi + 0x1c], 0x42c80000
jmp 0x490a36
fld xword [0x49109c]
fmul dword [edi + 0x18]
fld xword [0x4910a8]
faddp st(1)
fmul dword [edi + 0x18]
fld xword [0x4910b4]
fsubp st(1)
fmul dword [edi + 0x18]
fld xword [0x4910c0]
faddp st(1)
fmul dword [edi + 0x18]
fld xword [0x4910cc]
fsubp st(1)
fmul dword [edi + 0x18]
fld xword [0x4910d8]
faddp st(1)
fmul dword [edi + 0x18]
fld xword [0x4910e4]
fsubp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0x4005
push 0xc8000000
push 0
call fcn.0042d600
add esp, 0xfffffff4
fstp xword [esp]
wait
push 0
push 0
push 0
call fcn.0042d6ac
add esp, 0xfffffff8
fstp qword [esp]
wait
mov al, 0xfe
call fcn.0042d448
fstp dword [edi + 0x1c]
wait
fld dword [edi]
fadd dword [edi + 8]
fld dword [edi + 0x10]
fdiv dword [0x4910f0]
faddp st(1)
fdiv dword [0x4910f4]
fstp dword [edi + 0x28]
wait
push dword [edi + 0x28]
mov eax, dword [0x4dae88]
push dword [eax + 0x20]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x40]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fstp xword [ebp - 0x270]
wait
push dword [esi + 0x5c]
mov eax, dword [0x4dae88]
push dword [eax + 0x24]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax + 4]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x44]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x270]
faddp st(1)
fstp xword [ebp - 0x27c]
wait
push dword [esi + 0x74]
mov eax, dword [0x4dae88]
push dword [eax + 0x38]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax + 0x18]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x58]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x27c]
faddp st(1)
fstp xword [ebp - 0x288]
wait
push dword [esi + 0x6c]
mov eax, dword [0x4dae88]
push dword [eax + 0x30]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax + 0x10]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x50]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x288]
faddp st(1)
fstp xword [ebp - 0x294]
wait
push dword [esi + 0x88]
mov eax, dword [0x4dae88]
push dword [eax + 0x34]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax + 0x14]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x54]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x294]
faddp st(1)
fstp xword [ebp - 0x2a0]
wait
fild dword [ebx + 0x1098]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [0x4dae88]
push dword [eax + 0x3c]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax + 0x1c]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x5c]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x2a0]
faddp st(1)
fstp xword [ebp - 0x2ac]
wait
fild dword [esi]
add esp, 0xfffffffc
fstp dword [esp]
wait
mov eax, dword [0x4dae88]
push dword [eax + 0x28]
call fcn.0042d5d8
mov eax, dword [0x4dae88]
fdiv dword [eax + 8]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x48]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x2ac]
faddp st(1)
fstp xword [ebp - 0x2b8]
wait
fild dword [esi + 0x34]
fild dword [esi]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x2c]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d600
mov eax, dword [0x4dae88]
fdiv dword [eax + 0xc]
add esp, 0xfffffff4
fstp xword [esp]
wait
mov eax, dword [0x4dae88]
fld dword [eax + 0x4c]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.0042d508
fld xword [ebp - 0x2b8]
faddp st(1)
fdiv dword [0x4910f8]
fstp dword [edi + 0x50]
wait
cmp byte [ebp + 0xc], 0
je 0x490c90
lea eax, [ebx + 0xf38]
call fcn.00486210
cmp byte [ebp - 5], 0
je 0x490cdc
lea ecx, [ebp - 0x2bc]
mov edx, 0x491100
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 0x2bc]
push eax
lea ecx, [ebp - 0x2c0]
mov edx, 0x49111c
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x24]
mov eax, dword [ebp - 0x2c0]
mov ecx, ebx
pop edx
call fcn.0048c534
lea eax, [ebx + 0xf3c]
call fcn.00486338
lea ecx, [ebp - 0x2c4]
mov edx, 0x49113c
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0x2c4]
xor edx, edx
call fcn.00405334
je 0x490d5a
lea ecx, [ebp - 0x2c8]
mov edx, 0x49113c
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov edx, dword [ebp - 0x2c8]
lea eax, [ebx + 0x5c]
call fcn.00404bf8
lea ecx, [ebp - 0x2cc]
mov edx, 0x49115c
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov edx, dword [ebp - 0x2cc]
lea eax, [ebx + 0x78]
call fcn.00404bf8
mov edx, 0x491174
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x34]
push edx
push eax
call fcn.0045b554
fstp qword [ebx + 0x70]
wait
jmp 0x490d9d
lea ecx, [ebp - 0x2d0]
mov edx, 0x491198
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov eax, dword [ebp - 0x2d0]
xor edx, edx
call fcn.00405334
je 0x490d9d
lea ecx, [ebp - 0x2d4]
mov edx, 0x4911ac
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
call dword [esi + 0x4c]
mov edx, dword [ebp - 0x2d4]
lea eax, [ebx + 0x5c]
call fcn.00404bf8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490e60
lea eax, [ebp - 0x2d4]
mov edx, 5
call fcn.00405090
lea eax, [ebp - 0x2c0]
mov edx, dword [0x45bb94]
mov ecx, 2
call fcn.00405664
lea eax, [ebp - 0x258]
mov edx, dword [0x46eb48]
call fcn.00405618
lea eax, [ebp - 0x14c]
call fcn.00404970
lea eax, [ebp - 0x148]
mov edx, 2
call fcn.00405090
lea eax, [ebp - 0x140]
call fcn.004067f4
lea eax, [ebp - 0x13c]
mov edx, dword [0x46eb48]
call fcn.00405618
lea eax, [ebp - 0x30]
call fcn.00404970
lea eax, [ebp - 0x2c]
call fcn.00405078
lea eax, [ebp - 0x28]
call fcn.004067f4
lea eax, [ebp - 0x24]
call fcn.00405078
lea eax, [ebp - 0x20]
call fcn.00404970
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00405090
lea eax, [ebp - 0x10]
call fcn.004067f4
ret