Function at 0x10092240
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 0x100f3af5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x78
mov edx, dword [ecx + 0x510]
mov eax, bind
push esi
lea esi, [ecx + 0x500]
mov dword [ebp - 0x18], ecx
push edi
mov edi, dword [0x10291ba0]
sub eax, edx
cmp eax, edi
jb 0x1009256a
cmp dword [esi + 0x14], 0xf
mov ecx, esi
jbe 0x1009229f
mov ecx, dword [esi]
cmp dword [0x10291ba4], 0xf
mov eax, 0x10291b90
push edi
cmova eax, dword [0x10291b90]
push eax
push edx
push ecx
push ecx
push dword [ebp - 0x20]
lea ecx, [ebp - 0x4c]
call fcn.10042bb0
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 0xf
jbe 0x100922d1
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp dword [ebp - 0x38], 0xf
lea eax, [ebp - 0x4c]
push dword [ebp - 0x3c]
cmova eax, dword [ebp - 0x4c]
push eax
call fcn.100f0493
mov edx, eax
lea ecx, [ebp - 0x64]
call fcn.10081e70
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x64]
call fcn.10083250
add esp, 0xc
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
movq qword [ebp - 0x34], xmm0
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], 0x10173494
test eax, eax
je 0x10092361
cmp eax, 1
sete byte [ebp - 0x11]
mov ecx, dword [ebp - 0x50]
cmp ecx, 7
jbe 0x10092379
mov edx, dword [ebp - 0x64]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1009236f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009236f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov byte [ebp - 0x11], 1
test ecx, ecx
jne 0x1009256f
jmp 0x1009232f
push ecx
push edx
call fcn.100eebed
add esp, 8
cmp byte [ebp - 0x11], 0
jne 0x1009251f
mov ecx, dword [ebp - 0x18]
xorps xmm0, xmm0
movups xmmword [ebp - 0x84], xmm0
movups xmmword [ebp - 0x74], xmm0
mov eax, dword [ecx + 0x4e0]
mov edi, dword [ecx + 0x4dc]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x10092400
mov esi, dword [edi]
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0xf
jbe 0x100923bf
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100923c9
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x84]
push ecx
push 0x101053bf
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x84]
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, dword [ebp - 0x20]
jne 0x100923a7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x4ec]
mov edi, dword [ecx + 0x4e8]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x1009249a
mov esi, dword [edi]
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0xf
jbe 0x1009242f
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x10092439
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x84]
push ecx
push 0x101053bf
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, str.true
lea eax, [ebp - 0x84]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10092480
test dl, dl
je 0x1009247c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10092480
add eax, 2
add ecx, 2
test dl, dl
jne 0x10092460
xor eax, eax
jmp 0x10092485
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 - 0x20]
jne 0x10092417
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x4f8]
mov edi, dword [ecx + 0x4f4]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x10092510
nop dword [eax]
mov esi, dword [edi]
lea ecx, [ebp - 0x4c]
cmp dword [ebp - 0x38], 0xf
lea eax, [esi + 0x18]
cmova ecx, dword [ebp - 0x4c]
cmp dword [eax + 0x14], 0xf
jbe 0x100924c8
mov eax, dword [eax]
cmp dword [esi + 0x14], 0xf
mov edx, esi
jbe 0x100924d2
mov edx, dword [esi]
push ecx
push 0x20
lea ecx, [ebp - 0x84]
push ecx
push 0x101053bf
push eax
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x84]
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 - 0x20]
movss xmm0, dword [ebp - 0x20]
add esp, 4
movss dword [eax], xmm0
cmp edi, dword [ebp - 0x18]
jne 0x100924b0
mov eax, dword [0x1028f800]
mov dword [eax + 0x174], 0xffffffff
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x10092555
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1009254b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1009254b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100eebed
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.10009730
lea eax, [ebp - 0x64]
push eax
lea edx, [ebp - 0x24]
call fcn.1008d210
int3