Function at 0x416fc3
Capabilities:
Terminate process

Disassembly:
sub esp, 0x23c
push ebx
push ebp
mov ebp, dword [esp + 0x248]
push esi
mov esi, dword [ebp]
push edi
xor edi, edi
xor ecx, ecx
cmp esi, edi
mov ebx, eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], edi
jle 0x416f5a
lea edx, [ebp + 8]
mov eax, dword [esp + 0x254]
fld dword [edx + 4]
fmul dword [eax + 8]
fld dword [edx - 4]
fmul dword [eax]
faddp st(1)
fld dword [edx]
fmul dword [eax + 4]
faddp st(1)
fsub dword [esp + 0x258]
fst dword [0x882480]
fstp dword [esp + ecx*4 + 0x13c]
fld dword [0x882480]
fcomp dword [esp + 0x25c]
fnstsw ax
test ah, 0x41
jne 0x416f1a
mov dword [esp + ecx*4 + 0x2c], edi
jmp 0x416f42
fld dword [esp + 0x25c]
fchs
fcomp dword [0x882480]
fnstsw ax
test ah, 0x41
jne 0x416f3a
mov dword [esp + ecx*4 + 0x2c], 1
jmp 0x416f42
mov dword [esp + ecx*4 + 0x2c], 2
mov eax, dword [esp + ecx*4 + 0x2c]
inc dword [esp + eax*4 + 0x10]
lea eax, [esp + eax*4 + 0x10]
inc ecx
add edx, 0xc
cmp ecx, esi
jl 0x416ed1
mov eax, dword [esp + 0x2c]
fld dword [esp + 0x13c]
mov edx, dword [0x14c6770]
fstp dword [esp + ecx*4 + 0x13c]
mov dword [esp + ecx*4 + 0x2c], eax
mov ecx, dword [esp + 0x260]
cmp dword [esp + 0x10], edi
mov dword [ecx], edi
mov ecx, dword [0x14c676c]
mov dword [ebx], edi
jne 0x417024
mov eax, dword [ebp]
inc ecx
cmp ecx, edx
mov dword [0x14c676c], ecx
jle 0x416fa5
mov dword [0x14c6770], ecx
lea edi, [eax + eax*2]
lea edi, [edi*4 + 4]
push edi
call fcn.0051b1e7
mov esi, eax
add esp, 4
test esi, esi
jne 0x416fef
call fcn.00451300
push 0x10
push str.WIN_OUT_OF_MEM_TITLE
call fcn.00450c30
add esp, 4
push eax
push str.WIN_OUT_OF_MEM_BODY
call fcn.00450c30
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.0051c8f0
push edi
push 0
push esi
call fcn.0042b1c0
mov eax, dword [ebp]
lea edx, [eax + eax*2]
lea eax, [edx*4 + 4]
push eax
push ebp
push esi
call fcn.0042b090
mov ecx, dword [esp + 0x278]
add esp, 0x18
pop edi
mov dword [ecx], esi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret
cmp dword [esp + 0x14], edi
mov eax, dword [ebp]
jne 0x417075
inc ecx
cmp ecx, edx
mov dword [0x14c676c], ecx
jle 0x41703e
mov dword [0x14c6770], ecx
lea edx, [eax + eax*2]
lea eax, [edx*4 + 4]
push eax
call fcn.0042a470
mov esi, eax
mov eax, dword [ebp]
lea ecx, [eax + eax*2]
lea edx, [ecx*4 + 4]
push edx
push ebp
push esi
call fcn.0042b090
add esp, 0x10
pop edi
mov dword [ebx], esi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret
add eax, 4
inc ecx
cmp ecx, edx
mov dword [esp + 0x24], eax
mov dword [0x14c676c], ecx
jle 0x41708d
mov dword [0x14c6770], ecx
lea eax, [eax + eax*2]
lea esi, [eax*4 + 4]
push esi
call fcn.0042a470
mov ecx, dword [0x14c6770]
mov edi, eax
mov eax, dword [0x14c676c]
add esp, 4
inc eax
cmp eax, ecx
mov dword [ebx], edi
mov dword [0x14c676c], eax
jle 0x4170be
mov dword [0x14c6770], eax
push esi
call fcn.0042a470
mov esi, eax
mov eax, dword [esp + 0x264]
mov dword [eax], esi
mov eax, dword [ebp]
xor ebx, ebx
add esp, 4
test eax, eax
mov dword [esp + 0x1c], ebx
jle 0x4172c3
mov edx, dword [esp + 0x254]
mov eax, 0xfffffff8
sub eax, edx
lea ecx, [ebp + 0xc]
mov dword [esp + 0x28], eax
jmp 0x417100
mov eax, dword [esp + ebx*4 + 0x2c]
cmp eax, 2
jne 0x417156
mov eax, dword [edi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 8]
mov dword [edi + edx*4 + 4], eax
mov eax, dword [edi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 4]
mov dword [edi + edx*4 + 8], eax
mov eax, dword [edi]
inc eax
lea edx, [eax + eax*2]
mov eax, dword [ecx]
mov dword [edi + edx*4], eax
inc dword [edi]
mov eax, dword [esi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 8]
mov dword [esi + edx*4 + 4], eax
mov eax, dword [esi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 4]
mov dword [esi + edx*4 + 8], eax
mov eax, dword [esi]
inc eax
lea edx, [eax + eax*2]
mov eax, dword [ecx]
mov dword [esi + edx*4], eax
jmp 0x4172ae
test eax, eax
jne 0x41717f
mov eax, dword [edi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 8]
mov dword [edi + edx*4 + 4], eax
mov eax, dword [edi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 4]
mov dword [edi + edx*4 + 8], eax
mov eax, dword [edi]
inc eax
lea edx, [eax + eax*2]
mov eax, dword [ecx]
mov dword [edi + edx*4], eax
inc dword [edi]
cmp dword [esp + ebx*4 + 0x2c], 1
jne 0x4171ab
mov eax, dword [esi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 8]
mov dword [esi + edx*4 + 4], eax
mov eax, dword [esi]
lea edx, [eax + eax*2]
mov eax, dword [ecx - 4]
mov dword [esi + edx*4 + 8], eax
mov eax, dword [esi]
inc eax
lea edx, [eax + eax*2]
mov eax, dword [ecx]
mov dword [esi + edx*4], eax
inc dword [esi]
mov eax, dword [esp + ebx*4 + 0x30]
cmp eax, 2
je 0x4172b0
cmp eax, dword [esp + ebx*4 + 0x2c]
je 0x4172b0
fld dword [esp + ebx*4 + 0x13c]
lea eax, [ebx + 1]
fsub dword [esp + ebx*4 + 0x140]
cdq
idiv dword [ebp]
lea eax, [esp + ebx*4 + 0x13c]
mov dword [esp + 0x20], 3
fdivr dword [eax]
mov eax, dword [esp + 0x254]
lea edx, [edx + edx*2]
lea edx, [ebp + edx*4 + 4]
mov ebx, edx
lea edx, [esp + 0x10]
sub ebx, eax
sub edx, eax
fstp dword [0x882480]
cmp dword [eax], 0x3f800000
jne 0x417217
fld dword [esp + 0x258]
jmp 0x41723f
cmp dword [eax], 0xbf800000
jne 0x41722a
fld dword [esp + 0x258]
fchs
jmp 0x41723f
mov ebp, dword [esp + 0x28]
fld dword [ebx + eax]
add ebp, ecx
fsub dword [eax + ebp]
fmul dword [0x882480]
fadd dword [eax + ebp]
mov ebp, dword [esp + 0x20]
fstp dword [edx + eax]
add eax, 4
dec ebp
mov dword [esp + 0x20], ebp
jne 0x417206
mov eax, dword [edi]
fld dword [esp + 0x10]
lea eax, [eax + eax*2]
fstp dword [edi + eax*4 + 4]
mov eax, dword [edi]
fld dword [esp + 0x14]
lea edx, [eax + eax*2]
fstp dword [edi + edx*4 + 8]
mov eax, dword [edi]
fld dword [esp + 0x18]
inc eax
mov ebp, dword [esp + 0x250]
lea eax, [eax + eax*2]
fstp dword [edi + eax*4]
mov ebx, dword [edi]
fld dword [esp + 0x10]
inc ebx
mov dword [edi], ebx
mov eax, dword [esi]
mov ebx, dword [esp + 0x1c]
lea edx, [eax + eax*2]
fstp dword [esi + edx*4 + 4]
mov eax, dword [esi]
fld dword [esp + 0x14]
lea eax, [eax + eax*2]
fstp dword [esi + eax*4 + 8]
mov eax, dword [esi]
fld dword [esp + 0x18]
inc eax
lea edx, [eax + eax*2]
fstp dword [esi + edx*4]
inc dword [esi]
mov eax, dword [ebp]
inc ebx
add ecx, 0xc
cmp ebx, eax
mov dword [esp + 0x1c], ebx
jl 0x417100
mov eax, dword [esp + 0x24]
cmp dword [edi], eax
jg 0x4172cf
cmp dword [esi], eax
jle 0x4172de
push 0x557974
push 1
call fcn.0042e650
add esp, 8
cmp dword [edi], 0x40
jg 0x4172e8
cmp dword [esi], 0x40
jle 0x4172f7
push 0x557950
push 1
call fcn.0042e650
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x23c
ret