Function at 0x4179a5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6592e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push esi
push edi
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x34], 9
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x5a0]
add ecx, 0x24
call fcn.0040274a
mov dword [ebp - 0x14], eax
push 1
mov edx, dword [ebp - 0x48]
mov ecx, dword [edx + 0x5a0]
add ecx, 0x24
call fcn.0040274a
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov esi, dword [eax + 4]
xor edi, edi
mov ecx, dword [ebp - 0x30]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 0x20
call fcn.005fcb60
or esi, eax
or edi, edx
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], edi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x5a0]
add ecx, 0x24
call fcn.0040241f
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x10], eax
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
push 0
mov ecx, dword [ebp - 0x48]
add ecx, 0x60
call fcn.00622996
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x2c], eax
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 0
jmp 0x417aab
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
cmp dword [ebp - 0x20], 0xf
jge 0x417ad6
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x417ad4
jmp 0x417ad6
jmp 0x417aa2
cmp dword [ebp - 0x20], 0xf
jne 0x417b33
cmp dword [ebp - 0x18], 0
jg 0x417b33
push 0x30
push 0x7570a0
push 0x7570a8
mov ecx, dword [ebp - 0x48]
add ecx, 0x60
push ecx
lea edx, [ebp - 0x44]
push edx
call fcn.006227fb
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
call fcn.00401d90
push eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00622566
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x28]
xor eax, eax
mov esi, dword [ecx + 0x80]
add esi, edx
mov ecx, dword [ecx + 0x84]
adc ecx, eax
mov edx, dword [ebp - 0x48]
mov dword [edx + 0x80], esi
mov dword [edx + 0x84], ecx
mov ecx, dword [ebp - 0x48]
call fcn.00417dbc
mov eax, dword [ebp - 0x48]
xor ecx, ecx
mov cl, byte [eax + 0x5c]
test ecx, ecx
je 0x417b82
mov ecx, dword [ebp - 0x48]
call fcn.00417d8d
jmp 0x417bd1
mov byte [ebp - 0x40], 7
mov edx, dword [ebp - 0x24]
add edx, dword [ebp - 0x28]
mov dword [ebp - 0x24], edx
push 4
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3f]
push ecx
call fcn.005fb2d0
add esp, 0xc
push 4
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x3b]
push eax
call fcn.005fb2d0
add esp, 0xc
push 9
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x5a0]
push eax
mov ecx, dword [ebp - 0x48]
mov ecx, dword [ecx + 0x5a4]
call fcn.0041c41b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret