Function at 0x60a1a8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x4654
call fcn.00508210
mov eax, dword [0x710544]
xor eax, esp
mov dword [esp + 0x4650], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], edi
cmp dword [edi + 4], 0xffffffff
je 0x60a1df
mov ecx, dword [edi]
call fcn.0060aaa4
mov eax, dword [edi]
or dword [edi + 4], 0xffffffff
mov esi, dword [ebp + 8]
cmp esi, dword [eax + 4]
jl 0x60a1f7
mov eax, 0x10000
jmp 0x60a436
cmp dword [eax + 0x10], esi
jle 0x60a211
mov ecx, eax
call fcn.0060b048
jmp 0x60a20c
mov ecx, dword [edi]
call fcn.0060aff1
mov eax, dword [edi]
cmp dword [eax + 0x10], esi
jl 0x60a205
lea eax, [esp + 0x18]
mov ecx, edi
push eax
push esi
call fcn.0060a51e
test byte [esp + 0x224], 0x10
jne 0x60a434
lea eax, [edi + 0x240]
mov esi, 0x104
push eax
lea eax, [esp + 0x24c]
push esi
push eax
call fcn.0051a02d
add esp, 0xc
lea eax, [esp + 0x248]
push ebx
push esi
push eax
call fcn.005205fb
mov ax, word [esp + 0x254]
lea esi, [esp + 0x254]
add esp, 0xc
xor ebx, ebx
mov ecx, esi
test ax, ax
je 0x60a374
push 0x2f
pop edi
push 0x5c
movzx edx, ax
pop ebx
cmp dx, di
je 0x60a28c
cmp dx, bx
jne 0x60a28f
lea esi, [ecx + 2]
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x60a282
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x248]
push 0
pop ebx
cmp esi, eax
je 0x60a374
push eax
lea eax, [esp + 0x454]
push 0x104
push eax
call fcn.0051a02d
lea eax, [esp + 0x254]
add esp, 0xc
sub esi, eax
sar esi, 1
lea esi, [esi*2 - 2]
cmp esi, 0x208
jae 0x60a44d
xor eax, eax
xor ecx, ecx
mov word [esp + esi + 0x450], ax
inc ecx
mov ax, word [esp + 0x450]
test ax, ax
je 0x60a31f
push 0x2f
pop edx
cmp ax, dx
je 0x60a31f
push 0x5c
pop edx
cmp ax, dx
je 0x60a31f
cmp word [esp + 0x452], 0x3a
mov byte [esp + 0x13], bl
jne 0x60a323
mov byte [esp + 0x13], cl
lea eax, [esp + 0x450]
push 0x6c7db8
push eax
call fcn.0050a39c
mov esi, eax
lea eax, [esp + 0x458]
push 0x6c7db0
push eax
call fcn.0050a39c
movzx ecx, byte [esp + 0x23]
add esp, 0x10
test eax, eax
setne dl
test esi, esi
push 1
pop eax
cmovne ecx, eax
or dl, cl
jne 0x60a374
lea edx, [esp + 0x450]
lea ecx, [edi + 0x240]
call fcn.0060a453
push ebx
push dword [esp + 0x228]
lea eax, [esp + 0x250]
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x60a3a4
mov eax, 0x200
jmp 0x60a436
mov edx, dword [edi + 0x23c]
mov ecx, dword [edi]
call fcn.0060acfb
mov ecx, dword [edi]
lea edx, [esp + 0x658]
push 0x4000
call fcn.0060aafe
pop ecx
cmp eax, 0xffffff96
je 0x60a419
test eax, eax
js 0x60a412
je 0x60a3f1
push ebx
lea ecx, [esp + 0x18]
push ecx
push eax
lea eax, [esp + 0x664]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x60a3b1
mov ebx, 0x400
jmp 0x60a41e
lea eax, [esp + 0x238]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
jmp 0x60a41e
mov ebx, 0x5000000
jmp 0x60a41e
mov ebx, 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
call fcn.0060aaa4
test ebx, ebx
je 0x60a434
mov eax, ebx
jmp 0x60a436
xor eax, eax
mov ecx, dword [esp + 0x465c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00507778
mov esp, ebp
pop ebp
ret 0x10
call fcn.00507b37
int3