Function at 0x1003dc80
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 0x100a6bdd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x100d1400]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 3
mov ecx, dword [0x100d1ec8]
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
cmp byte [eax + 0x90], 0
jne 0x1003dcfe
xorps xmm1, xmm1
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
call fcn.10012c80
sub esi, 1
jne 0x1003dcc3
movss xmm1, dword [0x100c2754]
movss xmm0, dword [0x100c2644]
call fcn.1002aab0
call fcn.1002a820
push str.Settings_name:
call fcn.1001be20
mov ecx, dword [0x100d1ec8]
add esp, 4
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
lea esi, [eax + 0x158]
mov dword [ebp - 0x30], eax
mov dword [eax + 0x144], 0x43620000
mov ecx, dword [esi]
mov edi, dword [esi + 4]
cmp ecx, edi
jne 0x1003dd84
inc ecx
test edi, edi
je 0x1003dd6f
mov eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
jmp 0x1003dd74
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.1002bc20
mov eax, dword [ebp - 0x30]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x144]
push 0
push 0
mov dword [ecx + edx*4], eax
lea eax, [ebp - 0x34]
inc dword [esi]
mov edx, 0x100d3ee4
push 0
push eax
push 0x28
mov ecx, str.SettingsSaveAs
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
call fcn.10020e10
mov esi, dword [0x100d1ec8]
add esp, 0x14
mov eax, dword [esi + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [esi + 0x1804]
mov edx, dword [ecx + 0x158]
sub edx, 1
mov dword [ecx + 0x158], edx
jne 0x1003ddf4
movss xmm0, dword [ecx + 0x1e4]
jmp 0x1003de00
mov eax, dword [ecx + 0x160]
movss xmm0, dword [eax + edx*4 - 4]
movss dword [ecx + 0x144], xmm0
lea eax, [ebp - 0x58]
movups xmm0, xmmword [esi + 0x14d0]
lea ecx, [esi + 0x1844]
mov dword [ebp - 0x38], 0
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x58], 5
movups xmmword [ebp - 0x54], xmm0
call fcn.1002bb70
mov ecx, dword [0x100d1ec8]
movups xmm0, xmmword [ebp - 0x44]
movups xmmword [esi + 0x14d0], xmm0
mov eax, dword [ecx + 0x1804]
mov byte [eax + 0x8e], 1
mov eax, dword [ecx + 0x1804]
cmp byte [eax + 0x90], 0
jne 0x1003de8b
xorps xmm1, xmm1
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x30], 0
call fcn.10012c80
push ecx
mov edx, 0x100d8a3c
mov ecx, str.Save
call fcn.1001cbc0
add esp, 4
test al, al
je 0x1003e069
mov ecx, 0x100d3ee4
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003deb0
sub ecx, edx
je 0x1003e069
push str.Default
push 0x100d3ee4
call fcn.1008ba76
add esp, 8
test eax, eax
je 0x1003e064
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
push 0x100d21b4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.10008790
mov edi, 0x100d3ee4
lea ecx, [edi + 1]
nop
mov al, byte [edi]
inc edi
test al, al
jne 0x1003df10
mov edx, dword [ebp - 0x18]
sub edi, ecx
mov ecx, dword [ebp - 0x1c]
mov eax, edx
sub eax, ecx
push edi
push 0x100d3ee4
cmp edi, eax
ja 0x1003df4e
cmp edx, 0xf
lea esi, [ebp - 0x2c]
lea eax, [edi + ecx]
cmova esi, dword [ebp - 0x2c]
add esi, ecx
mov dword [ebp - 0x1c], eax
push esi
call fcn.1007d0d0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x1003df5e
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x30]
push edi
call fcn.100089f0
cmp dword [ebp - 0x18], 0xf
lea eax, [ebp - 0x2c]
push 0
cmova eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
call fcn.1003d910
mov ecx, dword [0x100d88dc]
mov eax, 0x2aaaaaab
mov esi, dword [0x100d88d8]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x30], eax
je 0x1003dff4
cmp eax, edi
jbe 0x1003e119
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1003dfaf
mov eax, dword [esi]
mov ecx, 0x100d3ee4
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1003dfd4
test dl, dl
je 0x1003dfd0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1003dfd4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1003dfb4
xor eax, eax
jmp 0x1003dfd9
sbb eax, eax
or eax, 1
test eax, eax
jne 0x1003dfe3
mov dword [0x100d3f10], edi
mov eax, dword [ebp - 0x30]
inc edi
add esi, 0x18
cmp eax, edi
ja 0x1003dfa5
mov esi, dword [0x100d88d8]
mov ecx, dword [0x100d3f10]
cmp eax, ecx
jbe 0x1003e119
lea eax, [ecx + ecx*2]
cmp dword [esi + eax*8 + 0x14], 0xf
lea eax, [esi + eax*8]
jbe 0x1003e011
mov eax, dword [eax]
push eax
call fcn.1005f2b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x18]
cmp ecx, 0xf
jbe 0x1003e052
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1003e048
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1003e11e
push ecx
push edx
call fcn.1007a86d
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.10016a30
mov edx, dword [0x100d1ec8]
mov eax, dword [edx + 0x1804]
mov byte [eax + 0x8e], 1
mov ecx, dword [edx + 0x1804]
cmp byte [ecx + 0x90], 0
jne 0x1003e0cb
movss xmm1, dword [edx + 0x1430]
addss xmm1, dword [ecx + 0xe0]
movss xmm0, dword [ecx + 0xe4]
movss dword [ecx + 0xd8], xmm1
movss dword [ecx + 0xdc], xmm0
mov eax, dword [ecx + 0x100]
mov dword [ecx + 0xf8], eax
mov eax, dword [ecx + 0x104]
mov dword [ecx + 0xfc], eax
push ecx
mov edx, 0x100d8a3c
mov ecx, str.Cancel
call fcn.1001cbc0
add esp, 4
test al, al
je 0x1003e0e7
call fcn.10016a30
mov ecx, 1
call fcn.1001bbf0
call fcn.1002a930
call fcn.1001b030
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.1007a635
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10048fa0
call fcn.100809b1
int3