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

Disassembly:
sub esp, 0xd20470
push ebx
mov ebx, ecx
push esi
push edi
mov ecx, dword [ebx + 0x120]
test ecx, ecx
je 0x49c324
mov al, byte [ebx + 0x500]
test al, al
jne 0x49c324
fld dword [ebx + 0x350]
fld dword [ebx + 0x354]
fcompp
fnstsw ax
test ah, 5
jp 0x49b084
fld dword [ebx + 0x350]
jmp 0x49b08a
fld dword [ebx + 0x354]
fld dword [ebx + 0x358]
fxch st(1)
fcompp
fnstsw ax
and eax, 0x4100
jne 0x49b0c2
fld dword [ebx + 0x350]
fld dword [ebx + 0x354]
fcompp
fnstsw ax
test ah, 5
jp 0x49b0ba
fld dword [ebx + 0x350]
jmp 0x49b0c8
fld dword [ebx + 0x354]
jmp 0x49b0c8
fld dword [ebx + 0x358]
fcomp dword [0x504207]
fnstsw ax
test ah, 5
jp 0x49b215
fld dword [ebx + 0x2ec]
fmul dword [ebx + 0x314]
fld dword [ebx + 0x2dc]
fmul dword [ebx + 0x310]
faddp st(1)
fld dword [ebx + 0x30c]
fmul dword [ebx + 0x2cc]
faddp st(1)
fadd dword [ebx + 0x2fc]
fld dword [ebx + 0x2d0]
fmul dword [ebx + 0x30c]
fld dword [ebx - 0x7ffffd10]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [ebx + 0x2e0]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [ebx + 0x300]
fld dword [ebx + 0x2d4]
fmul dword [ebx + 0x30c]
fld dword [ebx + 0x2f4]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [ebx + 0x2e4]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [ebx + 0x304]
fstp dword [esp + 0x18]
fld dword [ebx + 0x2d8]
fmul dword [ebx + 0x30c]
fld dword [ebx + 0x2f8]
fmul dword [ebx + 0x314]
faddp st(1)
fld dword [ebx + 0x2e8]
fmul dword [ebx + 0x310]
faddp st(1)
fadd dword [ebx + 0x308]
fdivr dword [0x4fe6cc]
fst dword [esp + 0xc]
fmul st(2)
fstp dword [esp + 0x10]
fld dword [esp + 0xc]
fmul st(1)
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
fstp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
fstp st(0)
fstp st(0)
fld dword [esp + 0xc]
fmul dword [esp + 0x18]
mov dword [esp + 0x54], edx
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x58], eax
mov ecx, dword [ecx + 0x764]
mov eax, dword [ecx + 0x7c]
test eax, eax
je 0x49b215
mov eax, dword [eax + 0xba0]
test eax, eax
je 0x49b215
mov ecx, dword [eax + 0x114]
test ecx, ecx
je 0x49b215
mov eax, dword [eax + 0x118]
test eax, eax
jl 0x49b215
lea edx, [esp + 0x50]
push eax
push edx
call fcn.004a14e0
test al, al
je 0x49c324
mov eax, dword [ebx + 0x110]
test eax, eax
je 0x49b244
mov eax, dword [ebx + 0x114]
test eax, eax
je 0x49b244
mov eax, dword [esp + 0x480]
mov ecx, ebx
push eax
call fcn.0049ada0
pop edi
pop esi
pop ebx
push cs
les esi, [eax + 4]
add byte [eax], al
ret 4
mov ecx, dword [esp + 0x480]
lea esi, [ebx + 0x2cc]
fld dword [ebx + 0x35c]
mov edx, dword [ecx + 0x134]
lea edi, [esp + 0x5c]
fcomp dword [0x4fe6b0]
add edx, 0x124
push ebp
mov eax, dword [edx]
mov dword [esp + 0x198], eax
mov ecx, dword [edx + 4]
fnstsw ax
mov dword [esp + 0x19c], ecx
mov edx, dword [edx + 8]
mov ecx, 0x10
mov dword [esp + 0x1a0], edx
test ah, 0x44
rep movsd dword es:[edi], dword [esi]
jnp 0x49b350
fld dword [ebx + 0x35c]
fmul dword [0x4fe8b4]
push ecx
lea eax, [esp + 0x298]
fstp dword [esp]
push eax
call fcn.0045ca50
mov ecx, 0x10
mov esi, eax
lea edi, [esp + 0x2dc]
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x294]
mov dword [esp + 0x10], eax
rep stosd dword es:[edi], eax
jmp 0x49b2e7
mov eax, dword [esp + 0x10]
lea ebp, [esp + eax + 0x2d4]
lea edi, [esp + 0x60]
lea esi, [esp + eax + 0x294]
mov dword [esp + 0x38], 4
fld dword [esi]
mov ecx, ebp
mov eax, edi
mov edx, 4
fld dword [ecx]
fmul dword [eax]
add eax, 0x10
add ecx, 4
dec edx
faddp st(1)
jne 0x49b30c
fstp dword [esi]
mov eax, dword [esp + 0x38]
add esi, 4
add edi, 4
dec eax
mov dword [esp + 0x38], eax
jne 0x49b301
mov eax, dword [esp + 0x10]
add eax, 0x10
cmp eax, 0x40
mov dword [esp + 0x10], eax
jl 0x49b2e3
mov ecx, 0x10
lea esi, [esp + 0x294]
lea edi, [esp + 0x60]
rep movsd dword es:[edi], dword [esi]
fld dword [esp + 0x90]
fld dword [esp + 0x94]
fld dword [esp + 0x98]
fld dword [ebx + 0x330]
fmul dword [0x4ff0e4]
fld dword [ebx + 0x334]
fmul dword [0x4fefe4]
fld dword [ebx + 0x338]
fmul dword [0x4fefe4]
fld dword [esp + 0x80]
fmul st(1)
fld dword [esp + 0x70]
fmul st(3)
sub esp, 0xc
lea ecx, [esp + 0x60]
faddp st(1)
fld dword [esp + 0x6c]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x9c]
fstp dword [esi + eax*2 + 0x47]
fld dword [esp + ebx*4 + 0x90]
fmul st(1)
fld dword [esp + 0x80]
fmul st(3)
faddp st(1)
fld dword [esp + 0x70]
fmul st(4)
faddp st(1)
fadd dword [esp + 0x7400a0]
fstp dword [esp + 0x24]
fld dword [esp + 0x94]
fmul st(1)
fld dword [esp + 0x84]
fmul st(3)
faddp st(1)
fld dword [edi + ebx + 0x74]
fmul st(4)
faddp st(1)
fadd dword [esp + 0xa4]
fstp dword [esp + 0x28]
fld dword [esp + 0x98]
fmul st(1)
fld dword [esp + 0x88]
fmul st(3)
faddp st(1)
fld dword [esp + 0x78]
fmul st(4)
faddp st(1)
fadd dword [esp + 0xa8]
fdivr dword [0x4fe6cc]
fstp dword [esp + 0x1c]
fstp st(0)
fstp st(0)
fstp st(0)
fld dword [esp + 0x1c]
fmul dword [esp + 0x20]
fstp dword [esp + 0x20]
fld dword [esp + 0x1c]
fmul dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x1c]
fmul dword [esp + 0x28]
fsub st(1)
fstp dword [esp + 8]
fstp st(0)
fld dword [esp + 0x24]
fsub st(1)
fstp dword [esp + 4]
fstp st(0)
fld dword [esp + 0x20]
fsub st(1)
fstp dword [esp]
fstp st(0)
call fcn.00402d30
mov esi, dword [esp + 0x98]
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x94]
mov ebp, dword [esp + 0x90]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
push esi
mov dword [esp + 0x30], ecx
push edi
push ebp
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
call fcn.00402d30
fld dword [esp + 0x60]
fmul dword [ebx + 0x324]
fld dword [esp + 0xc80080]
fmul dword [ebx + 0x32c]
sub esp, 0xc
lea ecx, [esp + 0x54]
faddp st(1)
fld dword [esp - 0x4c]
fmul dword [ebx + 0x328]
faddp st(1)
fadd dword [esp + 0x1c]
fld dword [esp + 0x70]
fmul dword [ebx + 0x324]
fld dword [esp + 0x90]
fmul dword [ebx + 0x32c]
faddp st(1)
fld dword [esp + 0x80]
fmul dword [ebx + 0x328]
faddp st(1)
fadd dword [esp + 0xa0]
fld dword [esp + 0x74]
fmul dword [ebx + 0x324]
fld dword [esp + 0x94]
fmul dword [ebx + 0x32c]
faddp st(1)
fld dword [esp + 0x84]
fmul dword [ebx + 0x328]
faddp st(1)
fadd dword [esp + 0xa4]
fstp dword [esp + 0x68]
fld dword [esp + 0x78]
fmul dword [ebx + 0x324]
fld dword [esp + 0x98]
fmul dword [ebx + 0x32c]
faddp st(1)
fld dword [esp + 0x88]
fmul dword [ebx + 0x328]
faddp st(1)
fadd dword [esp + 0xa8]
fdiv st(5)
int3
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x470
ret 4