Function at 0x417240
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42cbf0
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.00419ab0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00419900
test al, al
jne 0x4172f7
push 0x439bb4
lea ecx, [ebp - 0x12]
push ecx
mov byte [ebp - 0x12], al
call fcn.0041e525
cmp dword [ebx + 0x20], 0
jne 0x41745a
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 4]
mov esi, 0x2710
call fcn.0041a0b0
test al, al
jne 0x41732b
push 0x439bb4
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], al
call fcn.0041e525
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.0041edef
mov edi, eax
add esp, 4
mov dword [ebp - 0x1c], edi
test edi, edi
jne 0x417366
mov byte [ebp - 0x14], al
push 0x439bb4
lea eax, [ebp - 0x14]
push eax
call fcn.0041e525
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 0x41743f
mov esi, edi
cmp word [esi], 0
je 0x41745a
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 0x4173cf
movzx ebx, si
push 0
push ebx
call fcn.004016c0
add esp, 8
test eax, eax
je 0x4173ed
push ebx
push eax
lea ecx, [ebp - 0x18]
call fcn.004079c0
jmp 0x4173ed
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4173d4
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 0x417422
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 0x417427
sub eax, edx
sar eax, 1
lea esi, [esi + eax*2 + 2]
jmp 0x417385
push edi
call fcn.0041ec8b
add esp, 4
mov dword [ebp - 0x1c], 0
add esi, 0x3e8
jmp 0x417331
mov dword [ebp - 4], 5
jmp 0x417477
test edi, edi
je 0x417484
push edi
call fcn.0041ec8b
add esp, 4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00419970
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 0x4174b3
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 0x4174d6
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 0x4174f9
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 0x41751c
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 0x417542
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