Function at 0x413860
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42dc84
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x440d84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
push 0x435244
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 5
call dword [sym.imp.mfc110u.dll_Ordinal_286]
mov dword [ebp - 0x78], eax
push 0x435244
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc110u.dll_Ordinal_286]
mov ebx, eax
push 0x435244
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc110u.dll_Ordinal_286]
mov edi, eax
push 0x435244
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc110u.dll_Ordinal_286]
mov esi, eax
push 0x435244
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 9
call dword [sym.imp.mfc110u.dll_Ordinal_286]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 0xa
call fcn.00412990
lea ecx, [ebp + 0xc]
push ecx
push eax
lea eax, [ebp - 0x60]
push eax
mov byte [ebp - 4], 0xb
call fcn.00412990
push esi
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 0xc
call fcn.00412990
lea ecx, [ebp + 0x10]
push ecx
push eax
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xd
call fcn.00412990
push edi
push eax
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 0xe
call fcn.00412990
lea ecx, [ebp + 0x14]
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 0xf
call fcn.00412990
add esp, 0x48
push ebx
push eax
lea eax, [ebp - 0x70]
push eax
mov byte [ebp - 4], 0x10
call fcn.00412990
lea ecx, [ebp + 0x18]
push ecx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 0x11
call fcn.00412990
push dword [ebp - 0x78]
mov byte [ebp - 4], 0x12
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00412990
lea ecx, [ebp + 0x1c]
push ecx
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 0x13
call fcn.00412990
add esp, 0x30
lea ecx, [ebp - 0x7c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x70]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x50]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x68]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x58]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x60]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x54]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x5c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x64]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp - 0x6c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
push 0x24
push dword [ebp - 0x38]
xorps xmm0, xmm0
lea eax, [ebp - 0x34]
push eax
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x2c], xmm0
movq qword [ebp - 0x24], xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
call dword [sym.imp.MSVCR110.dll_wcstombs]
mov eax, dword [ebp - 0x74]
add eax, 0x984
push 0x431d2c
push eax
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.MSVCR110.dll__wfopen_s]
add esp, 0x18
test eax, eax
jne 0x413a97
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x413a97
push eax
push 0x23
lea eax, [ebp - 0x34]
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fwrite]
push dword [ebp - 0x3c]
call dword [sym.imp.MSVCR110.dll_fclose]
add esp, 0x14
mov esi, 1
jmp 0x413a99
xor esi, esi
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 0xc]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 0x10]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 0x14]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 0x18]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
lea ecx, [ebp + 0x1c]
call dword [sym.imp.mfc110u.dll_Ordinal_1039]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042b9f8
mov esp, ebp
pop ebp
ret 0x18