Function at 0x40b500
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44a091
mov eax, dword fs:[0]
push eax
mov eax, 0x3104
call fcn.00434200
mov eax, dword [0x45f684]
xor eax, esp
mov dword [esp + 0x3100], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f684]
xor eax, esp
push eax
lea eax, [esp + 0x3118]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3128]
mov edi, dword [esp + 0x312c]
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ecx
mov esi, edx
mov dword [esp + 0x1c], ebx
call fcn.004115c0
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40b577
push 0x80004005
call fcn.00401080
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x14], ebp
push 0x2ede
lea ecx, [esp + 0x23a]
push ebx
mov dword [esp + 0x3128], ebx
push ecx
mov word [esp + 0x240], bx
call fcn.00431180
push 0x206
lea edx, [esp + 0x3e]
push ebx
push edx
mov word [esp + 0x44], bx
call fcn.00431180
add esp, 0x18
push edi
push 0x1770
lea eax, [esp + 0x23c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
xor eax, eax
jmp 0x40b5e0
cmp word [esp + eax*2 + 0x234], bx
jne 0x40b5f4
cmp word [esp + eax*2 + 0x236], bx
je 0x40b5fe
add eax, 1
cmp eax, 0x1770
jl 0x40b5e0
mov esi, dword [esp + 0x18]
push 0xffffffffffffffff
add eax, 1
push ebx
mov ecx, esi
mov dword [esp + 0x2c], eax
call fcn.0041273c
mov edi, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0041273c
xor eax, eax
cmp dword [esp + 0x24], ebx
mov dword [esp + 0x18], eax
jle 0x40b795
movzx eax, word [esp + eax*2 + 0x234]
mov ecx, dword [esp + 0x1c]
mov word [esp + ecx*2 + 0x2c], ax
add ecx, 1
cmp ax, bx
mov dword [esp + 0x1c], ecx
jne 0x40b780
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40b660
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00401700
push 0x104
lea edx, [esp + 0x30]
push ebx
push edx
call fcn.00431180
mov ebp, dword [esp + 0x20]
add esp, 0xc
cmp dword [ebp - 0xc], ebx
mov dword [esp + 0x1c], ebx
je 0x40b780
jge 0x40b6a9
or eax, 0xffffffff
jmp 0x40b6c4
push 0x453bf0
push ebp
call fcn.0042f51b
add esp, 8
cmp eax, ebx
jne 0x40b6c0
or eax, 0xffffffff
jmp 0x40b6c4
sub eax, ebp
sar eax, 1
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call fcn.00406020
mov byte [esp + 0x3120], 1
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
call fcn.0041288c
mov byte [esp + 0x3120], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b70e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0xc], ebx
jge 0x40b718
or eax, 0xffffffff
jmp 0x40b733
push 0x453bf0
push ebp
call fcn.0042f51b
add esp, 8
cmp eax, ebx
jne 0x40b72f
or eax, 0xffffffff
jmp 0x40b733
sub eax, ebp
sar eax, 1
add eax, 1
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00405ff0
mov byte [esp + 0x3120], 2
mov ecx, dword [edi + 8]
push eax
push ecx
mov ecx, edi
call fcn.0041288c
mov byte [esp + 0x3120], bl
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b780
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x18], eax
jl 0x40b631
mov esi, dword [esi + 8]
lea eax, [ebp - 0x10]
mov dword [esp + 0x3120], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b7bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x3118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3100]
xor ecx, esp
call fcn.0042eae0
add esp, 0x3110
ret