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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cbfe5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
mov edx, dword [ebp + 8]
mov eax, Ordinal_2
push esi
lea esi, [ecx + 0xaa4]
mov dword [ebp - 0x10], ecx
push edi
mov edi, dword [esi + 0x10]
sub eax, edi
mov ecx, dword [edx + 0x10]
cmp eax, ecx
jb 0x1008fd7a
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x1008fa6b
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
jbe 0x1008fa73
mov edx, dword [edx]
push ecx
push edx
push edi
push eax
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.1008f6c0
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 4], 0
jbe 0x1008fa92
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x74]
call fcn.1008f3b0
cmp dword [ebp - 0x60], 7
lea ecx, [ebp - 0x94]
push 0xffffffffffffffff
push 3
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 1
cmova eax, dword [ebp - 0x74]
push ecx
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0xffff
call fcn.1009d9ac
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x34], eax
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.10080630
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], 0x1014c3c8
test eax, eax
je 0x1008fb37
cmp eax, 1
sete byte [ebp + 0xb]
mov ecx, dword [ebp - 0x60]
cmp ecx, 7
jbe 0x1008fb4f
mov edx, dword [ebp - 0x74]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fb45
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fd7f
jmp 0x1008fb45
mov byte [ebp + 0xb], 1
test ecx, ecx
jne 0x1008fd84
jmp 0x1008fb05
push ecx
push edx
call fcn.1009e622
add esp, 8
cmp byte [ebp + 0xb], 0
jne 0x1008fd38
mov ecx, dword [ebp - 0x10]
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
movups xmmword [ebp - 0x4c], xmm0
mov eax, dword [ecx + 0xa78]
mov edi, dword [ecx + 0xa74]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1008fbc7
nop word [eax + eax]
mov esi, dword [edi]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0xf
jbe 0x1008fb98
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x1008fba2
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x5c]
push ecx
push 0x100d46c0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add edi, 4
lea eax, [ebp - 0x5c]
mov dword [esi + 0x30], eax
cmp edi, dword [ebp + 8]
jne 0x1008fb80
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xa84]
mov edi, dword [ecx + 0xa80]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1008fc32
nop word [eax + eax]
mov esi, dword [edi]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0xf
jbe 0x1008fbf8
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x1008fc02
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x5c]
push ecx
push 0x100d46c0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x5c]
push eax
call fcn.100b1e09
mov ecx, dword [esi + 0x30]
add edi, 4
add esp, 4
mov dword [ecx], eax
cmp edi, dword [ebp + 8]
jne 0x1008fbe0
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xa90]
mov edi, dword [ecx + 0xa8c]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x1008fcbd
mov esi, dword [edi]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0xf
jbe 0x1008fc5d
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x1008fc67
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x5c]
push ecx
push 0x100d46c0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x100d9098
lea eax, [ebp - 0x5c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1008fca3
test dl, dl
je 0x1008fc9f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1008fca3
add eax, 2
add ecx, 2
test dl, dl
jne 0x1008fc83
xor eax, eax
jmp 0x1008fca8
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 0x1008fc45
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xa9c]
mov edi, dword [ecx + 0xa98]
mov dword [ebp - 0x10], eax
cmp edi, eax
je 0x1008fd29
mov esi, dword [edi]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 0xf
jbe 0x1008fce8
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x1008fcf2
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x5c]
push ecx
push 0x100d46c0
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x5c]
push eax
call fcn.100b0b35
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 0x1008fcd0
mov eax, dword [0x102b7020]
mov dword [eax + 0x174], 0xffffffff
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
cmp ecx, 0xf
jbe 0x1008fd6a
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1008fd60
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1008fd96
push ecx
push edx
call fcn.1009e622
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
call fcn.1000df30
call fcn.100a3e9f
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x30]
push eax
push str.exists
call fcn.10095a80
call fcn.100a3e9f
int3