Function at 0x1008d5c5
Capabilities:
Create directory

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 0x100d99bd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x10106040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0xe
movups xmmword [ecx], xmm0
push str.Settings_name:
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
push 0x40
push 0x10115360
call fcn.1008abc0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 4
movups xmmword [ecx], xmm0
push str.Save
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.1008aeb0
test al, al
jne 0x1008d631
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 5
movups xmmword [ecx], xmm0
push str.ENTER
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.10084a10
test al, al
je 0x1008da10
mov ecx, 0x10115360
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008d640
sub ecx, edx
je 0x1008da10
mov edx, dword [0x10115328]
mov eax, 0x7fffffff
add edx, 0x28
mov esi, dword [edx + 0x10]
sub eax, esi
cmp eax, ecx
jb 0x1008daa6
cmp dword [edx + 0x14], 0xf
jbe 0x1008d672
mov edx, dword [edx]
push ecx
push 0x10115360
push esi
push edx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x60]
call fcn.1002a1a0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0xf
push 0
cmova eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1008d7e2
mov ecx, dword [edi + 0xc]
call fcn.100854a0
mov esi, dword [edi + 0xc]
sub esp, 0x18
mov ecx, esp
mov edx, 0x10115360
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
lea eax, [edx + 1]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 0x68], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1008d6d8
sub edx, dword [ebp - 0x68]
push edx
push 0x10115360
call fcn.10042f00
mov ecx, esi
call fcn.10085730
mov edi, dword [edi + 0xc]
mov eax, dword [0x1011532c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x6c], 0
mov eax, dword [edi]
mov ecx, dword [edi + 4]
add edi, 0xc
sub ecx, eax
mov dword [ebp - 0x68], eax
mov eax, 0x2aaaaaab
imul ecx
mov eax, dword [edi]
lea ecx, [ebp - 0x6c]
sar edx, 2
shr eax, 0x1f
mov esi, edx
shr esi, 0x1f
dec esi
add esi, edx
test al, al
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], esi
cmove ecx, edi
cmp esi, dword [edi]
cmovge eax, ecx
mov ecx, dword [ebp - 0x68]
mov eax, dword [eax]
mov dword [edi], eax
lea eax, [eax + eax*2]
cmp dword [ecx + eax*8 + 0x14], 0xf
lea esi, [ecx + eax*8]
jbe 0x1008d753
mov esi, dword [esi]
mov edx, esi
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1008d770
sub edx, ecx
lea ecx, [ebp - 0x2c]
push edx
push esi
call fcn.10042f00
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x64]
push eax
call fcn.10061880
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1008d7cb
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d7c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008daab
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x1008d9a9
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movups xmmword [ebp - 0x44], xmm0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0x10115360
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 3
push str.Error_saving_settings___s_.
push eax
call fcn.100a1730
lea ecx, [ebp - 0x44]
add esp, 0xc
cmp ecx, eax
je 0x1008d857
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x1008d88e
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d884
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dab0
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x1008d8cd
cmp eax, 0xb7
je 0x1008d8c1
mov eax, str.Could_not_create_directory.
mov ecx, 0x1b
jmp 0x1008d8d7
mov eax, str.The_specified_directory_already_exists.
mov ecx, 0x27
jmp 0x1008d8d7
mov eax, str.One_or_more_intermediate_directories_do_not_exist.
mov ecx, 0x32
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10048d30
mov esi, dword [0x1011535c]
lea eax, [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
call fcn.10058110
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.10058110
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10096340
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1008d94d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d943
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dab5
push ecx
push edx
call fcn.100aa232
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp ecx, 0xf
jbe 0x1008d997
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d98d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dab5
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, 0x40
mov eax, 0x10115360
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008d9b3
call fcn.10013f10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x4c]
cmp ecx, 0xf
jbe 0x1008d9fe
mov edx, dword [ebp - 0x60]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008d9f4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008dab5
push ecx
push edx
call fcn.100aa232
add esp, 8
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 6
movups xmmword [ecx], xmm0
push str.Cancel
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.1008aeb0
test al, al
jne 0x1008da6c
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 3
movups xmmword [ecx], xmm0
push 0x100f2a8c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.10042f00
call fcn.10084a10
test al, al
je 0x1008da86
mov ecx, 0x40
mov eax, 0x10115360
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008da76
call fcn.10013f10
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.100a9d10
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10029650
call fcn.100bb9d8
call fcn.100bb9d8
call fcn.100bb9d8
int3