Function at 0x40c0b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5836d8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x615000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp + 0x14]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x2c]
call fcn.0042e580
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00407e50
lea ecx, [ebp - 0x10]
call fcn.0042e580
mov byte [ebp - 4], 1
cmp dword [ebp + 8], 0
je 0x40c166
lea eax, [ebp - 0x30]
push eax
call fcn.0040b9d0
add esp, 4
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x5fbf78
mov ecx, dword [ebp - 0x44]
call fcn.004027c0
push eax
push 0x5fbf8c
push str._s__s__s__d__S__s_r_n
lea ecx, [ebp - 0x10]
push ecx
call fcn.00407930
add esp, 0x20
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x30]
call fcn.0042e5a0
jmp 0x40c1ba
lea edx, [ebp - 0x34]
push edx
call fcn.0040b9d0
add esp, 4
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str._ad_ess_
mov ecx, dword [ebp - 0x4c]
call fcn.004027c0
push eax
push 0x5fbfd8
push str._s__s__s__d__s_r_n
lea edx, [ebp - 0x10]
push edx
call fcn.00407930
add esp, 0x1c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.0042e5a0
mov ecx, 0x63a9a0
call fcn.00481ff0
push eax
lea ecx, [ebp - 0x1c]
call fcn.00431210
mov byte [ebp - 4], 4
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x10]
call fcn.00405ea0
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00405ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.004027c0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x24], eax
push 0x63806c
mov eax, dword [ebp - 0x24]
add eax, 1
push eax
call fcn.0055c0fe
add esp, 8
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
je 0x40c303
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x14]
push eax
call fcn.00562540
add esp, 0xc
push 0
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0x10]
call fcn.00405ea0
push eax
lea ecx, [ebp - 0x10]
call fcn.004027c0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
cmp dword [ebp + 0xc], 1
jne 0x40c2b0
push 2
push 0
push 0
mov eax, dword [0x63a630]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x63a630]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [0x63a630]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x40c2ea
push 2
push 0
push 0
mov eax, dword [0x63a634]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x63a634]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [0x63a634]
push edx
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
push ecx
call fcn.0054f779
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b990
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0042e5a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0042e5a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret