Function at 0x45eb20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5241b7
mov eax, dword fs:[0]
push eax
mov eax, 0x19038
call fcn.004eff30
mov eax, dword [0x567570]
xor eax, esp
mov dword [esp + 0x19034], eax
push ebx
push ebp
push esi
mov eax, dword [0x567570]
xor eax, esp
push eax
lea eax, [esp + 0x19048]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
test esi, esi
je 0x45eea3
push 0x18ffe
push eax
lea ecx, [esp + 0x4e]
push ecx
mov word [esp + 0x50], ax
call fcn.004ee670
add esp, 0xc
push esi
push 0xc800
lea edx, [esp + 0x4c]
push edx
push 0x544c20
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov ebx, eax
lea ebp, [esp + 0x44]
mov eax, ebp
mov dword [esp + 0x24], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45eba7
sub eax, edx
sar eax, 1
mov esi, eax
mov eax, dword [edi + 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
call fcn.00440958
mov eax, dword [edi + 0x18]
mov dword [eax + 4], eax
mov eax, dword [edi + 0x18]
mov dword [edi + 0x1c], 0
mov dword [eax], eax
mov eax, dword [edi + 0x18]
mov dword [eax + 8], eax
jmp 0x45ebe8
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x24]
test esi, esi
je 0x45ee9e
mov edx, ebp
lea eax, [esp + 0x44]
sub edx, eax
sar edx, 1
cmp edx, ebx
jae 0x45ee9e
mov eax, ebp
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45ec07
sub eax, edx
push 0x3d
sar eax, 1
push ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
test esi, esi
je 0x45ee8e
mov ecx, esi
lea edx, [esp + 0x44]
sub ecx, edx
sar ecx, 1
cmp ecx, ebx
jae 0x45ee8e
push esi
lea ecx, [esp + 0x18]
call fcn.00401f01
mov ebx, 1
mov eax, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x19050], 0
call fcn.0041998b
xor eax, eax
push ebp
lea ecx, [esp + 0x14]
mov word [esi], ax
call fcn.00401f01
mov byte [esp + 0x19050], bl
mov ecx, dword [esp + 0x10]
cmp dword [ecx - 0xc], 0
je 0x45ee3b
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x45ecab
push esi
lea ecx, [esp + 0x18]
call fcn.00401d6f
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.004ebe4e
add esp, 8
test esi, esi
jl 0x45eeca
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x45eeca
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.0040157b
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0x19054], 2
mov edx, dword [esp + 0x14]
mov esi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, ebx
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x45ed21
push esi
lea ecx, [esp + 0x18]
call fcn.00401d6f
mov edx, dword [esp + 0x14]
lea eax, [esi + 1]
push eax
push edx
call fcn.004ebe4e
add esp, 8
test esi, esi
jl 0x45eeca
mov eax, dword [esp + 0x14]
cmp esi, dword [eax - 8]
jg 0x45eeca
mov dword [eax - 0xc], esi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov word [edx + esi*2], cx
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x3c], esp
mov esi, esp
push eax
call fcn.0040157b
add eax, 0x10
mov dword [esi], eax
lea eax, [esp + 0x34]
add esp, 4
push eax
mov byte [esp + 0x1905c], bl
call fcn.004541c3
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x19054], 3
call fcn.0045421d
lea edx, [esp + 0x1c]
push edx
push edi
lea ebx, [esp + 0x40]
mov byte [esp + 0x19058], 4
call fcn.00440190
mov byte [esp + 0x19050], 3
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 0x45edd3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45edf3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19050], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x19050], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x19050], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45ee8e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x18]
lea ebp, [ebp + ecx*2 + 2]
test ebp, ebp
jne 0x45ebe0
mov eax, 1
mov ecx, dword [esp + 0x19048]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19034]
xor ecx, esp
call fcn.004ee5a2
add esp, 0x19044
ret
push 0x80070057
call fcn.00402afe
int3