Function at 0x1005e360
Capabilities:
Create directory
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008a8e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov edx, dword [ebp + 8]
mov eax, 0x7fffffff
push esi
lea esi, [ecx + 0x678]
mov dword [ebp - 0x10], ecx
push edi
mov edi, dword [esi + 0x10]
sub eax, edi
mov ecx, dword [edx + 0x10]
cmp eax, ecx
jb 0x1005e5fc
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1005e3a8
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
jbe 0x1005e3b0
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 0x1005e3cf
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov byte [ebp + 8], 0
lea edx, [ebp - 0x2c]
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.1005eb40
add esp, 4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.10059560
mov ecx, dword [ebp - 0x30]
mov byte [ebp + 0xb], al
cmp ecx, 7
jbe 0x1005e439
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e42c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e601
push ecx
push edx
call fcn.100665d1
mov al, byte [ebp + 0xb]
add esp, 8
test al, al
je 0x1005e5ba
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x64], xmm0
movups xmmword [ebp - 0x54], xmm0
mov eax, dword [ecx + 0x640]
mov edi, dword [ecx + 0x63c]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1005e4b4
mov esi, dword [edi]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + 0x18]
cmova edx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 0xf
jbe 0x1005e47a
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x1005e484
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x64]
push edx
push 0x100996f8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x64]
push eax
call fcn.10074ffb
mov ecx, dword [esi + 0x30]
add edi, 4
add esp, 4
mov dword [ecx], eax
cmp edi, dword [ebp + 8]
jne 0x1005e462
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x64c]
mov edi, dword [ecx + 0x648]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1005e53f
mov esi, dword [edi]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + 0x18]
cmova edx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 0xf
jbe 0x1005e4df
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x1005e4e9
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x64]
push edx
push 0x100996f8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, str.true
lea eax, [ebp - 0x64]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1005e525
test dl, dl
je 0x1005e521
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1005e525
add eax, 2
add ecx, 2
test dl, dl
jne 0x1005e505
xor eax, eax
jmp 0x1005e52a
sbb eax, eax
or eax, 1
test eax, eax
mov eax, dword [esi + 0x30]
sete cl
add edi, 4
mov byte [eax], cl
cmp edi, dword [ebp + 8]
jne 0x1005e4c7
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x658]
mov edi, dword [ecx + 0x654]
mov dword [ebp - 0x10], eax
cmp edi, eax
je 0x1005e5ab
mov esi, dword [edi]
lea edx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0xf
lea eax, [esi + 0x18]
cmova edx, dword [ebp - 0x2c]
cmp dword [eax + 0x14], 0xf
jbe 0x1005e56a
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x1005e574
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x64]
push edx
push 0x100996f8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x64]
push eax
call fcn.10074e35
mov eax, dword [esi + 0x30]
add edi, 4
fstp dword [ebp + 8]
movss xmm0, dword [ebp + 8]
add esp, 4
movss dword [eax], xmm0
cmp edi, dword [ebp - 0x10]
jne 0x1005e552
mov eax, dword [0x100cc124]
mov dword [eax + 0x174], 0xffffffff
mov ecx, dword [ebp - 0x18]
pop edi
pop esi
cmp ecx, 0xf
jbe 0x1005e5ec
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e5e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e606
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
call fcn.1006a6f2
int3