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

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push esi
push edi
fld dword [ebx + 0x56a8]
fmul dword [0x5342b8]
mov eax, dword [ebx + 0x56c8]
lea ecx, [ebx + 0x57c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0xe3c]
cmp eax, 1
mov edi, ecx
fstp dword [esp + 0x3c]
fld dword [ebx + 0x56a8]
fmul dword [0x533688]
fstp dword [esp + 0x18]
jle 0x4990ef
lea edx, [eax - 1]
fld dword [ecx + 8]
fcomp dword [edi + 8]
fnstsw ax
test ah, 0x41
jne 0x4990e9
mov edi, ecx
add ecx, 0x1c
dec edx
jne 0x4990da
mov eax, dword [ebx + 0x56cc]
xor esi, esi
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x2c], esi
mov ecx, dword [eax]
push edx
push 0x20
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x499428
push ebp
mov dword [ebx + 0x6c], esi
lea eax, [esp + 0x30]
lea ecx, [ebx + 0x1b0]
mov edx, 3
mov ebp, dword [eax - 4]
add eax, 4
add ebp, 0x2d00
add ecx, 0x144
mov dword [eax - 4], ebp
mov dword [ecx - 0x144], esi
dec edx
jne 0x499124
mov eax, dword [ebx + 0xe3c]
mov edx, edi
cmp eax, esi
mov dword [esp + 0x10], esi
jle 0x4992f8
mov ebp, dword [edx + 0x18]
mov ecx, dword [ebx + 0x5650]
cmp ecx, 1
mov eax, dword [esp + ebp*4 + 0x2c]
jne 0x499267
fld dword [0xbcaae4]
fmul dword [edx + 4]
fld dword [0xbcaae0]
fmul dword [edx]
or ecx, 0xffffffff
lea edi, [eax + 0x60]
faddp st(1)
fld dword [0xbcaae8]
fmul dword [edx + 8]
faddp st(1)
fstp dword [esp + 0x20]
fld dword [0xbcaaf0]
fmul dword [edx + 4]
fld dword [0xbcaaec]
fmul dword [edx]
faddp st(1)
fld dword [0xbcaaf4]
fmul dword [edx + 8]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [0xbcaafc]
fmul dword [edx + 4]
fld dword [0xbcaaf8]
fmul dword [edx]
faddp st(1)
fld dword [0xbcab00]
fmul dword [edx + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x40], esi
faddp st(1)
fld dword [esp + 0x20]
fsub dword [esp + 0x40]
lea esi, [eax + 0x18]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x54], ecx
mov ecx, 0x3f800000
fst dword [eax]
fld dword [esp + 0x20]
fadd dword [esp + 0x40]
mov dword [eax + 0x28], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
fst dword [esp + 0x14]
fstp dword [esi]
mov ecx, dword [esp + 0x14]
fstp dword [eax + 0x30]
fld dword [esp + 0x24]
fsub dword [esp + 0x40]
mov dword [eax + 0x48], ecx
mov ecx, 6
fst dword [eax + 4]
fstp dword [eax + 0x1c]
fld dword [esp + 0x24]
fadd dword [esp + 0x40]
fst dword [eax + 0x34]
fstp dword [eax + 0x4c]
fst dword [eax + 0x20]
fst dword [eax + 8]
fst dword [eax + 0x38]
fstp dword [eax + 0x50]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x78]
mov ecx, 6
lea esi, [eax + 0x30]
add eax, 0x90
rep movsd dword es:[edi], dword [esi]
xor esi, esi
jmp 0x499299
mov ecx, dword [esp + 0x18]
mov dword [eax + 0xc], 0xffffff
mov dword [eax + 0x24], ecx
add eax, 0x30
fld dword [edx]
fst dword [eax - 0x18]
fstp dword [eax - 0x30]
fld dword [edx + 4]
fst dword [eax - 0x14]
fstp dword [eax - 0x2c]
fld dword [esp + 0x1c]
fadd dword [edx + 8]
fstp dword [eax - 0x28]
mov ecx, dword [edx + 8]
mov dword [eax - 0x10], ecx
sub edx, 0x1c
lea ecx, [ebx + 0x57c]
cmp edx, ecx
jae 0x4992b8
mov ecx, dword [ebx + 0xe3c]
lea edi, [ecx*8]
sub edi, ecx
lea edx, [edx + edi*4]
mov dword [esp + ebp*4 + 0x2c], eax
lea eax, [ebp + ebp*8]
lea ebp, [ebp + ebp*8]
lea eax, [eax + eax*8]
lea ecx, [ebp + ebp*8]
mov edi, dword [ebx + eax*4 + 0x6c]
lea eax, [ebx + eax*4 + 0x6c]
add ecx, edi
mov edi, dword [edx + 8]
mov dword [ebx + ecx*4 + 0x70], edi
mov ebp, dword [eax]
inc ebp
mov dword [eax], ebp
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 0xe3c]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x499156
mov eax, dword [ebx + 0x56cc]
push eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov eax, dword [ebx + 0x5650]
pop ebp
cmp eax, 1
jne 0x4993cf
fld dword [0xbcaae0]
fmul dword [0xbcabec]
pop edi
fstp dword [ebx + 0x5658]
fld dword [0xbcaae4]
fmul dword [0xbcabec]
fstp dword [ebx + 0x565c]
fld dword [0xbcaae8]
fmul dword [0xbcabec]
mov dword [ebx + 0x5664], esi
fstp dword [ebx + 0x5660]
fld dword [0xbcaaec]
fmul dword [0xbcabec]
fstp dword [ebx + 0x5668]
fld dword [0xbcaaf0]
fmul dword [0xbcabec]
fstp dword [ebx + 0x566c]
fld dword [0xbcaaf4]
fmul dword [0xbcabec]
mov dword [ebx + 0x5674], esi
fstp dword [ebx + 0x5670]
fld dword [0xbcaaf8]
fmul dword [0xbcabec]
fstp dword [ebx + 0x5678]
fld dword [0xbcaafc]
fmul dword [0xbcabec]
fstp dword [ebx + 0x567c]
fld dword [0xbcab00]
fmul dword [0xbcabec]
mov dword [ebx + 0x5684], esi
pop esi
fstp dword [ebx + 0x5680]
pop ebx
add esp, 0x2c
ret
mov eax, dword [0xbcabec]
mov dword [ebx + 0x565c], esi
mov dword [ebx + 0x5658], eax
mov dword [ebx + 0x5660], esi
mov dword [ebx + 0x5664], esi
mov dword [ebx + 0x5668], esi
mov ecx, dword [0xbcabec]
mov dword [ebx + 0x5670], esi
mov dword [ebx + 0x566c], ecx
mov dword [ebx + 0x5674], esi
mov dword [ebx + 0x5678], esi
mov dword [ebx + 0x567c], esi
mov edx, dword [0xbcabec]
mov dword [ebx + 0x5684], esi
mov dword [ebx + 0x5680], edx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret