Function at 0x420e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0a70
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x52de08]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 1
lea ecx, [ebx + 0x18]
call fcn.0041f410
mov eax, dword [esi - 8]
mov edi, dword [ebx + 0x34]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x7d0
or eax, ecx
jge 0x420e88
push 0x7d0
lea ecx, [ebp - 0x18]
call fcn.00406e80
mov esi, dword [ebp - 0x18]
mov eax, 0x7d0
cmp dword [esi - 8], eax
jge 0x420e9c
push 0x80070057
call fcn.00406170
push edi
push eax
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + 0xfa0], cx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionNamesW]
mov dword [ebx + 0x30], eax
test eax, eax
js 0x420e92
cmp eax, dword [esi - 8]
jg 0x420e92
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
mov eax, dword [0x52ddd4]
mov edx, dword [eax + 0xc]
mov ecx, 0x52ddd4
call edx
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
xor edx, edx
mov dword [ebp - 0x14], edx
cmp dword [ebx + 0x30], edx
jle 0x420faf
test edx, edx
js 0x420e92
cmp edx, dword [esi - 0xc]
jg 0x420e92
movzx eax, word [esi + edx*2]
test ax, ax
je 0x421004
cmp edx, dword [esi - 0xc]
jg 0x420e92
movzx eax, word [esi + edx*2]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x24]
push ecx
call fcn.0041f750
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea ebx, [edi - 0x10]
cmp eax, ebx
je 0x420f79
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x420f69
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x420f69
push eax
call fcn.00406ee0
mov dword [ebp - 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x420f5e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov edi, dword [ebp - 0x20]
add edi, 0x10
mov dword [ebp - 0x10], edi
jmp 0x420f79
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00407200
mov edi, dword [ebp - 0x10]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420f9c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
inc edx
mov dword [ebp - 0x14], edx
cmp edx, dword [ebx + 0x30]
jl 0x420eed
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x420fcf
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x420ff2
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edi - 0xc], 0
je 0x42101a
mov eax, dword [ebx + 0x1c]
push edi
push eax
lea ecx, [ebx + 0x18]
call fcn.00420d40
mov edx, dword [ebp - 0x14]
cmp dword [edi - 0xc], 0
mov ecx, dword [edi - 0x10]
lea eax, [edi - 0x10]
mov dword [ebp - 0x20], ecx
je 0x420fa2
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
jge 0x421051
cmp dword [edi - 8], 0
jl 0x420e92
xor eax, eax
mov dword [edi - 0xc], 0
mov word [edi], ax
jmp 0x420fa2
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421067
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x10], edi
jmp 0x420f9f