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

Disassembly:
sub esp, 0x60
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [esp + 0x6c]
cmp ebp, ebx
push esi
push edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
jl 0x412be9
cmp ebp, dword [0x6fbf38]
jge 0x412be9
mov esi, ebp
mov eax, ebp
imul esi, esi, 0x174
call fcn.004123a0
cmp dword [esi + 0x6fbf6c], ebx
fst dword [esp + 0x18]
jle 0x412592
mov edi, dword [esi + 0x6fbf68]
add edi, ebx
imul edi, edi, 0x34
add edi, 0x70e1ec
mov eax, dword [edi]
cmp eax, 6
ja case.0x41246c.7397867
jmp dword [eax*4 + 0x412bf4]
fmul dword [edi + 0x18]
push ecx
fst dword [esp + 0x18]
fsubr dword [edi + 4]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x5353d0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x41257f
fld dword [esp + 0x14]
mov dword [esp + 0x1c], 1
fstp dword [edi + 4]
jmp 0x41257f
fmul dword [edi + 0x20]
push ecx
fst dword [esp + 0x18]
fsubr dword [edi + 0x14]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x5353d0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x41257f
fld dword [esp + 0x14]
mov dword [esp + 0x28], 1
fstp dword [edi + 0x14]
jmp 0x41257f
fld dword [edi + 0x20]
push ecx
fmul st(1)
fst dword [esp + 0x18]
fld dword [edi + 0x28]
fmul st(2)
fstp dword [esp + 0x24]
fld dword [edi + 0x24]
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x28]
fsubr dword [edi + 8]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x5353d0]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412562
fld dword [edi + 0x10]
push ecx
fsub dword [esp + 0x24]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x5353d0]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412562
fld dword [edi + 0xc]
push ecx
fsub dword [esp + 0x28]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x5353d0]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x41257f
fld dword [esp + 0x14]
mov dword [esp + 0x2c], 1
fstp dword [edi + 8]
fld dword [esp + 0x20]
fstp dword [edi + 0x10]
fld dword [esp + 0x24]
fstp dword [edi + 0xc]
fld dword [esp + 0x18]
add ebx, 1
cmp ebx, dword [esi + 0x6fbf6c]
jl 0x412450
mov eax, dword [esi + 0x6fbf44]
fstp st(0)
fld dword [0x535764]
lea eax, [eax + eax*8]
mov ecx, dword [eax*8 + 0x744318]
fst dword [esp + 0x40]
mov edx, dword [eax*8 + 0x74431c]
fst dword [esp + 0x44]
lea eax, [eax*8 + 0x744318]
fstp dword [esp + 0x48]
mov eax, dword [eax + 8]
fld dword [0x535780]
fst dword [esp + 0x50]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x40]
fst dword [esp + 0x54]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x58]
xor ebx, ebx
cmp dword [esi + 0x6fbf64], ebx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
jle 0x41286e
fld dword [esp + 0x34]
fld dword [esp + 0x40]
mov ecx, dword [esi + 0x6fbf60]
add ecx, ebx
lea eax, [ecx + ecx*8]
add eax, eax
add eax, eax
fld dword [eax + eax + 0x74433c]
add eax, eax
fmul dword [esi + 0x6fbf48]
fld dword [eax + 0x744340]
fmul dword [esi + 0x6fbf4c]
fld dword [eax + 0x744344]
fmul dword [esi + 0x6fbf50]
fld dword [esi + 0x6fc078]
fmul st(3)
fld dword [esi + 0x6fc090]
fmul st(2)
faddp st(1)
fld dword [esi + 0x6fc084]
fmul st(3)
faddp st(1)
fadd dword [esp + 0x60]
fstp dword [esp + 0x50]
mov edx, dword [esp + 0x50]
fld dword [esi + 0x6fc07c]
fmul st(3)
fld dword [esi + 0x6fc094]
fmul st(2)
faddp st(1)
fld dword [esi + 0x6fc088]
fmul st(3)
faddp st(1)
fadd dword [esp + 0x64]
fstp dword [esp + 0x54]
fld dword [esi + 0x6fc080]
fmul st(3)
fld st(1)
fmul dword [esi + 0x6fc098]
faddp st(1)
fld st(2)
fmul dword [esi + 0x6fc08c]
mov dword [eax + 0x744318], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x74431c], edx
faddp st(1)
fadd dword [esp + 0x68]
fstp dword [esp + 0x58]
mov edx, dword [esp + 0x58]
mov dword [eax + 0x744320], edx
xor edx, edx
cmp dword [esi + 0x6fbf6c], edx
jle 0x412730
mov edi, dword [esi + 0x6fbf68]
mov eax, edi
imul eax, eax, 0x34
add eax, 0x70e1f0
cmp dword [eax - 4], 6
jne 0x412712
mov ebp, dword [eax]
cmp dword [ebp + 0xc], ecx
je 0x412722
add edx, 1
add eax, 0x34
cmp edx, dword [esi + 0x6fbf6c]
jl 0x412705
jmp 0x412730
lea ecx, [edi + edx]
imul ecx, ecx, 0x34
add ecx, 0x70e1ec
jne 0x4127a9
fxch st(2)
fcom st(4)
fnstsw ax
test ah, 5
jp 0x412741
fstp st(4)
fld st(3)
fxch st(4)
fld dword [esp + 0x38]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x412756
fxch st(1)
fst dword [esp + 0x38]
fxch st(1)
fld dword [esp + 0x3c]
fcomp st(3)
fnstsw ax
test ah, 0x41
jne 0x41276b
fxch st(2)
fst dword [esp + 0x3c]
fxch st(2)
fcom st(3)
fnstsw ax
test ah, 0x41
jne 0x412778
fstp st(3)
jmp 0x41277a
fstp st(0)
fld dword [esp + 0x44]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x41278d
fstp dword [esp + 0x44]
jmp 0x41278f
fstp st(0)
fld dword [esp + 0x48]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x412851
fstp dword [esp + 0x48]
jmp 0x412853
fldz
fcom dword [ecx + 0x10]
fnstsw ax
test ah, 5
jnp 0x4127bc
fstp st(0)
fld dword [ecx + 0x10]
fchs
fsubr st(3)
fcom st(5)
fnstsw ax
test ah, 5
jp 0x4127cb
fstp st(5)
jmp 0x4127cd
fstp st(0)
fld st(1)
fsub dword [ecx + 0xc]
fld dword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4127e3
fst dword [esp + 0x38]
fld st(1)
fsub dword [ecx + 0xc]
fld dword [esp + 0x3c]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x4127f9
fst dword [esp + 0x3c]
fldz
fcomp dword [ecx + 0x10]
fnstsw ax
test ah, 0x41
jne 0x412809
fldz
jmp 0x41280c
fld dword [ecx + 0x10]
faddp st(5)
fxch st(4)
fcom st(5)
fnstsw ax
test ah, 0x41
jne 0x41281d
fstp st(5)
jmp 0x41281f
fstp st(0)
fcomp dword [esp + 0x44]
fnstsw ax
test ah, 0x41
jne 0x412837
fld dword [ecx + 0xc]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x44]
jmp 0x412839
fstp st(1)
fld dword [esp + 0x48]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x412851
fadd dword [ecx + 0xc]
fstp dword [esp + 0x48]
jmp 0x412853
fstp st(0)
add ebx, 1
cmp ebx, dword [esi + 0x6fbf64]
jl 0x41262b
mov ebp, dword [esp + 0x74]
fstp dword [esp + 0x40]
fstp dword [esp + 0x34]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x6fc09c], eax
mov eax, dword [esp + 0x40]
mov dword [esi + 0x6fc0a0], ecx
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x6fc0a4], edx
mov edx, dword [esp + 0x48]
mov dword [esi + 0x6fc0a8], eax
mov dword [esi + 0x6fc0ac], ecx
mov dword [esi + 0x6fc0b0], edx
mov edi, 0x54eff8
nop
cmp dword [edi + 0x6c], 0
je 0x412b73
mov eax, dword [edi + 0x64]
mov ecx, dword [esi + 0x6fbf60]
cmp eax, ecx
jl 0x412b73
mov edx, dword [esi + 0x6fbf64]
add edx, ecx
cmp eax, edx
jge 0x412b73
cmp ebp, dword [0x6fbf38]
fld dword [esi + 0x6fc078]
fmul dword [edi + 0x24]
fld dword [esi + 0x6fc090]
fmul dword [edi + 0x2c]
faddp st(1)
fld dword [esi + 0x6fc084]
fmul dword [edi + 0x28]
faddp st(1)
fstp dword [esp + 0x40]
fld dword [esi + 0x6fc07c]
fmul dword [edi + 0x24]
fld dword [esi + 0x6fc094]
fmul dword [edi + 0x2c]
faddp st(1)
fld dword [esi + 0x6fc088]
fmul dword [edi + 0x28]
faddp st(1)
fstp dword [esp + 0x44]
fld dword [esi + 0x6fc080]
fmul dword [edi + 0x24]
fld dword [edi + 0x2c]
fmul dword [esi + 0x6fc098]
faddp st(1)
fld dword [edi + 0x28]
fmul dword [esi + 0x6fc08c]
faddp st(1)
fstp dword [esp + 0x48]
fld dword [esi + 0x6fc078]
fmul dword [edi + 0x30]
fld dword [esi + 0x6fc090]
fmul dword [edi + 0x38]
faddp st(1)
fld dword [esi + 0x6fc084]
fmul dword [edi + 0x34]
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esi + 0x6fc07c]
fmul dword [edi + 0x30]
fld dword [esi + 0x6fc094]
fmul dword [edi + 0x38]
faddp st(1)
fld dword [esi + 0x6fc088]
fmul dword [edi + 0x34]
faddp st(1)
fstp dword [esp + 0x38]
fld dword [esi + 0x6fc080]
fmul dword [edi + 0x30]
fld dword [edi + 0x38]
fmul dword [esi + 0x6fc098]
faddp st(1)
fld dword [edi + 0x34]
fmul dword [esi + 0x6fc08c]
faddp st(1)
fstp dword [esp + 0x3c]
jge 0x4129fb
fld dword [esi + 0x6fbf4c]
push ecx
fstp dword [esp]
call fcn.00405060
fstp dword [esp + 0x78]
fld dword [esi + 0x6fbf48]
fstp dword [esp]
call fcn.00405060
fadd dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esi + 0x6fbf50]
fstp dword [esp]
call fcn.00405060
fadd dword [esp + 0x78]
add esp, 4
fmul dword [0x5354f0]
jmp 0x4129fd
fld1
fmul dword [edi + 0xc4]
push ecx
fstp dword [esp + 0x78]
fld dword [edi - 0x10]
fsub dword [esp + 0x44]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412af2
fld dword [edi - 0xc]
push ecx
fsub dword [esp + 0x48]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412af2
fld dword [edi - 8]
push ecx
fsub dword [esp + 0x4c]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412af2
fld dword [edi - 4]
push ecx
fsub dword [esp + 0x38]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412af2
fld dword [edi]
push ecx
fsub dword [esp + 0x3c]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412af2
fld dword [edi + 4]
push ecx
fsub dword [esp + 0x40]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
je 0x412af2
fld dword [edi + 0x48]
push ecx
fsub dword [esp + 0x78]
fstp dword [esp]
call fcn.00405060
fcomp qword [0x535778]
add esp, 4
fnstsw ax
test ah, 0x41
jne 0x412b2a
mov eax, dword [esp + 0x40]
fld dword [esp + 0x74]
mov ecx, dword [esp + 0x44]
fstp dword [edi + 0x48]
mov edx, dword [esp + 0x48]
mov dword [edi - 0x10], eax
mov eax, dword [esp + 0x34]
mov dword [edi - 0xc], ecx
mov ecx, dword [esp + 0x38]
mov dword [edi - 8], edx
mov edx, dword [esp + 0x3c]
mov dword [edi - 4], eax
mov dword [edi], ecx
mov dword [edi + 4], edx
mov dword [esp + 0x30], 1
fld dword [edi + 4]
fmul dword [edi - 0xc]
fld dword [edi]
fmul dword [edi - 8]
fsubp st(1)
fstp dword [esp + 0x60]
mov eax, dword [esp + 0x60]
fld dword [edi - 4]
fmul dword [edi - 8]
fld dword [edi - 0x10]
fmul dword [edi + 4]
fsubp st(1)
fstp dword [esp + 0x64]
mov ecx, dword [esp + 0x64]
fld dword [edi - 0x10]
fmul dword [edi]
fld dword [edi - 4]
mov dword [edi + 8], eax
fmul dword [edi - 0xc]
mov dword [edi + 0xc], ecx
fsubp st(1)
fstp dword [esp + 0x68]
mov edx, dword [esp + 0x68]
mov dword [edi + 0x10], edx
add edi, 0xe8
cmp edi, 0x54f398
jl 0x4128b0
cmp dword [esp + 0x1c], 0
je 0x412b9e
mov ecx, dword [0x9d81b4]
mov eax, dword [ecx + 0xa4]
push eax
call fcn.004296b0
cmp dword [esp + 0x28], 0
je 0x412bb7
mov ebx, dword [0x9d81a8]
mov ecx, dword [ebx + 0x6c4]
push ecx
call fcn.00409880
cmp dword [esp + 0x2c], 0
je 0x412bd0
mov ecx, dword [0x9d81ac]
mov edx, dword [ecx + 0x7df0]
push edx
call fcn.00426120
cmp dword [esp + 0x30], 0
je 0x412be9
mov edi, dword [0x9d81b8]
mov eax, dword [edi + 0x94]
push eax
call fcn.004229b0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4