Function at 0x426f60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bab0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x47f06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
sub esp, 8
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], 0
call fcn.00421e10
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 2
push eax
push ecx
mov ecx, esi
call fcn.0041fc60
add esp, 4
mov ecx, edi
push eax
call fcn.00422410
test al, al
je 0x427118
lea eax, [ebp - 0x48]
push eax
push str.fdata
lea ecx, [ebp - 0x70]
call fcn.004221c0
test al, al
je 0x427118
lea eax, [ebp - 0x30]
push eax
push str.mtime
lea ecx, [ebp - 0x70]
call fcn.00421f40
test al, al
je 0x427118
lea eax, [ebp - 0x28]
push eax
push str.fsize
lea ecx, [ebp - 0x70]
call fcn.00421f40
test al, al
je 0x427118
mov ebx, dword [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ebx
call fcn.0040dac0
test eax, eax
je 0x427118
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
push eax
call fcn.004271d0
add esp, 4
test eax, eax
je 0x427118
cmp ebx, dword [ebp - 0x34]
jne 0x427118
cmp dword [ebp - 0x24], 0
jne 0x427118
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.004269a0
push ecx
push 0x80
push 2
push ecx
push 0
mov edx, 0x40000000
mov ecx, edi
call fcn.00420640
mov esi, eax
add esp, 0x14
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 3
cmp esi, 0xffffffff
jne 0x427152
push ecx
mov ecx, edi
call fcn.004268c0
mov eax, dword [ebp + 0xc]
add esp, 4
test eax, eax
je 0x4270d3
mov dword [eax], 1
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call fcn.004212b0
mov esi, dword [ebp - 0x14]
cmp esi, 0xffffffff
jne 0x427152
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.dst__s__open_err__x__n
call fcn.0041cfd0
add esp, 0xc
mov dword [ebp - 0x10], 0
push dword [ebp - 0x3c]
call fcn.0044293e
add esp, 4
push dword [ebp - 0x48]
call fcn.0044293e
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00421e80
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
push dword [ebp - 0x3c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4271bb
cmp ebx, dword [ebp - 0x18]
jne 0x4271bb
cmp dword [ebp - 0x24], 0
jne 0x4271bb
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
add ecx, 0xb6109100
push 0
push 0x989680
adc eax, 2
push eax
push ecx
call fcn.0043ca00
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x1c], edx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], edx
push eax
push esi
mov dword [ebp - 0x2c], edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov dword [ebp - 0x10], 1
test esi, esi
je 0x42711f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42711f