Function at 0x1005e110
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008821d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov edx, dword [ebp + 8]
mov eax, 0x7fffffff
push ebx
mov ebx, ecx
push esi
mov ecx, dword [edx + 0x10]
lea esi, [ebx + 0x678]
push edi
mov edi, dword [esi + 0x10]
sub eax, edi
mov dword [ebp - 0x10], ebx
cmp eax, ecx
jb 0x1005e34d
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1005e15b
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
jbe 0x1005e163
mov edx, dword [edx]
push ecx
push edx
push edi
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x2c]
call fcn.1000bc50
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0xf
jbe 0x1005e182
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [ebx + 0x640]
mov edi, dword [ebx + 0x63c]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1005e220
mov esi, dword [edi]
lea ebx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x44]
cmova ebx, dword [ebp - 0x2c]
mov edx, dword [esi + 0x30]
mov edx, dword [edx]
call fcn.10008650
cmp dword [eax + 0x14], 0xf
jbe 0x1005e1c4
mov eax, dword [eax]
cmp dword [esi + 0x2c], 0xf
lea ecx, [esi + 0x18]
jbe 0x1005e1cf
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0xf
jbe 0x1005e1d7
mov esi, dword [esi]
push ebx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1005e215
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e20b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e352
push ecx
push edx
call fcn.100665d1
add esp, 8
add edi, 4
cmp edi, dword [ebp + 8]
jne 0x1005e1a2
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebx + 0x64c]
mov esi, dword [eax + 0x648]
cmp esi, ebx
je 0x1005e27a
mov ecx, dword [esi]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
mov edi, str.true
cmova edx, dword [ebp - 0x2c]
mov eax, dword [ecx + 0x30]
cmp byte [eax], 0
mov eax, str.false
cmove edi, eax
cmp dword [ecx + 0x2c], 0xf
lea eax, [ecx + 0x18]
jbe 0x1005e25e
mov eax, dword [eax]
cmp dword [ecx + 0x14], 0xf
jbe 0x1005e266
mov ecx, dword [ecx]
push edx
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esi, 4
cmp esi, ebx
jne 0x1005e233
mov eax, dword [ebp - 0x10]
mov edi, dword [eax + 0x654]
mov eax, dword [eax + 0x658]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1005e30a
mov esi, dword [edi]
lea ebx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x44]
cmova ebx, dword [ebp - 0x2c]
mov eax, dword [esi + 0x30]
movss xmm1, dword [eax]
call fcn.10059620
cmp dword [eax + 0x14], 0xf
jbe 0x1005e2b5
mov eax, dword [eax]
cmp dword [esi + 0x2c], 0xf
lea ecx, [esi + 0x18]
jbe 0x1005e2c0
mov ecx, dword [ecx]
cmp dword [esi + 0x14], 0xf
jbe 0x1005e2c8
mov esi, dword [esi]
push ebx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x30]
cmp ecx, 0xf
jbe 0x1005e302
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e2f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e352
push ecx
push edx
call fcn.100665d1
add esp, 8
add edi, 4
cmp edi, dword [ebp + 8]
jne 0x1005e291
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
cmp ecx, 0xf
jbe 0x1005e33d
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e333
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e352
push ecx
push edx
call fcn.100665d1
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.10003020
call fcn.1006a6f2
int3