Function at 0x402700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x422988
push 0x40f910
mov eax, dword fs:[0]
push eax
add esp, 0xffffff44
mov eax, dword [0x425090]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x2c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040dd79
add esp, 8
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
shl eax, 1
push eax
call fcn.0040dd95
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x402786
mov dword [ebp - 4], 0xfffffffe
jmp 0x40297c
mov ecx, dword [ebp - 0x28]
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.0040e5e0
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0040dd5c
add esp, 0x10
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
push 0x4216bc
mov ecx, 0x426f5c
call fcn.00407ca0
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0040cd5e
add esp, 0xc
cmp dword [ebp - 0x24], 0
je 0x402951
lea edx, [ebp - 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x9a]
push eax
movzx ecx, word [ebp - 0x9c]
push ecx
movzx edx, word [ebp - 0x9e]
push edx
movzx eax, word [ebp - 0xa0]
push eax
movzx ecx, word [ebp - 0xa2]
push ecx
movzx edx, word [ebp - 0xa6]
push edx
push str._02d__02d__02d:_02d:_02d._03d
lea eax, [ebp - 0x98]
push eax
call fcn.0040a7a0
add esp, 0x20
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
add edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb0]
mov cl, byte [eax]
mov byte [ebp - 0xb5], cl
add dword [ebp - 0xb0], 1
cmp byte [ebp - 0xb5], 0
jne 0x402850
mov edx, dword [ebp - 0xb0]
sub edx, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xbc]
push ecx
push 1
lea edx, [ebp - 0x98]
push edx
call fcn.0040cefc
add esp, 0x10
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00401930
add esp, 4
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xc0], ecx
mov edx, dword [ebp - 0xc0]
add edx, 1
mov dword [ebp - 0xc4], edx
mov eax, dword [ebp - 0xc0]
mov cl, byte [eax]
mov byte [ebp - 0xc5], cl
add dword [ebp - 0xc0], 1
cmp byte [ebp - 0xc5], 0
jne 0x4028c9
mov edx, dword [ebp - 0xc0]
sub edx, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0xcc]
push ecx
push 1
mov edx, dword [ebp - 0xac]
push edx
call fcn.0040cefc
add esp, 0x10
mov eax, dword [ebp - 0xac]
push eax
call fcn.0040a7d0
add esp, 4
mov ecx, dword [ebp - 0x24]
push ecx
push 2
push 1
push 0x4216e4
call fcn.0040cefc
add esp, 0x10
mov edx, dword [ebp - 0x24]
push edx
call fcn.0040d100
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
call fcn.0040d1c9
add esp, 4
mov dword [ebp - 4], 0xfffffffe
jmp 0x40296a
cmp dword [ebp - 0x1c], 0
je 0x40297c
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.0040da16
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0040cbaa
mov esp, ebp
pop ebp
ret