Function at 0x10158ff0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101a6446
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x13c]
mov ecx, 0x4c
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x101d6d64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov ecx, 0x101ea949
call fcn.1019d101
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.10157a80
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push str.Settings_name:
call fcn.100767e0
mov ecx, dword [ebp - 0x1f8]
call fcn.10153610
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.10157a80
mov dword [ebp - 0x1f8], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x168], esp
push str.Save
call fcn.100767e0
mov ecx, dword [ebp - 0x1f8]
call fcn.10153420
mov byte [ebp - 0x1f9], al
movzx eax, byte [ebp - 0x1f9]
test eax, eax
jne 0x10159100
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10157a30
mov dword [ebp - 0x1f8], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
push str.ENTER
call fcn.100767e0
mov ecx, dword [ebp - 0x1f8]
call fcn.10147b60
mov byte [ebp - 0x1f9], al
movzx eax, byte [ebp - 0x1f9]
test eax, eax
je 0x10159353
mov eax, dword [ebp + 8]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x10159353
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x101e3064
call fcn.10068420
add eax, 0x28
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.10067380
add esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
push 0
lea ecx, [ebp - 0x38]
call fcn.1006a530
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10159201
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10157ad0
mov ecx, eax
call fcn.10149740
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10157ad0
mov dword [ebp - 0x1f8], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x180], esp
mov eax, dword [ebp + 8]
push eax
call fcn.100767e0
mov ecx, dword [ebp - 0x1f8]
call fcn.101499a0
mov ecx, 0x101e3094
call fcn.100d0dc0
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xc
call fcn.10157ad0
mov ecx, eax
call fcn.10149670
mov ecx, eax
call fcn.1006a530
push eax
lea ecx, [ebp - 0x1a0]
call fcn.100767e0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1a0]
push eax
mov ecx, dword [ebp - 0x1f8]
call fcn.100f61a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1a0]
call fcn.100681f0
jmp 0x1015932f
lea ecx, [ebp - 0x64]
call fcn.100a6750
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.100a6750
mov byte [ebp - 4], 3
mov eax, dword [ebp + 8]
push eax
push str.Error_saving_settings___s_.
lea ecx, [ebp - 0x1c0]
push ecx
call fcn.1018d000
add esp, 0xc
mov dword [ebp - 0x1f8], eax
mov edx, dword [ebp - 0x1f8]
push edx
lea ecx, [ebp - 0x64]
call fcn.100cff90
lea ecx, [ebp - 0x1c0]
call fcn.100681f0
mov esi, esp
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, esp
call fcn.1019d0de
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 3
je 0x1015929e
cmp dword [ebp - 0x1f8], 0xb7
je 0x1015928c
jmp 0x101592b0
push str.The_specified_directory_already_exists.
lea ecx, [ebp - 0x84]
call fcn.100a67d0
jmp 0x101592c0
push str.One_or_more_intermediate_directories_do_not_exist.
lea ecx, [ebp - 0x84]
call fcn.100a67d0
jmp 0x101592c0
push str.Could_not_create_directory.
lea ecx, [ebp - 0x84]
call fcn.100a67d0
mov ecx, 0x101e44a0
call fcn.10144890
mov dword [ebp - 0x1f8], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1cc], esp
lea eax, [ebp - 0x84]
push eax
call fcn.100cd730
mov dword [ebp - 0x1fc], eax
mov byte [ebp - 4], 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1d8], esp
lea edx, [ebp - 0x64]
push edx
call fcn.100cd730
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x1f8]
call fcn.101692a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x84]
call fcn.100681f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.100681f0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10115440
add esp, 8
call fcn.10015f80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.100681f0
mov ecx, dword [ebp - 0x18]
add ecx, 4
call fcn.10157a80
mov dword [ebp - 0x1f8], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1e4], esp
push str.Cancel
call fcn.100767e0
mov ecx, dword [ebp - 0x1f8]
call fcn.10153420
mov byte [ebp - 0x1f9], al
movzx eax, byte [ebp - 0x1f9]
test eax, eax
jne 0x101593d7
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10157a30
mov dword [ebp - 0x1f8], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x1f0], esp
push 0x101be118
call fcn.100767e0
mov ecx, dword [ebp - 0x1f8]
call fcn.10147b60
mov byte [ebp - 0x1f9], al
movzx eax, byte [ebp - 0x1f9]
test eax, eax
je 0x101593ec
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10115440
add esp, 8
call fcn.10015f80
push edx
mov ecx, ebp
push eax
lea edx, [0x10159428]
call fcn.1019d088
pop eax
pop edx
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.1019d133
add esp, 0x1fc
cmp ebp, esp
call fcn.1019d0de
mov esp, ebp
pop ebp
ret 8