Function at 0x42abc0
Capabilities:
Create directory
Get common file path
Set current directory
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47fad8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
test edi, edi
mov dword [esp + 0x24], 0
je 0x42af3e
mov ecx, SysReAllocString
mov eax, edi
xor edx, edx
cmp word [eax], dx
je 0x42ac13
add eax, 2
sub ecx, 1
jne 0x42ac04
jmp 0x42ac1b
test ecx, ecx
jne 0x42ad60
mov edx, 0x80070057
xor eax, eax
xor ecx, ecx
test edx, edx
setl cl
mov edx, 2
sub ecx, 1
and ecx, eax
add ecx, 2
mov ebp, ecx
xor ecx, ecx
mov eax, ebp
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
mov ebx, eax
xor ecx, ecx
add esp, 4
mov eax, ebp
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x14], ebx
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
mov esi, eax
add esp, 4
lea eax, [ebp + ebp]
push eax
push 0
push ebx
mov dword [esp + 0x24], esi
call fcn.004692d0
add esp, 0xc
cmp ebp, 0x7fffffff
ja 0x42ac98
mov eax, edi
mov edx, ebp
mov ecx, esi
call fcn.00402c70
mov edi, esi
call fcn.00425390
cmp ebp, 0x7fffffff
ja 0x42acb2
mov eax, esi
mov edx, ebp
mov ecx, ebx
call fcn.00402c70
mov ecx, ebp
mov eax, ebx
call fcn.0042aa60
mov ebx, eax
cmp ebx, ebp
mov dword [esp + 0x20], ebp
jae 0x42ad97
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
add esi, 1
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
add esp, 4
mov edi, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push edi
call fcn.00442886
add esp, 4
test esi, esi
jne 0x42ad93
mov edi, dword [esp + 0x14]
call fcn.00425390
test edi, edi
mov esi, ebx
mov dword [esp + 0x20], esi
je 0x42adea
cmp ebp, 0x7fffffff
ja 0x42adea
xor edx, edx
test ebp, ebp
mov ecx, ebp
mov eax, edi
je 0x42ad70
jmp 0x42ad50
cmp word [eax], 0
je 0x42ad6c
add eax, 2
sub ecx, 1
jne 0x42ad50
jmp 0x42ad70
mov eax, SysReAllocString
sub eax, ecx
jmp 0x42ac22
test ecx, ecx
jne 0x42ade4
mov edx, 0x80070057
xor eax, eax
test edx, edx
mov ecx, edx
jge 0x42ad7f
xor eax, eax
xor ebx, ebx
test ecx, ecx
setl bl
sub ebx, 1
and ebx, eax
cmp ebx, esi
jb 0x42acc9
mov esi, dword [esp + 0x18]
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [esp + 0x3c]
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x42af28
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42adf1
push 0x80004005
call fcn.00402720
mov eax, ebp
sub eax, ecx
jmp 0x42ad77
mov ecx, 0x80070057
jmp 0x42ad7d
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
xor eax, eax
push eax
lea ecx, [esp + 0x2c]
push ecx
push 2
push 0x48cd14
mov dword [esp + 0x44], eax
push edi
mov dword [esp + 0x3c], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x3c]
call fcn.0042b2e0
push 0x491cc8
lea edx, [esp + 0x20]
push str.__s_
push edx
call fcn.004048d0
mov ecx, dword [esp + 0x28]
add esp, 0xc
push edi
call fcn.0042b6a0
add esp, 4
cmp ebp, 0x7fffffff
ja 0x42ae61
mov eax, dword [esp + 0x14]
mov edx, ebp
mov ecx, esi
call fcn.00402c70
cmp ebx, dword [esp + 0x20]
jb 0x42ae72
push edi
mov ecx, esi
call fcn.0042b6a0
add esp, 4
mov esi, dword [esp + 0x14]
mov ebp, dword [sym.imp.USER32.dll_CharNextW]
mov eax, esi
cmp word [eax], 0
je 0x42ae8f
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x42ae84
add esi, 2
cmp word [esi], 0
je 0x42aecc
mov ebx, dword [esp + 0x18]
push esi
mov eax, ebx
call fcn.004254d0
add esp, 4
push edi
mov ecx, ebx
call fcn.0042b6a0
add esp, 4
cmp word [esi], 0
je 0x42aec3
push esi
call ebp
mov esi, eax
cmp word [esi], 0
jne 0x42aeb8
add esi, 2
cmp word [esi], 0
jne 0x42ae98
push edi
mov ecx, 0x491008
call fcn.0042b6a0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3c]
push eax
push str.Files
push eax
call fcn.0042af60
mov dword [esp + 0x40], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0x24], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42af24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00442886
add esp, 4
push esi
call fcn.00442886
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret