Function at 0x1005c4e0
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 0x100f32ad
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x1013b3dc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x1018bbe4]
call fcn.10029ff0
call fcn.1002c870
mov esi, 3
mov ecx, dword [0x1013be60]
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1824]
cmp byte [eax + 0x90], 0
jne 0x1005c56e
xorps xmm1, xmm1
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
call fcn.10021370
sub esi, 1
jne 0x1005c533
movss xmm1, dword [0x1012d218]
movss xmm0, dword [0x1012cfb0]
call fcn.1003a0e0
call fcn.10039e50
push str.Settings_name:
call fcn.1002a400
mov ecx, dword [0x1013be60]
add esp, 4
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1824]
lea edi, [eax + 0x158]
mov dword [ebp - 0x30], eax
mov dword [eax + 0x144], 0x43620000
mov ecx, dword [edi]
mov esi, dword [edi + 4]
cmp ecx, esi
jne 0x1005c5f4
inc ecx
test esi, esi
je 0x1005c5df
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1005c5e4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.1003b150
mov eax, dword [ebp - 0x30]
mov edx, dword [edi]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x144]
push 0
push 0
mov dword [ecx + edx*4], eax
lea eax, [ebp - 0x38]
inc dword [edi]
mov edx, 0x1018c974
push 0
push eax
push 0x28
mov ecx, str.SettingsSaveAs
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
call fcn.10030260
mov esi, dword [0x1013be60]
add esp, 0x14
mov eax, dword [esi + 0x1824]
mov byte [eax + 0x8e], 1
mov ecx, dword [esi + 0x1824]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x1005c664
movss xmm0, dword [ecx + 0x1e4]
jmp 0x1005c670
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
lea eax, [ebp - 0x5c]
movups xmm0, xmmword [esi + 0x14e0]
lea ecx, [esi + 0x1864]
mov dword [ebp - 0x3c], 0
push eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x5c], 6
movups xmmword [ebp - 0x58], xmm0
call fcn.1003b0a0
mov ecx, dword [0x1013be60]
movups xmm0, xmmword [ebp - 0x48]
movups xmmword [esi + 0x14e0], xmm0
mov eax, dword [ecx + 0x1824]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1824]
cmp byte [eax + 0x90], 0
jne 0x1005c6fb
xorps xmm1, xmm1
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x34], 0
call fcn.10021370
push ecx
mov edx, 0x10190db0
mov ecx, str.Save
call fcn.1002b190
add esp, 4
test al, al
je 0x1005c8e7
mov ecx, 0x1018c974
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1005c720
sub ecx, edx
je 0x1005c8e7
push str.Default
push 0x1018c974
call fcn.100d70ef
add esp, 8
test eax, eax
je 0x1005c8e2
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0x10189ce4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.1000baa0
mov edi, 0x1018c974
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x1005c780
mov edx, dword [ebp - 0x18]
sub edi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
push edi
push 0x1018c974
cmp edi, eax
ja 0x1005c7be
cmp edx, 0x10
lea esi, [ebp - 0x2c]
lea eax, [ecx + edi]
cmovae esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.100c7fd0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x1005c7ce
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
call fcn.1000bd50
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
push 0
cmovae eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.1005be30
mov ecx, dword [0x10190994]
mov eax, 0x2aaaaaab
mov edi, dword [0x10190990]
sub ecx, edi
mov esi, dword [0x1018c9b0]
imul ecx
mov dword [ebp - 0x30], 0
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0x34], ecx
je 0x1005c878
xor eax, eax
cmp ecx, eax
jbe 0x1005c945
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x1005c82c
mov eax, dword [edi]
mov ecx, 0x1018c974
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005c851
test dl, dl
je 0x1005c84d
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005c851
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005c831
xor eax, eax
jmp 0x1005c856
sbb eax, eax
or eax, 1
mov ecx, dword [ebp - 0x34]
test eax, eax
mov eax, dword [ebp - 0x30]
cmove esi, eax
inc eax
add edi, 0x18
mov dword [0x1018c9b0], esi
mov dword [ebp - 0x30], eax
cmp ecx, eax
ja 0x1005c822
mov edi, dword [0x10190990]
cmp ecx, esi
jbe 0x1005c945
lea eax, [esi + esi*2]
cmp dword [edi + eax*8 + 0x14], 0x10
lea eax, [edi + eax*8]
jb 0x1005c88f
mov eax, dword [eax]
push eax
call fcn.10098670
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x1005c8d0
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005c8c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005c94a
push ecx
push edx
call fcn.100c5916
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10025270
movss xmm1, dword [0x1012d218]
xorps xmm0, xmm0
call fcn.1003a0e0
push ecx
mov edx, 0x10190db0
mov ecx, str.Cancel
call fcn.1002b190
add esp, 4
test al, al
je 0x1005c913
call fcn.10025270
mov ecx, 1
call fcn.1002a1d0
call fcn.10039f60
call fcn.100295f0
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.100c55b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10019040
call fcn.100ce6d5
int3