Function at 0x4171d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cb90
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43f838]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov eax, dword [0x440620]
mov edx, dword [eax + 0xc]
mov ecx, 0x440620
mov dword [ebp - 4], 1
mov byte [ebp - 0x11], 1
call edx
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 2
call fcn.00401110
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
push eax
mov byte [ebp - 4], 3
call fcn.00401110
add eax, 0x10
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [0x440c2c]
xor edi, edi
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x1c], edi
call fcn.00419a40
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00419890
test al, al
jne 0x417287
push 0x439bd4
lea ecx, [ebp - 0x12]
push ecx
mov byte [ebp - 0x12], al
call fcn.0041e4c5
cmp dword [ebx + 0x20], 0
jne 0x4173ea
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 4]
mov esi, 0x2710
call fcn.0041a040
test al, al
jne 0x4172bb
push 0x439bd4
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], al
call fcn.0041e4c5
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041ed8f
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x4172f6
mov byte [ebp - 0x14], al
push 0x439bd4
lea eax, [ebp - 0x14]
push eax
call fcn.0041e4c5
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push esi
push edi
push edx
mov dword [edi], 0
call ebx
lea ecx, [esi - 2]
cmp eax, ecx
je 0x4173cf
mov esi, edi
cmp word [esi], 0
je 0x4173ea
mov edx, dword [0x440620]
mov eax, dword [edx + 0xc]
mov ecx, 0x440620
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 7
test esi, 0xffff0000
jne 0x41735f
movzx ebx, si
push 0
push ebx
call fcn.00401600
add esp, 8
test eax, eax
je 0x41737d
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.004078f0
jmp 0x41737d
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x417364
sub eax, edx
sar eax, 1
push eax
push esi
lea ecx, [ebp - 0x18]
call fcn.00401250
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 8
call edx
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4173b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4173b7
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
jmp 0x417315
push edi
call fcn.0041ec2b
add esp, 4
mov dword [ebp - 0x1c], 0
add esi, 0x3e8
jmp 0x4172c1
mov dword [ebp - 4], 5
jmp 0x417407
test edi, edi
je 0x417414
push edi
call fcn.0041ec2b
add esp, 4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00419900
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417443
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417466
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x417489
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4174ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4174d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8