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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push edi
mov edi, ecx
mov eax, dword [edi + 4]
sub eax, dword [edi]
jne 0x42cf0f
mov eax, 2
pop edi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
mov ecx, ebx
mov dword [ebp - 0x14], 0
push esi
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42cf30
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x24]
call fcn.00422fd0
push 0x4701ac
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00417b60
add esp, 0xc
lea ecx, [ebp - 0x24]
call fcn.0040ec00
lea eax, [ebp - 0x24]
push ebx
push eax
call fcn.004191a0
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x42cf7b
mov eax, dword [eax]
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [ebp - 0x24]
call fcn.0040ec00
push 0
push 0x80000080
push 2
push 0
push 0
push 0x40000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x42d13b
test esi, esi
je 0x42d12b
mov ecx, dword [edi]
lea edx, [ebp + 8]
mov eax, dword [edi + 4]
push 0
push edx
sub eax, ecx
mov dword [ebp + 8], 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x42d135
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [ebp - 0x90]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 0
push eax
push ebx
mov dword [ebp - 4], 0
call fcn.0042b310
add esp, 0xc
test al, al
jne 0x42d035
lea ecx, [ebp - 0xc]
mov esi, 2
call fcn.004169f0
lea ecx, [ebp - 0x3c]
call fcn.0040ec00
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
cmp dword [ebp - 0x28], 8
lea esi, [ebp - 0x3c]
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x64]
cmovae esi, dword [ebp - 0x3c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x64], xmm0
sub edx, ecx
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movups xmm0, xmmword [ebp - 0x90]
mov dword [ebp - 0x78], 0x202
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x80], 0x4d524355
mov dword [ebp - 0x7c], 0x41
movups xmmword [ebp - 0x74], xmm0
nop word [eax + eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42d090
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 0x42d10b
test esi, esi
je 0x42d0ff
push 0
lea eax, [ebp + 8]
mov dword [ebp + 8], 0
push eax
push 0x41
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x42d109
call edi
lea ecx, [ebp - 0xc]
xor esi, esi
call fcn.004169f0
lea ecx, [ebp - 0x3c]
call fcn.0040ec00
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
cmp esi, 0xffffffff
je 0x42d10b
test esi, esi
je 0x42d10b
push esi
call edi
lea ecx, [ebp - 0xc]
mov esi, 6
call fcn.004169f0
lea ecx, [ebp - 0x3c]
call fcn.0040ec00
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
cmp esi, 0xffffffff
je 0x42d13b
test esi, esi
je 0x42d13b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x3c]
mov esi, 6
call fcn.0040ec00
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8