Function at 0x45b540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b0e77
mov eax, dword fs:[0]
push eax
mov eax, 0xa04c
call fcn.0046e870
mov eax, dword [0x4e0240]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
lea ecx, [ebp - 0xa03c]
push ecx
mov dword [ebp - 0xa038], eax
call fcn.00459fe0
push esi
push eax
lea edx, [ebp - 0xa030]
push edx
mov dword [ebp - 4], 0
call fcn.0040336c
add esp, 0x10
mov eax, dword [ebp - 0xa03c]
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 0x45b5ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xa030]
push ecx
push 0x5000
lea edx, [ebp - 0xa010]
push edx
push 0x4b67c8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x45b775
push 2
lea ecx, [ebp - 0xa058]
call fcn.00413ef0
lea eax, [ebp - 0xa010]
push eax
lea ecx, [ebp - 0xa058]
mov byte [ebp - 4], 3
call fcn.004144b0
mov edi, 7
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0xa018], edi
mov dword [ebp - 0xa01c], ebx
mov word [ebp - 0xa02c], cx
mov esi, vtable.CResponseDecoder.0
mov dword [ebp - 0xa034], esi
push str.135246
lea edx, [ebp - 0xa02c]
push edx
sub esp, 0x10
lea eax, [ebp - 0xa054]
mov ecx, esp
mov dword [ebp - 0xa040], esp
push eax
mov byte [ebp - 4], 5
call fcn.00414c10
lea ecx, [ebp - 0xa034]
call fcn.0049ce20
cmp eax, ebx
je 0x45b733
cmp dword [ebp - 0xa018], 8
jb 0x45b693
mov eax, dword [ebp - 0xa02c]
mov edx, eax
cmp eax, ebx
jne 0x45b699
xor eax, eax
jmp 0x45b6b4
lea edx, [ebp - 0xa02c]
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45b6a0
sub eax, edi
sar eax, 1
mov edi, 7
mov ecx, dword [ebp - 0xa038]
push eax
push edx
call fcn.0040170b
cmp dword [ebp - 0xa018], 8
mov dword [ebp - 0xa034], esi
jb 0x45b6df
mov ecx, dword [ebp - 0xa02c]
push ecx
call fcn.0046d5e2
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xa058]
mov dword [ebp - 0xa018], edi
mov dword [ebp - 0xa01c], ebx
mov word [ebp - 0xa02c], dx
mov byte [ebp - 4], 2
call fcn.00413f30
mov eax, dword [ebp - 0xa030]
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 0x45b72c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x45b79c
cmp dword [ebp - 0xa018], 8
mov dword [ebp - 0xa034], esi
jb 0x45b751
mov ecx, dword [ebp - 0xa02c]
push ecx
call fcn.0046d5e2
add esp, 4
xor edx, edx
lea ecx, [ebp - 0xa058]
mov dword [ebp - 0xa018], edi
mov dword [ebp - 0xa01c], ebx
mov word [ebp - 0xa02c], dx
mov byte [ebp - 4], 2
call fcn.00413f30
mov eax, dword [ebp - 0xa030]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45b79a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046e452
mov esp, ebp
pop ebp
ret