Function at 0x42fb20
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47147d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], ecx
sub eax, dword [ecx]
jne 0x42fb5d
mov eax, 2
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42fb80
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x34]
call int.00417b00
push 0x476904
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0041e490
add esp, 0xc
mov ecx, dword [ebp - 0x20]
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x42fbf3
mov eax, dword [ebp - 0x34]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x42fbe9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fdfa
mov eax, edx
push ecx
push eax
call fcn.004367a5
add esp, 8
xor eax, eax
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
lea eax, [ebp - 0xbc]
push edi
push eax
mov dword [ebp - 0x20], 7
call fcn.0041f210
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42fc1f
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0xbc]
call fcn.00415b50
push 0
push 0x80000080
push 2
push 0
push 0
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42fc84
test esi, esi
je 0x42fc84
mov eax, dword [ebp - 0x1c]
lea edx, [ebp + 8]
push 0
push edx
mov dword [ebp + 8], 0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x42fca5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 6
lea ecx, [ebp - 0x50]
call fcn.00415b50
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call fcn.0042db40
add esp, 0xc
test al, al
jne 0x42fce6
mov esi, 2
jmp 0x42fdac
cmp dword [ebp - 0x3c], 8
lea esi, [ebp - 0x50]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x78]
cmovae esi, dword [ebp - 0x50]
xorps xmm0, xmm0
movlpd qword [ebp - 0x78], xmm0
sub edx, ecx
movlpd qword [ebp - 0x70], xmm0
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movups xmm0, xmmword [ebp - 0xa4]
mov dword [ebp - 0x8c], 0x202
mov dword [ebp - 0x58], 0
mov byte [ebp - 0x54], 0
mov dword [ebp - 0x94], 0x4d524355
mov dword [ebp - 0x90], 0x41
movups xmmword [ebp - 0x88], xmm0
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42fd47
push 0
push 0x80000080
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42fda7
test esi, esi
je 0x42fda7
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x41
lea eax, [ebp - 0x94]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
je 0x42fda5
call eax
xor esi, esi
jmp 0x42fdac
call eax
mov esi, 6
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x42fc89
mov ecx, dword [ebp - 0x10]
sub ecx, eax
cmp ecx, 0x1000
jb 0x42fdd6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42fdfa
mov eax, edx
push ecx
push eax
call fcn.004367a5
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x42fc89
call fcn.00444747
int3