Function at 0x458130
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5cf988
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x629560]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x629560]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x45818a
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.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4581bf
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.004f4ccd
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.00405ba0
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 0x458228
push esi
lea ecx, [esp + 0x14]
call fcn.00405360
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 8], esi
jge 0x458237
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 0x458266
mov edx, dword [ebx - 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00405590
mov ebx, dword [esp + 0x10]
push 0x5c
push ebx
call fcn.004f4ca0
add esp, 8
sub eax, ebx
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
call fcn.00404d30
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xcc], 3
call fcn.00404f90
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 0x4582bc
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.00404db0
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0xd4], 4
call fcn.0041c4d0
add esp, 0xc
push 0x607844
push eax
lea eax, [esp + 0x28]
mov bl, 5
push eax
mov byte [esp + 0xd4], bl
call fcn.00404db0
add esp, 0xc
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xcc], 6
call fcn.00404f90
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 0x458343
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 0x45836b
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 0x458393
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor esi, esi
call fcn.004d4991
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4583af
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 0x6050c4
push ecx
mov byte [esp + 0xd4], 7
call fcn.004057d0
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 0x458439
add esi, 1
push esi
lea ecx, [esp + 0x18]
push 0x6050c4
push ecx
call fcn.004057d0
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 0x458402
mov ecx, dword [0x648fc4]
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 0x458469
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 0x458491
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 0x4584b9
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 0x4584e4
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.004f2719
mov esp, ebp
pop ebp
ret