Function at 0x41c0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
sub esp, 0x68
lea eax, [esp + 0x60]
mov dword [esp + 0x34], sym.unk_79
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x1c]
mov dword [esp], eax
mov dword [esp + 0x38], 0x4b46a4
mov dword [esp + 0x40], 0x41c2c4
mov dword [esp + 0x44], esp
call fcn.0040eb60
cmp byte [0x4b8b3c], 0
jne 0x41c28a
mov byte [0x4b8b3c], 1
call fcn.004b3230
test eax, eax
je 0x41c248
mov ecx, dword [eax + 4]
xor eax, eax
cmp byte [ecx], 0x2a
mov dword [esp + 8], 0
sete al
mov dword [esp + 4], 0
add ecx, eax
lea eax, [esp + 0x5c]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], 0xffffffff
call fcn.0040d0b0
mov edx, dword [fcn.00417b80]
mov dword [esp], 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
call edx
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_after_throwing_an_instance_of_
call sub.msvcrt.dll_fwrite
mov edx, dword [esp + 0x5c]
mov dword [esp], 2
test edx, edx
je 0x41c230
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x4b91cd
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x41c223
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.00418218
mov dword [esp + 0x20], 1
call sym.unk_92
mov edx, dword [esp + 0x10]
call edx
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
jmp 0x41c1da
mov dword [esp], 2
mov dword [esp + 0x20], 0xffffffff
call dword [0x4b70e0]
mov dword [esp + 8], 0x2d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_without_an_active_exception_n
call sub.msvcrt.dll_fwrite
mov dword [esp + 0x20], 0xffffffff
call sub.msvcrt.dll_abort
mov dword [esp], 2
mov dword [esp + 0x20], 0xffffffff
call dword [0x4b70e0]
mov dword [esp + 8], 0x1d
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.terminate_called_recursively_n
call sub.msvcrt.dll_fwrite
call sub.msvcrt.dll_abort
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x41c375
mov eax, dword [esp + 0x14]
sub edx, 1
mov dword [esp], eax
jne 0x41c393
call sym.unk_67
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov dword [esp], 2
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], 2
call eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str.__what__:
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_fputs
mov dword [esp], 2
mov eax, dword [esp + 0x10]
call eax
mov dword [esp + 4], eax
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
call sym.unk_68
jmp 0x41c27d
sub eax, 1
jne 0x41c3aa
call sym.unk_68
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
mov dword [esp], eax
call fcn.0040eed0
call sym.unk_67
mov dword [esp + 0x20], 0xffffffff
call sym.unk_68
jmp 0x41c27d
ud2