Function at 0x4604c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x616798]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
je 0x4604e8
push dword [ebp + 8]
call fcn.00460150
test esi, esi
jne 0x4605d6
push 0x58
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.00556fe0
lea eax, [ebp - 0x84]
mov dword [ebp - 0x210], 0x58
mov dword [ebp - 0x1f4], eax
add esp, 0xc
mov eax, dword [0x6192d0]
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x1e4], 0x5bd274
mov dword [ebp - 0x1f0], 0x80
mov dword [ebp - 0x204], str.PUMA_ANC_files
mov eax, dword [eax + 0x2a3cc]
mov dword [ebp - 0x20c], eax
lea eax, [ebp - 0x210]
push eax
mov dword [ebp - 0x1dc], 8
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameA]
test eax, eax
je 0x460b55
lea esi, [ebp - 0x84]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x460578
sub ecx, edx
test ecx, ecx
jle 0x460b55
xor eax, eax
nop dword [eax + eax]
cmp byte [ebp + eax - 0x84], 0x2e
je 0x46097a
inc eax
cmp eax, ecx
jl 0x460590
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x184]
push str._s.anc
push eax
call fcn.0044c340
lea eax, [ebp - 0x184]
push eax
lea eax, [ebp - 0x84]
push 0x5bb3c4
push eax
call fcn.0045dc60
add esp, 0x18
push 0x5bd298
push esi
call fcn.00561dfc
mov esi, eax
add esp, 8
test esi, esi
je 0x460b55
push ebx
add edi, 0x150
mov dword [ebp - 0x1b4], 0
xor ebx, ebx
mov dword [ebp - 0x1a8], 0
mov ecx, edi
mov dword [ebp - 0x1b0], ebx
mov dword [ebp - 0x1b8], edi
call fcn.0044dcb0
test eax, eax
je 0x46065a
inc dword [ebp - 0x1b4]
mov ecx, dword [eax + 0x108]
mov edx, dword [ebp - 0x1a8]
test ebx, ebx
je 0x46063c
cmp ecx, edx
jle 0x460640
mov ebx, eax
cmp ecx, edx
cmovg edx, ecx
mov ecx, edi
mov dword [ebp - 0x1a8], edx
call fcn.0044dd50
test eax, eax
jne 0x460622
mov dword [ebp - 0x1b0], ebx
push esi
push 2
lea eax, [ebp - 0x1b4]
push 1
push eax
call fcn.005822c5
push esi
push 4
lea eax, [ebp - 0x1a8]
push 1
push eax
call fcn.005822c5
mov ecx, dword [0x6192d4]
add esp, 0x20
push dword [ebx + 0x10c]
call fcn.00466910
xor ebx, ebx
cmp dword [ebp - 0x1a8], ebx
jle 0x460764
movss xmm3, dword [0x5bceec]
lea edi, [eax + 0x20]
movss xmm2, dword [0x5bd2f0]
movss xmm1, dword [edi - 4]
xorps xmm0, xmm0
mulss xmm1, xmm3
comiss xmm0, xmm1
jbe 0x4606cb
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x4606c2
movaps xmm0, xmm3
minss xmm0, xmm1
push esi
push 1
push 1
cvttss2si eax, xmm0
mov byte [ebp - 0x19d], al
lea eax, [ebp - 0x19d]
push eax
call fcn.005822c5
movss xmm1, dword [edi]
xorps xmm0, xmm0
movss xmm3, dword [0x5bceec]
add esp, 0x10
mulss xmm1, xmm3
comiss xmm0, xmm1
jbe 0x460719
movss xmm2, dword [0x5bd2f0]
addss xmm1, xmm2
comiss xmm0, xmm1
ja 0x460710
movaps xmm0, xmm3
minss xmm0, xmm1
push esi
push 1
push 1
cvttss2si eax, xmm0
mov byte [ebp - 0x19d], al
lea eax, [ebp - 0x19d]
push eax
call fcn.005822c5
movss xmm2, dword [0x5bd2f0]
inc ebx
movss xmm3, dword [0x5bceec]
add esp, 0x10
add edi, 0x24
cmp ebx, dword [ebp - 0x1a8]
jl 0x4606b1
mov edi, dword [ebp - 0x1b8]
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [0x6192d4]
push dword [eax + 0x10c]
call fcn.004669f0
mov ecx, edi
call fcn.0044dcb0
mov ebx, eax
mov dword [ebp - 0x1b0], ebx
test ebx, ebx
je 0x460b33
push dword [ebx + 0x10c]
mov ecx, dword [0x6192d4]
call fcn.00466910
push esi
push 0xc
lea ecx, [ebx + 0x11c]
mov edi, eax
push 1
push ecx
mov dword [ebp - 0x1a4], edi
call fcn.005822c5
push esi
push 0xc
lea eax, [ebx + 0x110]
push 1
push eax
call fcn.005822c5
movss xmm0, dword [0x5bd2f8]
add esp, 0x20
movss xmm7, dword [0x5bd2fc]
movaps xmm2, xmm0
movaps xmm3, xmm0
mov dword [ebp - 0x18c], 0x461c4000
movss dword [ebp - 0x188], xmm2
xor ecx, ecx
movss dword [ebp - 0x190], xmm3
movaps xmm1, xmm0
mov eax, dword [ebx + 0x108]
movaps xmm4, xmm7
movss dword [ebp - 0x18c], xmm1
movaps xmm6, xmm7
movaps xmm5, xmm7
test eax, eax
jle 0x46089d
movss dword [ebp - 0x18c], xmm1
lea eax, [edi + 8]
nop
movss xmm0, dword [eax - 8]
comiss xmm3, xmm0
jbe 0x460845
movaps xmm3, xmm0
movss dword [ebp - 0x190], xmm3
movss xmm0, dword [eax - 8]
maxss xmm0, xmm6
movaps xmm6, xmm0
movss xmm0, dword [eax - 4]
comiss xmm1, xmm0
jbe 0x460866
movaps xmm1, xmm0
movss dword [ebp - 0x18c], xmm1
movss xmm0, dword [eax - 4]
maxss xmm0, xmm5
movaps xmm5, xmm0
movss xmm0, dword [eax]
comiss xmm2, xmm0
jbe 0x460886
movaps xmm2, xmm0
movss dword [ebp - 0x188], xmm2
movss xmm0, dword [eax]
inc ecx
maxss xmm0, xmm4
add eax, 0x24
movaps xmm4, xmm0
cmp ecx, dword [ebx + 0x108]
jl 0x460830
push esi
subss xmm6, xmm3
subss xmm5, xmm1
subss xmm4, xmm2
push 0xc
lea eax, [ebp - 0x190]
push 1
push eax
movss dword [ebp - 0x19c], xmm6
movss dword [ebp - 0x198], xmm5
movss dword [ebp - 0x194], xmm4
call fcn.005822c5
push esi
push 0xc
lea eax, [ebp - 0x19c]
push 1
push eax
call fcn.005822c5
mov eax, dword [ebp - 0x1a8]
add esp, 0x20
xor ebx, ebx
test eax, eax
jle 0x4609e7
add edi, 0x10
nop dword [eax]
mov eax, dword [ebp - 0x1b0]
push esi
push 1
push 1
cmp ebx, dword [eax + 0x108]
jge 0x46099a
movss xmm0, dword [edi - 4]
mulss xmm0, dword [0x5bd2ec]
cvttss2si eax, xmm0
mov byte [ebp - 0x19d], al
lea eax, [ebp - 0x19d]
push eax
call fcn.005822c5
movss xmm0, dword [edi]
mulss xmm0, dword [0x5bd2ec]
push esi
push 1
push 1
cvttss2si eax, xmm0
mov byte [ebp - 0x19d], al
lea eax, [ebp - 0x19d]
push eax
call fcn.005822c5
movss xmm0, dword [edi + 4]
mulss xmm0, dword [0x5bd2ec]
cvttss2si eax, xmm0
mov byte [ebp - 0x19d], al
jmp 0x4609be
cmp eax, ecx
jge 0x4605a3
cmp eax, 0x80
jae 0x460b67
mov byte [ebp + eax - 0x84], 0
jmp 0x4605a3
lea eax, [ebp - 0x19d]
mov byte [ebp - 0x19d], 0
push eax
call fcn.005822c5
push esi
push 1
lea eax, [ebp - 0x19d]
push 1
push eax
call fcn.005822c5
add esp, 0x20
lea eax, [ebp - 0x19d]
push esi
push 1
push 1
push eax
call fcn.005822c5
mov eax, dword [ebp - 0x1a8]
inc ebx
add esp, 0x10
add edi, 0x24
cmp ebx, eax
jl 0x460900
xor edi, edi
test eax, eax
jle 0x460b01
mov ebx, dword [ebp - 0x1a4]
add ebx, 8
nop word [eax + eax]
mov eax, dword [ebp - 0x1b0]
push esi
push 2
push 1
cmp edi, dword [eax + 0x108]
jge 0x460ab3
movss xmm0, dword [ebx - 8]
subss xmm0, dword [ebp - 0x190]
divss xmm0, dword [ebp - 0x19c]
mulss xmm0, dword [0x5bd2f4]
cvttss2si eax, xmm0
movzx eax, ax
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.005822c5
movss xmm0, dword [ebx - 4]
subss xmm0, dword [ebp - 0x18c]
push esi
push 2
push 1
divss xmm0, dword [ebp - 0x198]
mulss xmm0, dword [0x5bd2f4]
cvttss2si eax, xmm0
movzx eax, ax
mov dword [ebp - 0x1a4], eax
lea eax, [ebp - 0x1a4]
push eax
call fcn.005822c5
movss xmm0, dword [ebx]
subss xmm0, dword [ebp - 0x188]
divss xmm0, dword [ebp - 0x194]
mulss xmm0, dword [0x5bd2f4]
cvttss2si eax, xmm0
movzx eax, ax
mov dword [ebp - 0x1a4], eax
jmp 0x460ada
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x1a4], 0
push eax
call fcn.005822c5
push esi
push 2
lea eax, [ebp - 0x1a4]
push 1
push eax
call fcn.005822c5
add esp, 0x20
lea eax, [ebp - 0x1a4]
push esi
push 2
push 1
push eax
call fcn.005822c5
inc edi
add esp, 0x10
add ebx, 0x24
cmp edi, dword [ebp - 0x1a8]
jl 0x460a00
mov eax, dword [ebp - 0x1b0]
mov ecx, dword [0x6192d4]
push dword [eax + 0x10c]
call fcn.004669f0
mov ecx, dword [ebp - 0x1b8]
call fcn.0044dd50
mov ebx, eax
mov dword [ebp - 0x1b0], eax
test ebx, ebx
jne 0x460792
push esi
push 1
lea eax, [ebp - 0x1a9]
mov byte [ebp - 0x1a9], 0
push 1
push eax
call fcn.005822c5
push esi
call fcn.00561aa9
add esp, 0x14
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005548c1
mov esp, ebp
pop ebp
ret 0xc
call fcn.00555745
int3