Function at 0x415f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c968
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x43d8bc]
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 [0x43fa40]
mov edx, dword [eax + 0xc]
mov ecx, 0x43fa40
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.00401100
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.00401100
add eax, 0x10
add esp, 8
mov dword [ebp - 0x20], eax
mov eax, dword [0x43edcc]
xor esi, esi
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x18], esi
call fcn.004180b0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 6
call fcn.00417f50
test al, al
jne 0x415fb7
push 0x4382e0
lea ecx, [ebp - 0x12]
push ecx
mov byte [ebp - 0x12], al
call fcn.0041cc1b
cmp dword [ebx + 0x20], 0
jne 0x4160c0
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebx + 4]
mov edi, 0x2710
call fcn.00418640
test al, al
jne 0x415feb
push 0x4382e0
lea ecx, [ebp - 0x13]
push ecx
mov byte [ebp - 0x13], al
call fcn.0041cc1b
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041d8c2
mov esi, eax
add esp, 4
test esi, esi
mov dword [ebp - 0x18], esi
jne 0x416026
mov byte [ebp - 0x14], al
push 0x4382e0
lea eax, [ebp - 0x14]
push eax
call fcn.0041cc1b
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
push ecx
push edi
push esi
push edx
mov dword [esi], 0
call ebx
lea ecx, [edi - 2]
cmp eax, ecx
je 0x4160a5
mov edi, esi
mov bl, 7
cmp word [edi], 0
je 0x4160c0
push edi
lea ecx, [ebp - 0x1c]
call fcn.00407ef0
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], bl
call edx
mov eax, dword [ebp - 0x1c]
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 0x416086
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
lea edx, [eax + 2]
jmp 0x416090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416090
sub eax, edx
sar eax, 1
lea edi, [edi + eax*2 + 2]
jmp 0x416043
push esi
call fcn.0041d4bb
add esp, 4
mov dword [ebp - 0x18], 0
add edi, 0x3e8
jmp 0x415ff1
mov dword [ebp - 4], 5
jmp 0x4160dd
test esi, esi
je 0x4160ea
push esi
call fcn.0041d4bb
add esp, 4
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.00417fc0
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 0x416119
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 0x41613c
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 0x41615f
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 0x416182
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 0x4161a8
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