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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1f0
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0xec]
test ecx, ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x10], ecx
je 0x54968f
jmp 0x549536
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx + 0x204]
test ebp, ebp
je 0x549680
mov eax, dword [ebp + 0x118]
test eax, eax
mov dword [esp + 0x18], 0
jle 0x549675
xor esi, esi
lea esp, [esp]
mov eax, dword [ebp + 0x11c]
mov edx, dword [eax + esi + 8]
xor ebx, ebx
test edx, edx
jle 0x549647
xor edi, edi
mov eax, dword [eax + esi + 0xc]
mov dl, byte [ecx + 0x3c]
add eax, edi
test dl, 0x10
je 0x5495b3
mov edx, dword [0x8b8f24]
mov edx, dword [edx]
add ecx, 0x1a0
push ecx
lea ecx, [esp + 0xc4]
push ecx
push eax
mov eax, dword [0x8b8f24]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
add esp, 0x10
lea eax, [esp + 0xc0]
fld dword [eax]
inc ebx
fld st(0)
add edi, 0x30
fmul st(1)
fadd qword [esp + 0x50]
fstp qword [esp + 0x50]
fstp st(0)
fld dword [eax + 4]
fld st(0)
fmul st(1)
fadd qword [esp + 0x78]
fstp qword [esp + 0x78]
fstp st(0)
fld dword [eax + 8]
fld st(0)
fmul st(1)
fadd qword [esp + 0x68]
fstp qword [esp + 0x68]
fstp st(0)
fld dword [eax]
fmul dword [eax + 4]
fadd qword [esp + 0x58]
fstp qword [esp + 0x58]
fld dword [eax]
fmul dword [eax + 8]
fadd qword [esp + 0x40]
fstp qword [esp + 0x40]
fld dword [eax + 4]
fmul dword [eax + 8]
fadd qword [esp + 0x38]
fstp qword [esp + 0x38]
fld dword [eax]
fadd qword [esp + 0x48]
fstp qword [esp + 0x48]
fld dword [eax + 4]
fadd qword [esp + 0x60]
fstp qword [esp + 0x60]
fld dword [eax + 8]
mov eax, dword [ebp + 0x11c]
fadd qword [esp + 0x30]
mov edx, dword [eax + esi + 8]
cmp ebx, edx
fstp qword [esp + 0x30]
jl 0x549576
mov edi, dword [esp + 0x14]
mov edx, dword [ebp + 0x11c]
mov eax, dword [edx + esi + 8]
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 0x118]
add ebx, eax
mov eax, dword [esp + 0x18]
inc eax
add esi, 0x40
cmp eax, edx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], eax
jl 0x549560
mov ebp, dword [ebp + 0x10]
test ebp, ebp
jne 0x549544
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
mov dword [esp + 0x10], ecx
jne 0x549532
fild dword [esp + 0x1c]
lea eax, [esp + 0x160]
push eax
fdivr qword [0x59e420]
fld qword [esp + 0x4c]
fmul st(1)
fld st(1)
fmul qword [esp + 0x64]
fld st(2)
fmul qword [esp + 0x34]
fstp qword [esp + 0x34]
fld st(2)
fmul qword [esp + 0x5c]
fld st(1)
fmul st(3)
fsubp st(1)
fld st(3)
fmul qword [esp + 0x44]
fld qword [esp + 0x34]
fmul st(4)
fsubp st(1)
fst qword [esp + 0x44]
fld st(4)
fmul qword [esp + 0x3c]
fld qword [esp + 0x34]
fmul st(4)
fsubp st(1)
fstp qword [esp + 0x3c]
fld st(4)
mov ecx, dword [esp + 0x3c]
fmul qword [esp + 0x54]
mov edx, dword [esp + 0x40]
fld st(4)
mov dword [esp + 0x144], ecx
fmul st(5)
lea ecx, [esp + 0x1ac]
mov dword [esp + 0x148], edx
fsubp st(1)
push ecx
lea edx, [esp + 0x120]
fstp qword [esp + 0x120]
fld st(1)
push edx
fstp qword [esp + 0x12c]
fstp qword [esp + 0x134]
fstp qword [esp + 0x13c]
fld st(2)
fmul qword [esp + 0x84]
fld st(1)
fmul st(2)
fsubp st(1)
fstp qword [esp + 0x144]
fstp st(0)
fstp st(0)
fld qword [esp + 0x4c]
fstp qword [esp + 0x154]
fld qword [esp + 0x44]
fstp qword [esp + 0x15c]
fmul qword [esp + 0x74]
fld qword [esp + 0x3c]
fmul qword [esp + 0x3c]
fsubp st(1)
fstp qword [esp + 0x164]
mov ecx, dword [0x8b8f24]
call fcn.0053b6f0
fld qword [esp + 0x160]
fstp dword [esp + 0x80]
mov dword [esp + 0x8c], 0
fld qword [esp + 0x178]
mov dword [esp + 0x9c], 0
fstp dword [esp + 0x84]
mov dword [esp + 0xac], 0
fld qword [esp + 0x190]
mov dword [esp + 0xb0], 0
fstp dword [esp + 0x88]
mov dword [esp + 0xb4], 0
fld qword [esp + 0x168]
mov dword [esp + 0xb8], 0
fstp dword [esp + 0x90]
mov dword [esp + 0xbc], 0x3f800000
fld qword [esp + 0x180]
lea esi, [esp + 0x1c0]
fstp dword [esp + 0x94]
lea eax, [esp + 0x80]
fld qword [esp + 0x198]
mov ebx, 4
fstp dword [esp + 0x98]
fld qword [esp + 0x170]
fstp dword [esp + 0xa0]
fld qword [esp + 0x188]
fstp dword [esp + 0xa4]
fld qword [esp + 0x1a0]
fstp dword [esp + 0xa8]
mov ecx, esi
mov edx, 4
lea esp, [esp]
mov ebp, dword [eax]
mov dword [ecx], ebp
add ecx, 0x10
add eax, 4
dec edx
jne 0x549870
add esi, 4
dec ebx
jne 0x549865
mov ecx, dword [edi + 0xec]
test ecx, ecx
mov dword [esp + 0x48], 0xa0000000
mov dword [esp + 0x4c], 0x426d1a94
mov dword [esp + 0x58], 0xa0000000
mov dword [esp + 0x5c], 0x426d1a94
mov dword [esp + 0x38], 0xa0000000
mov dword [esp + 0x3c], 0x426d1a94
mov dword [esp + 0x60], 0xa0000000
mov dword [esp + 0x64], 0xc26d1a94
mov dword [esp + 0x50], 0xa0000000
mov dword [esp + 0x54], 0xc26d1a94
mov dword [esp + 0x40], 0xa0000000
mov dword [esp + 0x44], 0xc26d1a94
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x10], ecx
je 0x549a87
jmp 0x549910
mov ecx, dword [esp + 0x10]
nop
lea esp, [esp]
mov edi, dword [ecx + 0x204]
test edi, edi
je 0x549a74
mov edi, edi
mov eax, dword [edi + 0x118]
test eax, eax
mov dword [esp + 0x18], 0
jle 0x549a69
xor esi, esi
mov eax, dword [edi + 0x11c]
mov edx, dword [esi + eax + 8]
xor ebp, ebp
test edx, edx
jle 0x549a4f
xor ebx, ebx
mov edi, edi
mov eax, dword [esi + eax + 0xc]
mov dl, byte [ecx + 0x3c]
add eax, ebx
test dl, 0x10
je 0x549989
mov edx, dword [0x8b8f24]
mov edx, dword [edx]
add ecx, 0x1a0
push ecx
lea ecx, [esp + 0xc4]
push ecx
push eax
mov eax, dword [0x8b8f24]
push eax
call dword [edx + 4]
add esp, 0x10
lea eax, [esp + 0xc0]
mov ecx, dword [0x8b8f24]
mov edx, dword [ecx]
lea ecx, [esp + 0x1c0]
push ecx
lea ecx, [esp + 0x24]
push ecx
push eax
mov eax, dword [0x8b8f24]
push eax
call dword [edx + 4]
fld dword [esp + 0x30]
fcomp qword [esp + 0x48]
add esp, 0x10
fnstsw ax
test ah, 5
jp 0x5499c2
fld dword [esp + 0x20]
fstp qword [esp + 0x38]
fld dword [esp + 0x20]
fcomp qword [esp + 0x40]
fnstsw ax
test ah, 0x41
jne 0x5499d9
fld dword [esp + 0x20]
fstp qword [esp + 0x40]
fld dword [esp + 0x24]
fcomp qword [esp + 0x58]
fnstsw ax
test ah, 5
jp 0x5499f0
fld dword [esp + 0x24]
fstp qword [esp + 0x58]
fld dword [esp + 0x24]
fcomp qword [esp + 0x50]
fnstsw ax
test ah, 0x41
jne 0x549a07
fld dword [esp + 0x24]
fstp qword [esp + 0x50]
fld dword [esp + 0x28]
fcomp qword [esp + 0x48]
fnstsw ax
test ah, 5
jp 0x549a1e
fld dword [esp + 0x28]
fstp qword [esp + 0x48]
fld dword [esp + 0x28]
fcomp qword [esp + 0x60]
fnstsw ax
test ah, 0x41
jne 0x549a35
fld dword [esp + 0x28]
fstp qword [esp + 0x60]
mov eax, dword [edi + 0x11c]
mov ecx, dword [esi + eax + 8]
inc ebp
add ebx, 0x30
cmp ebp, ecx
mov ecx, dword [esp + 0x10]
jl 0x549950
mov eax, dword [esp + 0x18]
mov edx, dword [edi + 0x118]
inc eax
add esi, 0x40
cmp eax, edx
mov dword [esp + 0x18], eax
jl 0x549938
mov edi, dword [edi + 0x10]
test edi, edi
jne 0x549920
mov ecx, dword [ecx + 0x4c]
test ecx, ecx
mov dword [esp + 0x10], ecx
jne 0x549907
mov edi, dword [esp + 0x14]
fld qword [esp + 0x40]
mov eax, dword [0x8b8f24]
fst dword [esp + 0x18]
lea edx, [esp + 0x80]
fstp dword [esp + 0x20]
push edx
fld qword [esp + 0x5c]
lea edx, [edi + 0x1c]
fst dword [esp + 0x20]
push edx
fstp dword [esp + 0x2c]
lea edx, [esp + 0x28]
fld qword [esp + 0x50]
push edx
fst dword [esp + 0x20]
push eax
fstp dword [esp + 0x38]
mov ecx, dword [eax]
call dword [ecx + 4]
fld qword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
fst dword [esp + 0x20]
mov eax, dword [esp + 0x28]
fstp dword [esp + 0x38]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [edi + 0x28]
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [0x8b8f24]
mov edx, dword [eax]
lea ecx, [esp + 0x38]
push ecx
push eax
call dword [edx + 4]
fld qword [esp + 0x58]
mov edx, dword [esp + 0x3c]
fst dword [esp + 0x50]
mov eax, dword [esp + 0x30]
fstp dword [esp + 0x40]
mov dword [esp + 0x44], edx
lea edx, [esp + 0xa0]
push edx
lea edx, [edi + 0x34]
push edx
mov dword [esp + 0x50], eax
mov eax, dword [0x8b8f24]
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
push eax
call dword [ecx + 4]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x58], edx
lea edx, [esp + 0xb0]
push edx
lea edx, [edi + 0x40]
push edx
mov dword [esp + 0x58], eax
mov eax, dword [0x8b8f24]
lea edx, [esp + 0x58]
push edx
mov dword [esp + 0x60], ecx
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
fld qword [esp + 0x90]
mov eax, dword [esp + 0x58]
fst dword [esp + 0x5c]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x64]
mov dword [esp + 0x60], eax
mov eax, dword [0x8b8f24]
mov dword [esp + 0x68], ecx
mov edx, dword [eax]
add esp, 0x40
lea ecx, [esp + 0x80]
push ecx
lea ecx, [edi + 0x4c]
push ecx
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x90]
push ecx
lea ecx, [edi + 0x58]
push ecx
mov dword [esp + 0x3c], eax
mov eax, dword [0x8b8f24]
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], edx
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0xa0]
push ecx
lea ecx, [edi + 0x64]
push ecx
mov dword [esp + 0x4c], eax
mov eax, dword [0x8b8f24]
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x4c], edx
mov edx, dword [eax]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x60]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [edi + 0x70]
push ecx
mov dword [esp + 0x5c], eax
mov eax, dword [0x8b8f24]
lea ecx, [esp + 0x58]
push ecx
mov dword [esp + 0x5c], edx
mov edx, dword [eax]
push eax
call dword [edx + 4]
fld qword [esp + 0x80]
fadd qword [esp + 0x78]
mov ecx, dword [0x8b8f24]
add esp, 0x40
lea esi, [esp + 0x80]
fmul qword [0x59e880]
fstp dword [esp + 0x20]
lea eax, [edi + 0x7c]
fld qword [esp + 0x50]
push esi
fadd qword [esp + 0x5c]
push eax
lea eax, [esp + 0x28]
fmul qword [0x59e880]
fstp dword [esp + 0x2c]
push eax
fld qword [esp + 0x6c]
fadd qword [esp + 0x54]
fmul qword [0x59e880]
fstp dword [esp + 0x34]
mov edx, dword [ecx]
push ecx
call dword [edx + 4]
mov edx, dword [edi + 0xec]
xor esi, esi
add esp, 0x10
cmp edx, esi
mov dword [esp + 0x10], edx
je 0x549dd1
jmp 0x549cc0
mov edx, dword [esp + 0x10]
nop
lea esp, [esp]
mov ecx, dword [edx + 0x204]
cmp ecx, esi
mov dword [esp + 0x14], ecx
je 0x549dc2
jmp 0x549cd8
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x118], esi
mov dword [esp + 0x18], esi
jle 0x549db1
mov eax, dword [ecx + 0x11c]
mov ebx, dword [esi + eax + 8]
xor ebp, ebp
test ebx, ebx
jle 0x549d97
xor ebx, ebx
mov edi, edi
mov eax, dword [esi + eax + 0xc]
add eax, ebx
test byte [edx + 0x3c], 0x10
je 0x549d3b
mov ecx, dword [0x8b8f24]
mov ecx, dword [ecx]
add edx, 0x1a0
push edx
lea edx, [esp + 0xc4]
push edx
push eax
mov eax, dword [0x8b8f24]
push eax
call dword [ecx + 4]
mov ecx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0xc0]
fld dword [edi + 0x7c]
fsub dword [eax]
fld dword [edi + 0x80]
fsub dword [eax + 4]
fld dword [edi + 0x84]
fsub dword [eax + 8]
fld st(0)
fmul st(1)
fld st(2)
fmul st(3)
faddp st(1)
fld st(3)
fmul st(4)
faddp st(1)
fstp st(3)
fstp st(0)
fstp st(0)
fld qword [esp + 0x68]
fcomp st(1)
fnstsw ax
test ah, 0x41
je 0x549d7b
fstp qword [esp + 0x68]
jmp 0x549d7d
fstp st(0)
mov eax, dword [ecx + 0x11c]
mov edx, dword [esi + eax + 8]
inc ebp
add ebx, 0x30
cmp ebp, edx
mov edx, dword [esp + 0x10]
jl 0x549d00
mov eax, dword [esp + 0x18]
mov ebx, dword [ecx + 0x118]
inc eax
add esi, 0x40
cmp eax, ebx
mov dword [esp + 0x18], eax
jl 0x549ce8
mov ecx, dword [ecx + 0x10]
xor esi, esi
cmp ecx, esi
mov dword [esp + 0x14], ecx
jne 0x549cd4
mov edx, dword [edx + 0x4c]
cmp edx, esi
mov dword [esp + 0x10], edx
jne 0x549cb7
fld qword [esp + 0x68]
mov dword [esp + 0xd0], esi
fsqrt
mov esi, 3
mov dword [esp + 0xec], esi
mov dword [esp + 0xf4], esi
xor esi, esi
mov eax, 2
mov ecx, 1
mov ebx, 5
mov ebp, 6
mov edx, 7
mov dword [esp + 0xf8], esi
mov dword [esp + 0x114], esi
lea esi, [esp + 0xd4]
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0x10c], eax
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xf0], edx
mov dword [esp + 0xfc], 4
mov dword [esp + 0x100], edx
mov dword [esp + 0x104], 4
mov dword [esp + 0x108], ebx
mov dword [esp + 0x110], ecx
mov dword [esp + 0x1c], esi
lea eax, [edi + 0x8c]
mov dword [esp + 0x18], ebp
fstp dword [edi + 0x18]
mov edx, dword [esi]
mov ecx, dword [esi - 4]
mov esi, dword [esi + 4]
lea ebp, [ecx + ecx*2]
lea ebx, [edx + edx*2]
fld dword [edi + ebx*4 + 0x1c]
lea ebx, [edi + ebx*4]
fsub dword [edi + ebp*4 + 0x1c]
lea ebp, [edi + ebp*4]
fld dword [ebx + 0x20]
lea ecx, [ecx + ecx*2 + 9]
fsub dword [ebp + 0x20]
lea edx, [edx + edx*2 + 9]
fld dword [edi + edx*4]
lea ecx, [edi + ecx*4]
fsub dword [ecx]
lea edx, [edi + edx*4]
mov dword [esp + 0x10], ecx
lea ecx, [esi + esi*2]
fld dword [edi + ecx*4 + 0x1c]
lea ecx, [edi + ecx*4]
fsub dword [ebx + 0x1c]
fstp dword [esp + 0x68]
fld dword [ecx + 0x20]
lea ecx, [esi + esi*2 + 9]
fsub dword [ebx + 0x20]
fstp dword [esp + 0x6c]
fld dword [edi + ecx*4]
fsub dword [edx]
fld st(0)
fmul st(3)
fld dword [esp + 0x6c]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x14]
fld dword [esp + 0x68]
fmul st(2)
fxch st(1)
fmul st(4)
fsubp st(1)
fstp dword [esp + 0x30]
fstp st(0)
fld dword [esp + 0x6c]
fmulp st(2)
fld dword [esp + 0x68]
fmul st(1)
fsubp st(2)
fstp st(0)
fld st(0)
fmul st(1)
fld dword [esp + 0x30]
fmul dword [esp + 0x30]
faddp st(1)
fld dword [esp + 0x14]
fmul dword [esp + 0x14]
faddp st(1)
fsqrt
fdivr qword [0x59e420]
fld dword [esp + 0x14]
fmul st(1)
fst dword [esp + 0x14]
fstp dword [eax - 4]
fld dword [esp + 0x30]
fmul st(1)
fst dword [esp + 0x30]
fstp dword [eax]
fmulp st(1)
fst dword [eax + 4]
fld dword [esp + 0x14]
fmul dword [ebp + 0x1c]
mov edx, dword [esp + 0x10]
fchs
fld dword [esp + 0x30]
mov esi, dword [esp + 0x1c]
fmul dword [ebp + 0x20]
mov ecx, dword [esp + 0x18]
add esi, 0xc
add eax, 0x10
fsubp st(1)
fxch st(1)
dec ecx
fmul dword [edx]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ecx
fsubp st(1)
fstp dword [eax - 8]
jne 0x549e95
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret