Function at 0x100697c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b12e0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x100db00c]
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 - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x100697ff
mov bl, 1
jmp 0x100699c2
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 edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
test edx, edx
je 0x10069895
cmp esi, 0x10
lea ecx, [ebp + 8]
cmovae ecx, edi
nop dword [eax]
cmp esi, 0x10
lea eax, [ebp + 8]
cmovae eax, edi
add eax, edx
cmp ecx, eax
je 0x10069863
cmp byte [ecx], 0x5c
jne 0x10069860
mov byte [ecx], 0x2f
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
inc ecx
jmp 0x10069840
lea ecx, [edx - 1]
cmp edx, ecx
jbe 0x10069a86
cmp esi, 0x10
lea eax, [ebp + 8]
cmovae eax, edi
cmp byte [ecx + eax], 0x2f
je 0x10069895
push 1
push 0x100c0014
lea ecx, [ebp + 8]
call fcn.1001ec10
mov esi, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
mov edi, dword [ebp + 8]
cmp esi, 0x10
lea ebx, [ebp + 8]
cmovae ebx, edi
test edx, edx
je 0x100698b8
push edx
push 0x2f
push ebx
call sub.VCRUNTIME140.dll_memchr
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100698b8
sub esi, ebx
jmp 0x100698bb
or esi, 0xffffffff
cmp esi, 0xffffffff
je 0x100699aa
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
nop word [eax + eax]
push esi
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 8]
call fcn.10010570
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], 0
jbe 0x10069926
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x48], esp
push eax
call fcn.100038b0
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
call fcn.10069710
add esp, 0x18
test al, al
jne 0x10069926
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push eax
call ebx
test eax, eax
je 0x100699f9
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 0x10069954
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 0x10069954
sub esi, edi
jmp 0x10069957
or esi, 0xffffffff
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x1006998f
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10069985
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10069a23
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp esi, 0xffffffff
jne 0x100698d0
mov bl, 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 0x10069a56
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10069a4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10069a4c
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 0x10069a33
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10069a29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10069a29
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp - 0x18], 0
xor bl, bl
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
jmp 0x100699ac
push edx
push ecx
call fcn.100a272d
add esp, 8
mov dword [ebp + 0x18], 0
mov al, bl
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a26ec
mov esp, ebp
pop ebp
ret
call fcn.10003c80
int3