Function at 0x10099050
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1018be30
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101e40b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x10099090
mov byte [ebp - 0x41], 1
jmp 0x10099337
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 1
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
test edi, edi
je 0x1009915a
cmp edx, 0x10
lea ecx, [ebp + 8]
cmovae ecx, esi
nop
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, esi
add eax, edi
cmp ecx, eax
je 0x100990f3
cmp byte [ecx], 0x5c
jne 0x100990f0
mov byte [ecx], 0x2f
mov edx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 8]
inc ecx
jmp 0x100990d0
lea ecx, [edi - 1]
cmp edi, ecx
jbe 0x100993fd
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, esi
cmp byte [ecx + eax], 0x2f
je 0x1009915a
mov eax, edx
sub eax, edi
push 1
push 0x101b5b3c
cmp eax, 1
jb 0x10099140
cmp edx, 0x10
lea esi, [ebp + 8]
lea eax, [edi + 1]
cmovae esi, dword [ebp + 8]
mov dword [ebp + 0x18], eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi + 1], 0
jmp 0x10099151
mov byte [ebp - 0x48], 0
lea ecx, [ebp + 8]
push dword [ebp - 0x48]
push 1
call fcn.1004eb20
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
lea eax, [ebp + 8]
cmovae eax, esi
mov dword [ebp - 0x48], eax
test edi, edi
je 0x10099181
push edi
push 0x2f
push eax
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10099181
sub esi, dword [ebp - 0x48]
jmp 0x10099184
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x1009931d
nop dword [eax]
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.10046840
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
jbe 0x10099299
sub esp, 0x18
lea eax, [ebp - 0x28]
mov edi, esp
mov dword [ebp - 0x58], esp
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], eax
cmp ecx, 0x10
jae 0x100991ee
movups xmm0, xmmword [eax]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 0xf
jmp 0x10099269
mov eax, ecx
mov ecx, SysReAllocString
or eax, 0xf
cmp eax, 0x7fffffff
cmova eax, ecx
mov dword [ebp - 0x50], eax
lea ecx, [eax + 1]
cmp ecx, 0x1000
jb 0x10099237
lea eax, [ecx + 0x23]
cmp eax, ecx
mov ecx, 0xffffffff
cmovbe eax, ecx
push eax
call fcn.10177d89
add esp, 4
test eax, eax
je 0x10099398
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x1009924a
test ecx, ecx
je 0x10099248
push ecx
call fcn.10177d89
add esp, 4
mov ecx, eax
jmp 0x1009924a
xor ecx, ecx
mov eax, dword [ebp - 0x48]
inc eax
mov dword [edi], ecx
push eax
push dword [ebp - 0x4c]
push ecx
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x48]
add esp, 0xc
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0x50]
mov dword [edi + 0x14], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.10098fa0
add esp, 0x18
test al, al
jne 0x10099299
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1009936e
mov eax, dword [ebp + 0x18]
lea edi, [ebp + 8]
inc esi
cmp dword [ebp + 0x1c], 0x10
cmovae edi, dword [ebp + 8]
cmp esi, eax
jae 0x100992c7
sub eax, esi
push eax
lea eax, [edi + esi]
push 0x2f
push eax
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100992c7
sub esi, edi
jmp 0x100992ca
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x10099302
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100992f8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10099398
push edx
push ecx
call fcn.10177d58
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp esi, 0xffffffff
jne 0x10099190
mov byte [ebp - 0x41], 1
mov byte [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100993cd
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100993c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100993c3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100993a8
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1009939e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009939e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10177d58
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 0x41], 0
jmp 0x10099321
push edx
push ecx
call fcn.10177d58
add esp, 8
mov al, byte [ebp - 0x41]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10177d47
mov esp, ebp
pop ebp
ret
call fcn.10008c10
int3