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

Disassembly:
sub esp, 0x184
mov eax, dword [esp + 0x188]
push ebx
mov ebx, ecx
push ebp
mov ebp, edx
push esi
fld dword [ebx + 0x10]
fsub dword [eax + 8]
push edi
mov dword [esp + 0xb0], ebp
mov dword [esp + 0xac], ebx
fcomp dword [0x491890]
fnstsw ax
test ah, 0x41
je 0x459092
fld dword [ebp + 0x40]
lea ecx, [ebp + 0x24]
add ebx, 8
mov dword [esp + 0x4c], 0
push 0x3f933333
mov edx, dword [ecx]
sub esp, 0xc
mov dword [esp + 0xb0], edx
mov edx, dword [0x4958a0]
fld dword [esp + 0xb0]
mov eax, dword [ecx + 4]
mov dword [esp + 0xd0], edx
fmul st(1)
mov ecx, dword [ecx + 8]
mov dword [esp + 0xb4], eax
mov eax, dword [0x4958a4]
mov dword [esp + 0xb8], ecx
mov ecx, dword [0x4958a8]
mov edx, ebx
fstp dword [esp + 0xb0]
fld dword [esp + 0xb4]
fmul st(1)
mov dword [esp + 0xd4], eax
mov eax, dword [edx]
mov dword [esp + 0x20], eax
mov dword [esp + 0xd8], ecx
mov ecx, dword [edx + 4]
mov eax, esp
fstp dword [esp + 0xb4]
fld dword [esp + 0xb8]
fmul st(1)
mov edx, dword [edx + 8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
fstp dword [esp + 0xb8]
fstp st(0)
fld dword [esp + 0x20]
fsub dword [esp + 0xd0]
fld dword [esp + 0x24]
fsub dword [esp + 0xd4]
fld dword [esp + 0x28]
fsub dword [esp + 0xd8]
fld dword [0x49144c]
fld st(1)
fsub st(1)
fstp dword [esp + 0x60]
fsub st(2)
fstp dword [esp + 0x64]
fld dword [esp + 0x60]
fmul st(1)
fld dword [esp + 0x64]
fmul st(3)
fsubp st(1)
fstp dword [esp + 0x20]
fld dword [esp + 0x64]
fmul st(3)
fld dword [esp + 0x5c]
fmul st(2)
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
fsubp st(1)
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
fstp st(0)
fld dword [esp + 0x5c]
fmul st(1)
fld dword [esp + 0x60]
fmul st(3)
mov dword [eax + 4], edx
lea edx, [esp + 0x9c]
push edx
fsubp st(1)
fstp dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
fstp st(0)
fstp st(0)
mov dword [eax + 8], ecx
call fcn.0044ec60
mov esi, dword [eax]
mov dword [esp + 0x78], esi
mov edi, dword [eax + 4]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x4c]
push 0x3f933333
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x54]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x8c], edi
mov dword [ecx], edx
mov edx, dword [esp + 0x64]
mov dword [ecx + 4], eax
lea eax, [esp + 0x9c]
push eax
mov dword [ecx + 8], edx
call fcn.0044ec60
mov ecx, eax
fld dword [0x51d9e8]
mov edx, dword [ecx]
mov dword [esp + 0x40], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x44], edi
mov edx, dword [ecx + 4]
push 0
mov dword [esp + 0x18], edx
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x38], edx
fld dword [esp + 0x38]
fmul st(1)
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x84]
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
mov dword [esp + 0x4c], eax
mov ecx, ebx
sub esp, 0x18
mov edx, dword [ecx]
fstp dword [esp + 0x54]
mov eax, dword [ecx + 4]
mov dword [esp + 0x38], edx
fmul dword [esp + 0x58]
fld dword [0x51d9d0]
fld st(0)
fmul dword [esp + 0x94]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul st(1)
fstp dword [esp + 0x60]
fmul dword [esp + 0x64]
fld dword [esp + 0x5c]
fadd dword [esp + 0x50]
fstp dword [esp + 0xa8]
fld dword [esp + 0x60]
fadd dword [esp + 0x54]
fstp dword [esp + 0xac]
faddp st(1)
fld dword [esp + 0x38]
fadd dword [esp + 0xa8]
fstp dword [esp + 0x74]
fld dword [esp + 0x3c]
fadd dword [esp + 0xac]
mov edx, dword [esp + 0x74]
mov dword [esp + 0xe8], edx
fstp dword [esp + 0x78]
fld dword [esp + 0x40]
mov eax, dword [esp + 0x78]
fadd st(1)
mov dword [esp + 0xec], eax
fstp dword [esp + 0x7c]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xf0], ecx
mov ecx, 6
fstp st(0)
lea esi, [esp + 0xdc]
mov edi, esp
lea edx, [esp + 0xa8]
rep movsd dword es:[edi], dword [esi]
push edx
call fcn.00448bf0
mov edx, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [ecx + 4], edx
mov dword [ecx + 8], eax
lea ecx, [esp + 0xa4]
push ecx
mov ecx, ebp
call fcn.00433a40
mov esi, dword [eax]
mov dword [esp + 0x68], esi
mov edi, dword [eax + 4]
fld dword [esp + 0x68]
mov dword [esp + 0x6c], edi
call fcn.0044eaa0
fld dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov dword [esp + 0x84], eax
call fcn.0044eaa0
xor ebp, ebp
lea edx, [esp + 0x11c]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x114], esi
mov dword [esp + 0x118], edi
mov dword [esp + 0x28], 1
mov dword [esp + 0x74], edx
fld dword [ebp + 0x51d9ec]
fld dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fmul st(1)
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x7c]
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov edx, dword [esp + 0x80]
mov eax, ebx
mov dword [esp + 0x48], edx
push 0
fstp dword [esp + 0x3c]
mov ecx, dword [eax]
sub esp, 0x18
fmul dword [esp + 0x58]
fld dword [ebp + 0x51d9d4]
fld st(0)
fmul dword [esp + 0x94]
mov edx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], edx
lea esi, [esp + 0xdc]
mov eax, dword [eax + 8]
mov edi, esp
fstp dword [esp + 0x5c]
fld dword [esp + 0x60]
fmul st(1)
mov dword [esp + 0x40], eax
fstp dword [esp + 0x60]
fmul dword [esp + 0x64]
fld dword [esp + 0x5c]
fadd dword [esp + 0x50]
fstp dword [esp + 0xa8]
fld dword [esp + 0x60]
fadd dword [esp + 0x54]
fstp dword [esp + 0xac]
faddp st(1)
fld dword [esp + 0x38]
fadd dword [esp + 0xa8]
fstp dword [esp + 0x74]
fld dword [esp + 0x3c]
fadd dword [esp + 0xac]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xe8], ecx
mov ecx, 6
fstp dword [esp + 0x78]
fld dword [esp + 0x40]
mov edx, dword [esp + 0x78]
fadd st(1)
mov dword [esp + 0xec], edx
fstp dword [esp + 0x7c]
mov eax, dword [esp + 0x7c]
mov dword [esp + 0xf0], eax
rep movsd dword es:[edi], dword [esi]
fstp st(0)
lea ecx, [esp + 0xf4]
push ecx
call fcn.00448bf0
mov ecx, dword [eax]
sub esp, 0xc
mov edx, esp
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [edx + 4], ecx
lea ecx, [esp + 0xa4]
push ecx
mov ecx, dword [esp + 0xc0]
mov dword [edx + 8], eax
call fcn.00433a40
mov esi, dword [eax]
mov dword [esp + 0x68], esi
fild dword [esp + 0x84]
mov edi, dword [eax + 4]
mov dword [esp + 0x6c], edi
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 0x41
jne 0x4587d7
fld dword [esp + 0x68]
call fcn.0044eaa0
mov dword [esp + 0x84], eax
fild dword [esp + 0x70]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 0x41
jne 0x4587fe
fld dword [esp + 0x6c]
call fcn.0044eaa0
mov edx, dword [esp + 0x28]
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], edx
fild dword [esp + 0x30]
fcomp dword [esp + 0x68]
fnstsw ax
test ah, 1
je 0x45881a
fld dword [esp + 0x68]
call fcn.0044eaa0
mov dword [esp + 0x30], eax
fild dword [esp + 0x2c]
fcomp dword [esp + 0x6c]
fnstsw ax
test ah, 1
je 0x45883e
fld dword [esp + 0x6c]
call fcn.0044eaa0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x74]
add ebp, 4
mov dword [eax], esi
mov esi, dword [esp + 0x28]
mov dword [eax + 4], edi
inc esi
add eax, 8
cmp ebp, 0x14
mov dword [esp + 0x28], esi
mov dword [esp + 0x74], eax
jl 0x45866a
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x30]
xor ecx, ecx
test eax, eax
setle cl
dec ecx
and ecx, eax
cmp edx, 0x31f
mov edi, ecx
jl 0x45888e
mov dword [esp + 0x30], 0x31f
mov edx, dword [esp + 0x30]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x2c]
xor eax, eax
test esi, esi
setle al
dec eax
and eax, esi
cmp ecx, 0x257
jl 0x4588b4
mov dword [esp + 0x2c], 0x257
mov ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0xac]
cmp edx, edi
mov dword [ebp + 0xbc], edi
mov dword [ebp + 0xc4], edx
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xc8], ecx
jl 0x459078
lea esi, [edi + 1]
cmp esi, edx
jg 0x459078
cmp ecx, eax
jl 0x459078
lea esi, [eax + 1]
cmp esi, ecx
jg 0x459078
mov esi, dword [esp + 0x88]
cmp eax, 0x257
mov dword [esp + 0x108], esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], 6
jg 0x459092
test ecx, ecx
jl 0x459092
cmp edi, 0x31f
jg 0x459092
test edx, edx
jl 0x459092
lea edx, [esp + 0x108]
mov ecx, 0x4a09e8
call fcn.00447eb0
mov esi, dword [esp + 0x198]
sub esp, 0xc
mov edx, esi
mov edi, esp
mov eax, dword [edx]
mov dword [esp + 0x64], eax
mov eax, ebx
mov ecx, dword [edx + 4]
mov dword [esp + 0x68], ecx
mov ecx, dword [eax]
mov edx, dword [edx + 8]
mov dword [esp + 0x28], ecx
fld dword [esp + 0x28]
fsub dword [esp + 0x64]
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x2c], edx
mov eax, dword [eax + 8]
fstp dword [esp + 0x1c]
fld dword [esp + 0x2c]
fsub dword [esp + 0x68]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [edi], eax
mov dword [esp + 0xc0], eax
fstp dword [esp + 0x20]
fld dword [esp + 0x30]
fsub dword [esp + 0x6c]
mov ecx, dword [esp + 0x20]
mov dword [edi + 4], ecx
mov dword [esp + 0xc4], ecx
fstp dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc8], edx
mov dword [edi + 8], edx
call fcn.0044eb20
push ecx
fstp dword [esp]
call fcn.0044ead0
fstp dword [esp + 0x2c]
fld dword [esp + 0x10]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0xb4]
fld dword [esp + 0xb8]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0xb8]
fld dword [esp + 0xbc]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0xbc]
fld dword [ebp + 0x10]
fcomp dword [0x4919fc]
fnstsw ax
test ah, 0x41
je 0x459092
fld dword [0x4914c8]
fdiv dword [ebp + 0x10]
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x1c], ecx
mov ecx, esi
mov eax, dword [ebx + 8]
mov dword [esp + 0x20], edx
mov edx, dword [ecx]
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], edx
mov edx, dword [esi]
mov eax, dword [ecx + 4]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 4]
mov ecx, dword [ecx + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 8]
fsub dword [0x4919f8]
fstp dword [esp + 0x68]
fld dword [ebp + 0x8c]
fmul dword [0x4914c8]
fld st(0)
fmul st(1)
fmul dword [0x4919f4]
fstp dword [esp + 0x84]
fstp st(0)
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, ebx
fstp dword [esp + 0xd8]
fld dword [esp + 0x14]
fsub dword [esp + 0x20]
mov dword [esp + 0x20], eax
mov eax, dword [edx]
mov dword [esp + 0x10], eax
mov eax, dword [0x4a29e8]
mov dword [esp + 0x28], eax
fstp dword [esp + 0xdc]
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x14], ecx
mov ecx, dword [0x4a29ec]
mov edx, dword [edx + 8]
cmp eax, ecx
fstp dword [esp + 0xe0]
fld dword [esp + 0x10]
fsub dword [esp + 0x1c]
mov dword [esp + 0x18], edx
fstp dword [esp + 0xe4]
fld dword [esp + 0x14]
fsub dword [esp + 0x20]
fstp dword [esp + 0xe8]
fld dword [esp + 0x18]
fsub dword [esp + 0x24]
fstp dword [esp + 0xec]
jg 0x459092
lea eax, [eax*4 + 0x4a19e8]
mov dword [esp + 0x30], eax
cmp eax, 0x4a19e8
jl 0x45904d
cmp eax, 0x4a2344
jg 0x459092
fld dword [eax - 0x1000]
sub esp, 8
fstp qword [esp]
call fcn.0047e185
add esp, 8
call fcn.0044eaa0
mov edi, eax
xor esi, esi
cmp edi, esi
mov dword [esp + 0x74], edi
jl 0x459049
mov eax, dword [esp + 0x30]
sub esp, 8
fld dword [eax]
fstp qword [esp]
call fcn.0047e0b6
add esp, 8
call fcn.0044eaa0
cmp eax, esi
mov dword [esp + 0x88], eax
jl 0x459049
fild dword [esp + 0x28]
lea ecx, [ebx + 0x18]
mov dword [esp + 0x98], esi
mov dword [esp + 0x9c], esi
fst dword [esp + 0x64]
fadd dword [0x4914c8]
mov edx, dword [ecx]
mov dword [esp + 0x78], edx
lea edx, [ebx + 0xc]
fsubr dword [0x491458]
mov eax, dword [ecx + 4]
mov dword [esp + 0x7c], eax
mov eax, dword [edx]
fmul dword [ebx + 0x40]
fld dword [esp + 0x78]
mov ecx, dword [ecx + 8]
mov dword [esp + 0xfc], eax
fmul st(1)
mov dword [esp + 0x80], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x100], ecx
mov ecx, dword [0x4b0d48]
mov edx, dword [edx + 8]
and ecx, 0xff
fstp dword [esp + 0x78]
fld dword [esp + 0x7c]
fmul st(1)
mov dword [esp + 0x104], edx
xor eax, eax
dec ecx
fstp dword [esp + 0x7c]
fmul dword [esp + 0x80]
fld dword [esp + 0xfc]
fadd dword [esp + 0x78]
fstp dword [esp + 0xf0]
fld dword [esp + 0x100]
fadd dword [esp + 0x7c]
fstp dword [esp + 0xf4]
fld dword [esp + 0x104]
fadd st(1)
fstp dword [esp + 0xf8]
fstp st(0)
je 0x458c72
dec ecx
jne 0x458cf0
mov eax, dword [0x4b0d44]
jmp 0x458ce6
mov eax, dword [0x4b0d40]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x458cb3
mov edx, dword [0x51da28]
lea ecx, [esp + 0x98]
push ecx
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
cmp dword [esp + 0x98], esi
jge 0x458ca3
mov dword [esp + 0x98], esi
cmp dword [esp + 0x9c], esi
jge 0x458cb3
mov dword [esp + 0x9c], esi
mov ecx, dword [0x4b0d40]
call fcn.0044c6c0
cmp eax, esi
je 0x458cf0
mov ecx, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
imul ecx, dword [0x4b0d50]
imul edx, dword [0x4b0d4c]
shr ecx, 3
add edx, eax
lea eax, [edx + ecx]
mov dword [0x4b0d54], 1
fild dword [esp + 0x74]
mov ecx, dword [0x4b6090]
mov edx, dword [esp + 0xa8]
imul ecx, dword [esp + 0x28]
fadd dword [0x4914c8]
fsub dword [0x49145c]
add ecx, edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x3c], edx
fld st(0)
fmul dword [esp + 0xa0]
lea esi, [eax + ecx*2]
mov ecx, dword [esp + 0xa0]
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x58]
fld dword [esp + 0x5c]
fmul st(1)
mov dword [esp + 0x38], eax
fstp dword [esp + 0x5c]
fmul dword [esp + 0x60]
fld dword [esp + 0x58]
fadd dword [esp + 0xf0]
fstp dword [esp + 0x10]
fld dword [esp + 0x5c]
fadd dword [esp + 0xf4]
fstp dword [esp + 0x14]
fadd dword [esp + 0xf8]
fstp dword [esp + 0x18]
fld dword [esp + 0x64]
fsub dword [ebp + 0x24]
fld st(0)
fmul st(1)
fsubr dword [esp + 0x84]
fstp dword [esp + 0x74]
fstp st(0)
fld dword [ebx + 8]
fdiv dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x24], ebx
fchs
fld dword [esp + 0x10]
fmul st(1)
fld dword [esp + 0x20]
fmul st(2)
fstp dword [esp + 0x20]
fld dword [esp + 0x24]
fmul st(2)
fstp dword [esp + 0x24]
fadd dword [esp + 0xe4]
fstp dword [esp + 0xc0]
fld dword [esp + 0x20]
fadd dword [esp + 0xe8]
mov ebx, dword [esp + 0xc0]
mov dword [esp + 0x4c], ebx
fstp dword [esp + 0xc4]
fld dword [esp + 0x24]
fadd dword [esp + 0xec]
mov ebx, dword [esp + 0xc4]
mov dword [esp + 0x50], ebx
fstp dword [esp + 0xc8]
fld dword [esp + 0xa0]
fmul st(1)
mov ebx, dword [esp + 0xc8]
mov dword [esp + 0x54], ebx
fstp dword [esp + 0x34]
fld dword [esp + 0x38]
fmul st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x3c]
fmul st(1)
fstp dword [esp + 0x3c]
mov eax, dword [esp + 0x88]
mov dword [esp + 0x64], edi
cmp edi, eax
fstp st(0)
jge 0x459017
fild dword [esp + 0x64]
fsub dword [ebp + 0x20]
fld st(0)
fmul st(1)
fcomp dword [esp + 0x74]
fnstsw ax
test ah, 0x41
fstp st(0)
jne 0x458fdc
fld dword [esp + 0x54]
fmul dword [esp + 0xbc]
fld dword [esp + 0x50]
fmul dword [esp + 0xb8]
faddp st(1)
fld dword [esp + 0x4c]
fmul dword [esp + 0xb4]
faddp st(1)
fdivr dword [esp + 0x2c]
fld dword [esp + 0x4c]
fmul st(1)
fadd dword [esp + 0xd8]
fstp dword [esp + 0x8c]
fld dword [esp + 0x50]
fmul st(1)
fadd dword [esp + 0xdc]
fstp dword [esp + 0x90]
fmul dword [esp + 0x54]
fadd dword [esp + 0xe0]
fld st(0)
fmulp st(1)
fld dword [esp + 0x90]
fmul dword [esp + 0x90]
faddp st(1)
fld dword [esp + 0x8c]
fmul dword [esp + 0x8c]
faddp st(1)
fst dword [esp + 0x70]
fcomp dword [0x491434]
fnstsw ax
test ah, 1
je 0x458fdc
mov cx, word [esi]
lea edx, [esp + 0x40]
call dword [0x4b0d5c]
fld dword [esp + 0x70]
fmul dword [esp + 0x70]
fmul dword [esp + 0x70]
fsubr dword [0x491434]
fmul dword [esp + 0x68]
fmul dword [0x49143c]
fld dword [0x49143c]
fsub st(1)
fild dword [0x4957c8]
fmul st(2)
fild dword [esp + 0x40]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [0x4957cc]
mov ebx, eax
fmul st(2)
fild dword [esp + 0x44]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
fild dword [0x4957d0]
mov ebp, eax
fmul st(2)
fild dword [esp + 0x48]
fmul st(2)
faddp st(1)
fmul dword [0x491438]
call fcn.0044eaa0
mov edx, dword [esp + 0x28]
mov ecx, edi
fstp st(0)
fstp st(0)
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], eax
call fcn.0042f660
test eax, eax
jne 0x458fd5
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
sub esp, 0xc
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x54]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
call dword [0x4b0d58]
mov word [esi], ax
mov ebp, dword [esp + 0xac]
fld dword [esp + 0x34]
fadd dword [esp + 0x4c]
mov eax, dword [esp + 0x88]
add esi, 2
inc edi
cmp edi, eax
mov dword [esp + 0x64], edi
fstp dword [esp + 0x4c]
fld dword [esp + 0x38]
fadd dword [esp + 0x50]
fstp dword [esp + 0x50]
fld dword [esp + 0x3c]
fadd dword [esp + 0x54]
fstp dword [esp + 0x54]
jl 0x458e5d
mov eax, dword [0x4b0d48]
and eax, 0xff
dec eax
jne 0x459038
mov eax, dword [0x4b0d54]
test eax, eax
je 0x459038
mov ecx, dword [0x4b0d40]
call fcn.0044c780
mov ebx, dword [esp + 0xb0]
mov dword [0x4b0d54], 0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [0x4a29ec]
inc ecx
add eax, 4
cmp ecx, edx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
jle 0x458b3c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x184
ret 4
xor eax, eax
mov dword [ebp + 0xc8], eax
mov dword [ebp + 0xc4], eax
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xbc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x184
ret 4