Function at 0x40ce40
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov ebx, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], 0x40c680
mov ecx, dword [0x427174]
add ebx, 0x20
mov dword [esp + 8], ecx
mov dword [esp], ebx
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1f
mov dword [esp + 4], 1
mov dword [esp], 0x40c6e0
call sub.msvcrt.dll_fwrite
mov dword [esp + 4], 0x40c700
mov edx, dword [0x42717c]
mov dword [esp], ebx
mov dword [esp + 8], edx
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], 0x40c72c
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], 0x40c760
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x22
mov dword [esp + 4], 1
mov dword [esp], 0x40c7a0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1f
mov dword [esp + 4], 1
mov dword [esp], 0x40c7e0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x27
mov dword [esp + 4], 1
mov dword [esp], 0x40c800
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], 0x40c840
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], 0x40c86e
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2b
mov dword [esp + 4], 1
mov dword [esp], 0x40c8a0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x32
mov dword [esp + 4], 1
mov dword [esp], 0x40c8e0
call sub.msvcrt.dll_fwrite
mov edx, dword [0x42aa10]
test edx, edx
jne 0x40d00c
mov edx, dword [0x42bca0]
test edx, edx
je 0x40d320
mov eax, 0x408d62
mov dword [esp + 0xc], eax
mov edx, dword [0x42ab90]
mov ecx, dword [0x427178]
mov dword [esp], 0x429160
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_sprintf
mov eax, 0x429160
mov dword [0x42913c], eax
mov dword [esp], ebx
mov edx, dword [0x42913c]
mov dword [esp + 4], 0x40c920
mov dword [esp + 8], edx
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2e
mov dword [esp + 4], 1
mov dword [esp], 0x40c960
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], 0x40c9a0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2d
mov dword [esp + 4], 1
mov dword [esp], 0x40c9c0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x31
mov dword [esp + 4], 1
mov dword [esp], 0x40ca00
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x33
mov dword [esp + 4], 1
mov dword [esp], 0x40ca40
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], 0x40ca80
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
mov ecx, dword [0x427174]
mov dword [esp + 4], 0x40cac0
mov dword [esp + 8], ecx
call sub.msvcrt.dll_fprintf
mov dword [esp], ebx
mov edx, dword [0x427174]
mov dword [esp + 4], 0x40cae2
mov dword [esp + 8], edx
call sub.msvcrt.dll_fprintf
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], 0x40cafa
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], 0x40cb17
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x20
mov dword [esp + 4], 1
mov dword [esp], 0x40cb40
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1f
mov dword [esp + 4], 1
mov dword [esp], 0x40cb80
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3c
mov dword [esp + 4], 1
mov dword [esp], 0x40cba0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3b
mov dword [esp + 4], 1
mov dword [esp], 0x40cbe0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x25
mov dword [esp + 4], 1
mov dword [esp], 0x40cc20
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3d
mov dword [esp + 4], 1
mov dword [esp], 0x40cc60
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x3d
mov dword [esp + 4], 1
mov dword [esp], 0x40cca0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2a
mov dword [esp + 4], 1
mov dword [esp], 0x40cce0
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x35
mov dword [esp + 4], 1
mov dword [esp], 0x40cd20
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], 0x40cd56
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x2c
mov dword [esp + 4], 1
mov dword [esp], 0x40cd80
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], 0x40cdad
call sub.msvcrt.dll_fwrite
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x26
mov dword [esp + 4], 1
mov dword [esp], 0x40cde0
call sub.msvcrt.dll_fwrite
mov dword [esp], ebx
mov ecx, dword [0x427174]
mov dword [esp + 4], 0x40ce20
mov dword [esp + 8], ecx
call sub.msvcrt.dll_fprintf
add esp, 0x18
pop ebx
ret
mov eax, 0x408e73
jmp 0x40cfde