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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8486
mov eax, dword fs:[0]
push eax
mov eax, 0x42f4
call fcn.0057ca60
mov eax, dword [0x64b9b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42a8], edx
mov esi, ecx
push 0x401c
lea eax, [ebp - 0x4268]
mov dword [ebp - 0x42a4], 0
xorps xmm0, xmm0
push 0
push eax
movq qword [ebp - 0x42a0], xmm0
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x4300]
push 0x50
push 0
push eax
call fcn.005949a0
add esp, 0xc
mov dword [ebp - 0x426c], 0
xor edi, edi
mov dword [ebp - 0x4294], 0
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x427c], edi
mov dword [ebp - 0x4288], edi
push esi
mov dword [ebp - 0x42b0], 0xffffffff
mov dword [ebp - 0x4284], edi
mov dword [ebp - 0x42ac], edi
mov dword [ebp - 0x4270], 0x48fab0
mov dword [ebp - 0x426c], 0x48fad0
mov dword [ebp - 0x4298], 0x48fab0
mov dword [ebp - 0x4294], 0x48fad0
call fcn.00407b10
lea edx, [ebp - 0x230]
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x248]
call fcn.0048c920
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x48cb7a
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00408b70
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x21c], 7
cmp dword [ebp - 0x234], 0x10
push 0
mov word [ebp - 0x230], ax
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x220], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x429c], eax
cmp eax, 0xffffffff
je 0x48cbd9
xor ebx, ebx
jmp 0x48cbdd
call esi
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x234]
cmp eax, 0x10
jb 0x48cc02
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00403810
test ebx, ebx
jne 0x48cf5a
lea eax, [ebp - 0x42a4]
mov dword [ebp - 0x42a4], 0x48fa70
mov dword [ebp - 0x42a0], 0x48fa90
mov dword [ebp - 0x4268], 0x48fb60
mov dword [ebp - 0x4264], 0x48fbc0
mov dword [ebp - 0x4260], 0x48fbd0
mov dword [ebp - 0x425c], 0x48fc20
mov dword [ebp - 0x4258], eax
mov dword [ebp - 0x4250], ebx
mov dword [ebp - 0x4254], ebx
call fcn.0048fc40
lea ecx, [ebp - 0x4300]
call fcn.0048d360
lea eax, [ebp - 0x4298]
push eax
lea eax, [ebp - 0x4270]
push eax
lea edx, [ebp - 0x4268]
call fcn.0048f2e0
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x48cca9
lea edx, [ebp - 0x4270]
lea ecx, [ebp - 0x4300]
call fcn.0048d3d0
test ebx, ebx
jne 0x48cf5a
xor esi, esi
mov dword [ebp - 0x4274], esi
cmp dword [ebp - 0x42e4], esi
jbe 0x48cf3e
mov eax, dword [ebp - 0x42f0]
add eax, 0x19
mov dword [ebp - 0x4278], eax
nop dword [eax]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005949a0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp - 0x42a8]
push 0x104
push eax
call fcn.0059b9cc
mov edx, dword [ebp - 0x42c0]
add esp, 0xc
mov eax, dword [ebp - 0x4274]
mov dword [ebp - 0x428c], 0
mov dword [ebp - 0x4280], 0
mov esi, dword [edx + esi*4 + 4]
sub esi, dword [edx + eax*4]
cmp esi, dword [ebp - 0x4288]
jbe 0x48cd65
push edi
call fcn.005981d1
add esp, 4
mov dword [ebp - 0x4288], esi
add esi, esi
je 0x48cf2a
push esi
call fcn.005981d6
mov edi, eax
add esp, 4
mov dword [ebp - 0x427c], edi
test edi, edi
je 0x48cf2c
mov edx, dword [ebp - 0x42c0]
mov esi, dword [ebp - 0x4274]
mov ecx, dword [edx + esi*4]
mov edx, dword [edx + esi*4 + 4]
sub edx, ecx
test edi, edi
je 0x48cda6
mov eax, dword [ebp - 0x42bc]
lea esi, [eax + ecx*2]
test edx, edx
je 0x48cda0
mov ecx, edi
sub esi, edi
nop dword [eax]
mov ax, word [esi + ecx]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x48cd90
mov esi, dword [ebp - 0x4274]
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x4278]
cmp byte [eax], 0
jne 0x48ce0f
lea eax, [ebp - 0x4298]
push eax
lea eax, [ebp - 0x4270]
push eax
lea eax, [ebp - 0x4280]
push eax
lea eax, [ebp - 0x428c]
push eax
lea eax, [ebp - 0x42ac]
push eax
lea eax, [ebp - 0x4284]
push eax
lea eax, [ebp - 0x42b0]
push eax
push esi
lea edx, [ebp - 0x4268]
lea ecx, [ebp - 0x4300]
call fcn.0048f6d0
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x48cf3e
xor edi, edi
cmp word [ebp - 0x218], di
je 0x48ce6d
xor ecx, ecx
lea esi, [ebp - 0x218]
movzx eax, word [esi]
cmp eax, 0x2f
je 0x48ce34
mov edx, 0x2f2f
cmp ax, dx
jne 0x48ce5b
cmp ecx, 0x208
jae 0x48cf33
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
inc edi
lea esi, [ebp - 0x218]
lea ecx, [edi + edi]
add esi, ecx
cmp word [esi], 0
jne 0x48ce22
mov edi, dword [ebp - 0x4278]
lea eax, [ebp - 0x218]
push 0
cmp byte [edi], 0
je 0x48ce89
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x48cefd
mov edi, dword [ebp - 0x428c]
xor ebx, ebx
add edi, dword [ebp - 0x4284]
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48ceba
mov ebx, 1
jmp 0x48cef7
push 0
lea eax, [ebp - 0x4290]
mov dword [ebp - 0x4290], ebx
push eax
push dword [ebp - 0x4280]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x4280]
cmp dword [ebp - 0x4290], eax
mov eax, 1
cmovne ebx, eax
cmp esi, 0xffffffff
je 0x48cef7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x4278]
test ebx, ebx
jne 0x48cf38
mov esi, dword [ebp - 0x4274]
add edi, 0x20
inc esi
mov dword [ebp - 0x4278], edi
mov edi, dword [ebp - 0x427c]
mov dword [ebp - 0x4274], esi
cmp esi, dword [ebp - 0x42e4]
jae 0x48cf3e
jmp 0x48ccd0
xor edi, edi
mov ebx, 1
jmp 0x48cf3e
call fcn.0057c183
mov edi, dword [ebp - 0x427c]
push dword [ebp - 0x4284]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
push dword [ebp - 0x42d0]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
push dword [ebp - 0x42cc]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
push dword [ebp - 0x42c8]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
push dword [ebp - 0x42c4]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
push dword [ebp - 0x42c0]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
push dword [ebp - 0x42bc]
lea eax, [ebp - 0x4270]
push eax
call dword [ebp - 0x426c]
lea edx, [ebp - 0x4270]
mov dword [ebp - 0x42bc], 0
lea ecx, [ebp - 0x4300]
mov dword [ebp - 0x42b8], 0
call fcn.0048d2b0
lea ecx, [ebp - 0x4300]
call fcn.0048d360
push edi
call fcn.005981d1
mov eax, dword [ebp - 0x429c]
add esp, 0x34
cmp eax, 0xffffffff
je 0x48d01d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x48d01d
call esi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057b967
mov esp, ebp
pop ebp
ret