Function at 0x458290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cfc38
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x628560]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x628560]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4582ea
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0xc8], 0
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45831f
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x10], ebx
push 0
mov byte [esp + 0xcc], 1
call fcn.004f502d
add esp, 4
lea ecx, [esp + 0x2c]
push ecx
mov esi, str._Y__m__d
lea edi, [esp + 0x20]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
call fcn.00405aa0
mov byte [esp + 0xc8], 2
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
mov esi, 0x401
sub eax, esi
or eax, ecx
jge 0x458388
push esi
lea ecx, [esp + 0x14]
call fcn.00405260
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 8], esi
jge 0x458397
push 0x80070057
call fcn.00404150
push 0x400
push ebx
mov dword [ebx - 0xc], esi
push 0
mov byte [ebx + 0x401], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [ebx - 4], 1
jle 0x4583c6
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00405490
mov ebx, dword [esp + 0x10]
push 0x5c
push ebx
call fcn.004f5000
add esp, 8
sub eax, ebx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00404c40
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 3
call fcn.00404ec0
mov byte [esp + 0xc8], 2
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 0x45841c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Log_
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00404cc0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xd4], 4
call fcn.0041c6f0
add esp, 0xc
push 0x607074
push eax
lea eax, [esp + 0x28]
mov bl, 5
push eax
mov byte [esp + 0xd4], bl
call fcn.00404cc0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 6
call fcn.00404ec0
mov byte [esp + 0xc8], 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 0x4584a3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc8], 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 0x4584cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc8], 2
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4584f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
call fcn.004d4cf7
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45850f
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
lea ecx, [esp + 0x18]
push 0x6050ec
push ecx
mov byte [esp + 0xd4], 7
call fcn.004056d0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push edx
push 0x80
lea eax, [esp + 0x3c]
push eax
push 0
push str.USER
push edi
call ebx
test eax, eax
je 0x458599
add esi, 1
push esi
lea ecx, [esp + 0x18]
push 0x6050ec
push ecx
call fcn.004056d0
mov edx, dword [esp + 0x24]
mov edi, dword [esp + 0x20]
add esp, 0xc
push edx
push 0x80
lea eax, [esp + 0x3c]
push eax
push 0
push str.USER
push edi
call ebx
test eax, eax
jne 0x458562
mov ecx, dword [0x647fdc]
add edi, 0xfffffff0
mov dword [ecx + 0xec], esi
mov byte [esp + 0xc8], 2
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4585c9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov byte [esp + 0xc8], 1
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 0x4585f1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xc8], 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 0x458619
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xc8], 0xffffffff
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 0x458644
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.004f2a78
mov esp, ebp
pop ebp
ret