Function at 0x1008b815
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 0x100d997d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x10106024]
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
mov ecx, esp
push 0xe
push str.Settings_name:
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
push 0x40
push 0x10119228
call fcn.1008a650
sub esp, 0x18
mov ecx, esp
push 4
push str.Save
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.1008a940
test al, al
jne 0x1008b881
sub esp, 0x18
mov ecx, esp
push 5
push str.ENTER
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.10084730
test al, al
je 0x1008bc4d
mov ecx, 0x10119228
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1008b890
sub ecx, edx
je 0x1008bc4d
mov edx, dword [0x101149e4]
mov eax, 0x7fffffff
add edx, 0x28
mov esi, dword [edx + 0x10]
sub eax, esi
cmp eax, ecx
jb 0x1008bce3
cmp dword [edx + 0x14], 0x10
jb 0x1008b8c2
mov edx, dword [edx]
push ecx
push 0x10119228
push esi
push edx
push ecx
push dword [ebp - 0x60]
lea ecx, [ebp - 0x5c]
call fcn.10029d20
mov dword [ebp - 4], 0
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0x10
push 0
cmovae eax, dword [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1008ba22
mov ecx, dword [edi + 0xc]
call fcn.100850d0
mov esi, dword [edi + 0xc]
sub esp, 0x18
mov ecx, esp
mov edx, 0x10119228
lea eax, [edx + 1]
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov dword [ebp - 0x60], eax
mov al, byte [edx]
inc edx
test al, al
jne 0x1008b928
sub edx, dword [ebp - 0x60]
push edx
push 0x10119228
call fcn.10044480
mov ecx, esi
call fcn.10085360
mov esi, dword [edi + 0xc]
mov eax, dword [0x101191f8]
mov dword [ebp - 0x60], eax
mov eax, 0x2aaaaaab
mov ecx, dword [esi + 4]
mov edi, dword [esi]
sub ecx, edi
imul ecx
sar edx, 2
mov ecx, edx
dec edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0xc]
cmp ecx, edx
jl 0x1008b97d
mov eax, edx
mov ecx, edx
shr eax, 0x1f
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [esi + 0xc], ecx
lea eax, [ecx + ecx*2]
cmp dword [edi + eax*8 + 0x14], 0x10
lea esi, [edi + eax*8]
jb 0x1008b98f
mov esi, dword [esi]
mov edx, esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
lea ecx, [edx + 1]
nop dword [eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x1008b9b0
sub edx, ecx
lea ecx, [ebp - 0x2c]
push edx
push esi
call fcn.10044480
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
push eax
call fcn.100607b0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1008ba0b
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008ba01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bce8
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
jmp 0x1008bbe3
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0x10119228
lea eax, [ebp - 0x7c]
mov byte [ebp - 4], 3
push str.Error_saving_settings___s_.
push eax
call fcn.100a08d0
lea ecx, [ebp - 0x44]
add esp, 0xc
cmp ecx, eax
je 0x1008ba97
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 edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x1008bacb
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bac1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bced
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x1008bb07
cmp eax, 0xb7
je 0x1008bafb
mov eax, str.Could_not_create_directory.
mov ecx, 0x1b
jmp 0x1008bb11
mov eax, str.The_specified_directory_already_exists.
mov ecx, 0x27
jmp 0x1008bb11
mov eax, str.One_or_more_intermediate_directories_do_not_exist.
mov ecx, 0x32
push ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.10044480
mov esi, dword [0x10119268]
lea eax, [ebp - 0x2c]
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.10058bc0
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov ecx, esp
push eax
call fcn.10058bc0
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.10095dc0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x1008bb87
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bb7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bcf2
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
cmp edx, 0x10
jb 0x1008bbd1
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bbc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bcf2
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov ecx, 0x40
mov eax, 0x10119228
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008bbf0
call fcn.10012ac0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x1008bc3b
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1008bc31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008bcf2
push edx
push ecx
call fcn.100aa01d
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
sub esp, 0x18
mov ecx, esp
push 6
push str.Cancel
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.1008a940
test al, al
jne 0x1008bca9
sub esp, 0x18
mov ecx, esp
push 3
push 0x100f6600
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.10044480
call fcn.10084730
test al, al
je 0x1008bcc3
mov ecx, 0x40
mov eax, 0x10119228
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1008bcb3
call fcn.10012ac0
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.100aa00f
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.10029f50
call fcn.100bb40e
call fcn.100bb40e
call fcn.100bb40e
int3