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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082acb
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x4318
call fcn.10054670
mov eax, dword [0x100a1040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x42cc], edx
mov esi, ecx
push 0x4018
lea eax, [ebp - 0x4284]
mov dword [ebp - 0x42c8], 0
xorps xmm0, xmm0
mov dword [ebp - 0x4288], 0
push 0
push eax
movq qword [ebp - 0x42c4], xmm0
call fcn.10055b90
add esp, 0xc
mov dword [ebp - 0x4328], 0
lea eax, [ebp - 0x4324]
push 0x4c
push 0
push eax
call fcn.10055b90
add esp, 0xc
mov dword [ebp - 0x4290], 0
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x42ac], 0
mov dword [ebp - 0x42bc], 0xffffffff
mov dword [ebp - 0x4294], 0
push esi
mov dword [ebp - 0x42d0], 0
mov dword [ebp - 0x42a8], 0x1002a420
mov dword [ebp - 0x42a4], 0x1002a440
mov dword [ebp - 0x42d8], 0x1002a420
mov dword [ebp - 0x42d4], 0x1002a440
call fcn.1000c060
push 0
push 0
push 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x238]
cmp dword [ebp - 0x224], 7
push 0
cmova eax, dword [ebp - 0x238]
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
jg 0x10026fe0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x240], 0
push 0x1009307c
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 0
movups xmmword [ebp - 0x250], xmm0
call fcn.10007790
jmp 0x1002707d
push edi
call fcn.10053fbe
add esp, 4
mov esi, eax
cmp dword [ebp - 0x224], 7
lea eax, [ebp - 0x238]
cmova eax, dword [ebp - 0x238]
push 0
push 0
push edi
push esi
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ecx, esi
mov byte [esi + edi - 1], 0
xorps xmm0, xmm0
mov dword [ebp - 0x258], 0
movups xmmword [ebp - 0x268], xmm0
mov dword [ebp - 0x254], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10027040
sub ecx, edx
push ecx
push esi
lea ecx, [ebp - 0x268]
call fcn.10007790
push esi
call fcn.100535b2
movups xmm0, xmmword [ebp - 0x268]
add esp, 4
movups xmmword [ebp - 0x250], xmm0
movq xmm0, qword [ebp - 0x258]
movq qword [ebp - 0x240], xmm0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x224]
cmp ecx, 7
jbe 0x100270c1
mov edx, dword [ebp - 0x238]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100270b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002758f
push ecx
push edx
call fcn.10053bf1
add esp, 8
push 0
push 0x80
push 3
xor eax, eax
mov dword [ebp - 0x228], 0
cmp dword [ebp - 0x23c], 0xf
push 0
mov word [ebp - 0x238], ax
lea eax, [ebp - 0x250]
cmova eax, dword [ebp - 0x250]
push 1
push SysReAllocString
push eax
mov dword [ebp - 0x224], 7
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x42c0], eax
cmp eax, 0xffffffff
je 0x10027120
xor esi, esi
jmp 0x10027124
call edi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x23c]
cmp ecx, 0xf
jbe 0x10027165
mov edx, dword [ebp - 0x250]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002715b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10027594
push ecx
push edx
call fcn.10053bf1
add esp, 8
test esi, esi
jne 0x10027538
lea eax, [ebp - 0x42c8]
mov dword [ebp - 0x42c8], 0x1002a370
mov dword [ebp - 0x42c4], 0x1002a390
mov dword [ebp - 0x4288], 0x1002a450
mov dword [ebp - 0x4284], 0x1002a4b0
mov dword [ebp - 0x4280], 0x1002a4c0
mov dword [ebp - 0x427c], 0x1002a510
mov dword [ebp - 0x4278], eax
mov dword [ebp - 0x4270], esi
mov dword [ebp - 0x4274], esi
call fcn.1002a530
lea eax, [ebp - 0x42d8]
mov dword [ebp - 0x4318], esi
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x4314], esi
lea eax, [ebp - 0x42a8]
mov dword [ebp - 0x4310], esi
push eax
lea edx, [ebp - 0x4288]
mov dword [ebp - 0x430c], esi
lea ecx, [ebp - 0x4328]
mov dword [ebp - 0x42e8], esi
movups xmmword [ebp - 0x4328], xmm0
mov dword [ebp - 0x42e4], esi
movups xmmword [ebp - 0x42f8], xmm0
mov dword [ebp - 0x42e0], esi
call fcn.10029b80
mov esi, eax
add esp, 8
test esi, esi
je 0x1002723f
lea edx, [ebp - 0x42a8]
lea ecx, [ebp - 0x4328]
call fcn.100278c0
jmp 0x10027538
xor edi, edi
mov dword [ebp - 0x428c], esi
mov dword [ebp - 0x429c], edi
cmp dword [ebp - 0x430c], edi
jbe 0x10027509
xor esi, esi
mov dword [ebp - 0x42a0], esi
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.10055b90
add esp, 0xc
lea eax, [ebp - 0x220]
push dword [ebp - 0x42cc]
push 0x104
push eax
call fcn.10061eeb
mov eax, dword [ebp - 0x4318]
add esp, 0xc
add eax, esi
mov dword [ebp - 0x42b4], 0
mov dword [ebp - 0x42b0], eax
mov eax, dword [ebp - 0x42e8]
mov dword [ebp - 0x4298], 0
lea esi, [eax + edi*4]
mov edi, dword [esi + 4]
sub edi, dword [esi]
cmp edi, dword [ebp - 0x42ac]
jbe 0x10027307
push dword [ebp - 0x4290]
call fcn.10058c58
add esp, 4
mov dword [ebp - 0x42ac], edi
add edi, edi
je 0x100274fa
push edi
call fcn.10058c73
mov edi, eax
add esp, 4
mov dword [ebp - 0x4290], edi
test edi, edi
je 0x10027504
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, ecx
jmp 0x10027318
mov edx, dword [esi + 4]
mov ecx, dword [esi]
sub edx, ecx
mov edi, dword [ebp - 0x4290]
test edi, edi
je 0x10027340
mov eax, dword [ebp - 0x42e4]
lea esi, [eax + ecx*2]
test edx, edx
je 0x10027340
mov ecx, edi
sub esi, edi
nop dword [eax]
mov ax, word [ecx + esi]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
sub edx, 1
jne 0x10027330
push edi
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [ebp - 0x42b0]
cmp byte [eax + 0x19], 0
jne 0x100273b5
lea eax, [ebp - 0x42d8]
push eax
lea eax, [ebp - 0x42a8]
push eax
lea eax, [ebp - 0x4298]
push eax
lea eax, [ebp - 0x42b4]
push eax
lea eax, [ebp - 0x42d0]
push eax
lea eax, [ebp - 0x4294]
push eax
lea eax, [ebp - 0x42bc]
push eax
push dword [ebp - 0x429c]
lea edx, [ebp - 0x4288]
lea ecx, [ebp - 0x4328]
call fcn.1002a010
mov esi, eax
add esp, 0x20
mov dword [ebp - 0x428c], esi
test esi, esi
jne 0x10027509
mov ax, word [ebp - 0x220]
xor edi, edi
test ax, ax
je 0x1002741f
xor ecx, ecx
movzx edx, ax
lea esi, [ebp - 0x220]
nop
movzx eax, dx
cmp eax, 0x2f
je 0x100273e2
mov edx, 0x2f2f
cmp ax, dx
jne 0x10027409
cmp ecx, 0x208
jae 0x10027599
xor eax, eax
push eax
mov word [esi], ax
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov word [esi], ax
inc edi
lea esi, [ebp - 0x220]
lea ecx, [edi + edi]
add esi, ecx
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x100273d0
mov eax, dword [ebp - 0x42b0]
push 0
cmp byte [eax + 0x19], 0
je 0x1002743f
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x100274c9
mov edi, dword [ebp - 0x42b4]
xor eax, eax
add edi, dword [ebp - 0x4294]
push 0x80
push 2
push eax
push eax
mov dword [ebp - 0x428c], eax
lea eax, [ebp - 0x220]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10027481
mov dword [ebp - 0x428c], 1
jmp 0x100274c9
push 0
lea eax, [ebp - 0x42b8]
mov dword [ebp - 0x42b8], 0
push eax
push dword [ebp - 0x4298]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x4298]
mov ecx, 1
cmp dword [ebp - 0x42b8], eax
mov eax, dword [ebp - 0x428c]
cmovne eax, ecx
push esi
mov dword [ebp - 0x428c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x428c]
test esi, esi
jne 0x10027509
mov edi, dword [ebp - 0x429c]
add dword [ebp - 0x42a0], 0x20
inc edi
mov dword [ebp - 0x429c], edi
cmp edi, dword [ebp - 0x430c]
jae 0x10027509
mov esi, dword [ebp - 0x42a0]
jmp 0x10027261
mov dword [ebp - 0x4290], 0
mov esi, 1
mov eax, dword [ebp - 0x42a4]
push dword [ebp - 0x4294]
cmp eax, 0x1002a440
jne 0x10027526
call fcn.10058c58
add esp, 4
jmp 0x10027532
lea ecx, [ebp - 0x42a8]
push ecx
call eax
add esp, 8
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [ebp - 0x42a8]
lea ecx, [ebp - 0x4328]
call fcn.100278c0
push dword [ebp - 0x4290]
call fcn.10058c58
mov eax, dword [ebp - 0x42c0]
add esp, 4
cmp eax, 0xffffffff
je 0x1002756f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1002756f
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100535a4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10058b57
call fcn.10058b57
call fcn.100536e7
int3