Function at 0x4efd00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52df68
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x40], 0
mov eax, dword [ebp - 0x6c]
add eax, 0x24
push eax
lea ecx, [ebp - 0x3c]
call fcn.004e3bf0
mov dword [ebp - 4], 0
push 0x1000
lea ecx, [ebp - 0x34]
call fcn.004f3bf0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004f40c0
lea ecx, [ebp - 0x18]
call fcn.004457d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004457d0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00425c60
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 4
call fcn.004389b0
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
jmp 0x4efda2
lea ecx, [ebp - 0x14]
call fcn.0046b120
lea ecx, [ebp - 0x64]
push ecx
mov ecx, dword [ebp - 0x6c]
add ecx, 4
call fcn.0046b0d0
push eax
lea ecx, [ebp - 0x14]
call fcn.00416b70
movzx edx, al
test edx, edx
je 0x4efe29
lea ecx, [ebp - 0x14]
call fcn.004f1cd0
add eax, 4
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
call fcn.004ef950
test eax, eax
je 0x4efe24
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004f1cd0
mov edx, dword [eax]
push edx
push str.__s__r_n_s
lea eax, [ebp - 0x18]
push eax
call fcn.00428670
add esp, 0x10
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
call fcn.0050091c
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
lea ecx, [ebp - 0x34]
call fcn.004f4010
jmp 0x4efd9a
push 2
push 0x542cac
lea ecx, [ebp - 0x34]
call fcn.004f4010
mov dword [ebp - 0x38], 0x80004005
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xffffffff
jne 0x4efe69
jmp 0x4eff04
mov dword [ebp - 0x50], 0
mov edx, 0xfeff
mov word [ebp - 0x54], dx
push 0
lea eax, [ebp - 0x50]
push eax
push 2
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4efea6
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0xffffffff
jmp 0x4eff04
push 0
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x34]
call fcn.00470410
push eax
call fcn.0050091c
add esp, 4
shl eax, 1
push eax
lea ecx, [ebp - 0x34]
call fcn.00470410
push eax
mov edx, dword [ebp - 0x4c]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4efede
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x4c], 0xffffffff
je 0x4efef5
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], 0xffffffff
mov dword [ebp - 0x38], 0
xor ecx, ecx
jne 0x4efe3f
lea ecx, [ebp - 0x34]
call fcn.004f4150
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x44]
call fcn.004458f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.004f3d50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004e3c30
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4