Function at 0x42ca80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bb3d
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x5d2640]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0xac]
add eax, 0x3b4
push eax
lea ecx, [ebp - 0x28]
call fcn.00404350
mov dword [ebp - 4], 0
push str._NoQuestion.bin
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x70]
push edx
call fcn.004146d0
add esp, 0xc
mov byte [ebp - 4], 1
push str._StealthMode.bin
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.004146d0
add esp, 0xc
mov byte [ebp - 4], 2
push str._NoHook.bin
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.004146d0
add esp, 0xc
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x14], 7
jbe 0x42cb41
mov dword [ebp - 0x84], 1
jmp 0x42cb4b
mov dword [ebp - 0x84], 0
mov cl, byte [ebp - 0x84]
mov byte [ebp - 0x71], cl
movzx edx, byte [ebp - 0x71]
test edx, edx
je 0x42cb73
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov edx, dword [ebp - 0xb0]
mov dword [ebp - 0x88], edx
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov edx, dword [ebp - 0xb8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0x58]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x7c]
cmp dword [edx + 0x14], 7
jbe 0x42cbd4
mov dword [ebp - 0x8c], 1
jmp 0x42cbde
mov dword [ebp - 0x8c], 0
mov al, byte [ebp - 0x8c]
mov byte [ebp - 0x72], al
movzx ecx, byte [ebp - 0x72]
test ecx, ecx
je 0x42cc06
mov edx, dword [ebp - 0x7c]
mov eax, dword [edx]
mov dword [ebp - 0xbc], eax
mov ecx, dword [ebp - 0xbc]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x90]
mov dword [ebp - 0xc0], edx
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0xc4], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp - 0xc4]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa4], eax
lea edx, [ebp - 0x40]
mov dword [ebp - 0x80], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x80]
cmp dword [ecx + 0x14], 7
jbe 0x42cc67
mov dword [ebp - 0x94], 1
jmp 0x42cc71
mov dword [ebp - 0x94], 0
mov dl, byte [ebp - 0x94]
mov byte [ebp - 0x73], dl
movzx eax, byte [ebp - 0x73]
test eax, eax
je 0x42cc99
mov ecx, dword [ebp - 0x80]
mov edx, dword [ecx]
mov dword [ebp - 0xc8], edx
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0xcc], ecx
mov edx, dword [ebp - 0xcc]
mov dword [ebp - 0xd0], edx
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov eax, dword [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa8], eax
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 1
push 0x57b688
mov edx, dword [ebp - 0xa0]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 0x9c]
push eax
push 1
push 0x57b68c
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x9c]
push edx
push 1
push 0x57b690
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.00405e70
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00405e70
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x70]
call fcn.00405e70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00405e70
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050f496
mov esp, ebp
pop ebp
ret