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

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 0x10096f65
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x60
mov edx, dword [ebx + 8]
mov eax, Ordinal_2
push esi
lea esi, [ecx + 0x3f8]
mov dword [ebp - 0x18], ecx
push edi
mov edi, dword [esi + 0x10]
sub eax, edi
mov ecx, dword [edx + 0x10]
cmp eax, ecx
jb 0x1006708f
cmp dword [esi + 0x14], 0xf
mov eax, esi
jbe 0x10066e2c
mov eax, dword [esi]
cmp dword [edx + 0x14], 0xf
jbe 0x10066e34
mov edx, dword [edx]
push ecx
push edx
push edi
push eax
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x34]
call fcn.100225a0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0xf
jbe 0x10066e53
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x20], 0xf
lea eax, [ebp - 0x34]
push dword [ebp - 0x24]
cmova eax, dword [ebp - 0x34]
push eax
call fcn.1006c363
mov edx, eax
lea ecx, [ebp - 0x4c]
call fcn.10062040
add esp, 8
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10062aa0
mov ecx, dword [ebp - 0x38]
mov byte [ebp - 0x11], al
cmp ecx, 7
jbe 0x10066ec9
mov edx, dword [ebp - 0x4c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x10066ebc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067094
push ecx
push edx
call fcn.1006d0c3
mov al, byte [ebp - 0x11]
add esp, 8
test al, al
je 0x1006704a
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x6c], xmm0
movups xmmword [ebp - 0x5c], xmm0
mov eax, dword [ecx + 0x3d8]
mov edi, dword [ecx + 0x3d4]
mov dword [ebp - 0x1c], eax
cmp edi, eax
je 0x10066f44
mov esi, dword [edi]
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
lea eax, [esi + 0x18]
cmova edx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 0xf
jbe 0x10066f0a
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x10066f14
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x6c]
push edx
push 0x100a68d3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x6c]
push eax
call fcn.1007d717
mov ecx, dword [esi + 0x30]
add edi, 4
add esp, 4
mov dword [ecx], eax
cmp edi, dword [ebp - 0x1c]
jne 0x10066ef2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x3e4]
mov edi, dword [ecx + 0x3e0]
mov dword [ebp - 0x1c], eax
cmp edi, eax
je 0x10066fcf
mov esi, dword [edi]
lea edx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
lea eax, [esi + 0x18]
cmova edx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 0xf
jbe 0x10066f6f
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x10066f79
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x6c]
push edx
push 0x100a68d3
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, str.true
lea eax, [ebp - 0x6c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10066fb5
test dl, dl
je 0x10066fb1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10066fb5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10066f95
xor eax, eax
jmp 0x10066fba
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 - 0x1c]
jne 0x10066f57
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x3f0]
mov edi, dword [ecx + 0x3ec]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x1006703b
mov esi, dword [edi]
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x34]
cmp dword [eax + 0x14], 0xf
jbe 0x10066ffa
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10067004
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x6c]
push ecx
push 0x100a68d3
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x6c]
push eax
call fcn.1007d4d5
mov eax, dword [esi + 0x30]
add edi, 4
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
add esp, 4
movss dword [eax], xmm0
cmp edi, dword [ebp - 0x18]
jne 0x10066fe2
mov eax, dword [0x100c4f44]
mov dword [eax + 0x174], 0xffffffff
mov ecx, dword [ebp - 0x20]
cmp ecx, 0xf
jbe 0x1006707a
mov edx, dword [ebp - 0x34]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10067070
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10067099
push ecx
push edx
call fcn.1006d0c3
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.100031a0
call fcn.10072452
call fcn.10072452
int3