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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], 0
je 0x100054ad
mov eax, dword [0x1019c354]
push 0
push str.C:illusium_
mov dword [eax + 0x174], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esi + 0x10]
mov eax, closesocket
sub eax, ecx
cmp eax, 0xc
jb 0x100054b5
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x10005303
mov eax, dword [esi]
push edi
push ecx
push eax
push 0xc
push str.C:illusium_
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.10004650
mov eax, dword [ebx + 4]
xorps xmm0, xmm0
mov edi, dword [ebx]
movups xmmword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
cmp edi, eax
je 0x10005382
mov ebx, eax
nop
mov esi, dword [edi]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
lea eax, [esi + 0x18]
cmovae edx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x10005348
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10005352
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x3c]
push edx
push 0x100e41b4
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov ecx, dword [esi + 0x30]
add edi, 4
add esp, 4
mov dword [ecx], eax
cmp edi, ebx
jne 0x10005330
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x28]
mov edi, dword [ebx + 0x24]
mov dword [ebp + 8], eax
cmp edi, eax
je 0x100053ed
mov ebx, eax
mov esi, dword [edi]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
lea eax, [esi + 0x18]
cmovae edx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x100053a9
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x100053b3
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x3c]
push edx
push str.0.0f
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atof]
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, ebx
jne 0x10005391
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x18]
mov ebx, eax
mov dword [ebp + 8], eax
cmp edi, ebx
je 0x10005476
mov esi, dword [edi]
lea edx, [ebp - 0x1c]
cmp dword [ebp - 8], 0x10
lea eax, [esi + 0x18]
cmovae edx, dword [ebp - 0x1c]
cmp dword [eax + 0x14], 0x10
jb 0x10005418
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10005422
mov ecx, dword [esi]
push edx
push 0x20
lea edx, [ebp - 0x3c]
push edx
push 0x100e39a8
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x100e39b0
lea eax, [ebp - 0x3c]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005460
test dl, dl
je 0x1000545c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005460
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005440
xor eax, eax
jmp 0x10005465
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, ebx
jne 0x10005400
mov edx, dword [ebp - 8]
pop edi
cmp edx, 0x10
jb 0x100054ad
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100054a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100054a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.100dbfa3
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10003370
int3