Function at 0x406ab0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43cddb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44f418]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, 0x450cb4
mov dword [esp + 0x24], 0
call fcn.00409b15
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x406d56
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x14], ebx
lea ecx, [esp + 0x18]
mov dword [esp + 0x44], 0
call fcn.004045a0
mov byte [esp + 0x44], 1
mov ecx, dword [ebp - 8]
mov edx, dword [esp + 0x18]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00404650
add esp, 0xc
mov byte [esp + 0x44], 2
mov ecx, dword [esp + 0x20]
push ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x34], vtable.CIniFile.0
call fcn.00403b50
mov byte [esp + 0x44], 3
mov edx, dword [esp + 0x34]
mov eax, dword [ebp]
mov ecx, dword [ebp - 4]
push edx
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jne 0x406c4b
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea edx, [esp + 0x24]
push edx
call fcn.00404650
add esp, 0xc
mov byte [esp + 0x44], 4
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 4]
mov ecx, dword [ebp - 4]
lea eax, [esp + 0x30]
push eax
lea esi, [esp + 0x2c]
call fcn.00405090
mov byte [esp + 0x44], 5
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [ebx - 0x10]
cmp eax, esi
je 0x406c01
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x406bef
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x406bef
push eax
call fcn.00403ad0
mov ebx, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x406be6
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x14], ebx
jmp 0x406c01
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403e70
mov ebx, dword [esp + 0x14]
mov byte [esp + 0x44], 4
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 0x406c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 3
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 0x406c4b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebx - 0xc], 0
je 0x406c8e
push 0x28
call fcn.0040900c
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
mov byte [esp + 0x44], 6
je 0x406c76
mov ecx, dword [ebp - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00406df0
jmp 0x406c78
xor eax, eax
mov ecx, dword [esp + 0x4c]
add ecx, 0xc
mov byte [esp + 0x44], 3
mov edx, dword [ecx + 8]
push eax
push edx
call fcn.0040930e
mov byte [esp + 0x44], 2
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov dword [esp + 0x30], vtable.CIniFile.0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x406cbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 1
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 0x406ce0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d05
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x44], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406d29
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, dword [esp + 0x24]
add eax, 0x18
add ebp, 0x18
cmp eax, 0x48
mov dword [esp + 0x24], eax
jb 0x406ae4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4
push 0x80004005
call fcn.004038c0
int3