Function at 0x41f060
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5c0dd8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x617560]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c]
push 1
mov ecx, esi
call fcn.004cfbc8
mov eax, dword [esi + 0x94]
xor ebp, ebp
push ebp
push ebp
push 0x1009
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
add esi, 0xc8
push esi
mov esi, str._Y__m__d
lea edi, [esp + 0x30]
call fcn.00405a10
mov dword [esp + 0x44], ebp
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f0dd
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 + 0x1c], eax
mov byte [esp + 0x44], 1
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f10c
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x14], esi
mov byte [esp + 0x44], 2
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
mov edi, 0x401
sub eax, edi
or eax, ecx
jge 0x41f145
push edi
lea ecx, [esp + 0x18]
call fcn.004051d0
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x41f154
push 0x80070057
call fcn.00404150
push 0x400
push esi
mov dword [esi - 0xc], edi
push ebp
mov byte [esi + 0x401], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [esi - 4], 1
jle 0x41f182
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405400
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004e5ac0
add esp, 8
sub eax, esi
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404c00
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.00404e30
mov byte [esp + 0x44], 2
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 0x41f1d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Log_
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.00404c80
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x5c], 4
call fcn.004165d0
push 0x5f6704
push eax
lea eax, [esp + 0x50]
mov bl, 5
push eax
mov byte [esp + 0x68], bl
call fcn.00404c80
add esp, 0x24
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 6
call fcn.00404e30
mov byte [esp + 0x44], bl
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f247
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 4
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f26c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x44], 2
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f291
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f2ab
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x20], edi
mov byte [esp + 0x44], 7
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f2da
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 + 0x24], ebx
mov byte [esp + 0x44], 8
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f309
push 0x80004005
call fcn.00404150
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
mov byte [esp + 0x44], 9
call fcn.004c5661
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f338
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
push 0
lea ecx, [esp + 0x1c]
push 0x5f5034
push ecx
mov byte [esp + 0x50], 0xa
call fcn.00405640
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x20
add esp, 0xc
or eax, ecx
jge 0x41f382
push 0x20
lea ecx, [esp + 0x24]
call fcn.004051d0
mov edi, dword [esp + 0x20]
mov eax, 0x20
cmp dword [edi - 8], eax
jge 0x41f396
push 0x80070057
call fcn.00404150
mov edx, dword [esp + 0x1c]
push edx
push eax
push edi
push 0
mov dword [edi - 0xc], eax
mov eax, dword [esp + 0x28]
push str.USER
push eax
mov byte [edi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x41f50b
mov ecx, dword [esp + 0x4c]
add ecx, 0x74
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x4c]
push 0
push 0
push 0
push 0
push edi
push ebp
push 1
call fcn.004ca3cb
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x80
or eax, ecx
jge 0x41f404
push 0x80
lea ecx, [esp + 0x28]
call fcn.004051d0
mov ebx, dword [esp + 0x24]
mov eax, 0x80
cmp dword [ebx - 8], eax
jl 0x41f14a
mov edx, dword [esp + 0x1c]
push edx
push eax
push ebx
push 0
mov dword [ebx - 0xc], eax
mov eax, dword [esp + 0x28]
push str.EVENT
push eax
mov byte [ebx + 0x80], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x4c]
push ebx
push 1
push ebp
call fcn.004c9e9d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x20
or eax, ecx
jge 0x41f463
push 0x20
lea ecx, [esp + 0x2c]
call fcn.004051d0
mov esi, dword [esp + 0x28]
mov eax, 0x20
cmp dword [esi - 8], eax
jl 0x41f14a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push eax
push esi
push 0
push str.TIME
mov dword [esi - 0xc], eax
push edx
mov byte [esi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, dword [esp + 0x4c]
push esi
push 2
push ebp
call fcn.004c9e9d
add ebp, 1
push ebp
lea eax, [esp + 0x1c]
push 0x5f5034
push eax
call fcn.00405640
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x20
add esp, 0xc
or eax, ecx
jge 0x41f4d5
push 0x20
lea ecx, [esp + 0x24]
call fcn.004051d0
mov edi, dword [esp + 0x20]
mov eax, 0x20
cmp dword [edi - 8], eax
jl 0x41f14a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push ecx
push eax
push edi
push 0
push str.USER
mov dword [edi - 0xc], eax
push edx
mov byte [edi + 0x20], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x41f3c9
mov byte [esp + 0x44], 9
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 0x41f530
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov byte [esp + 0x44], 8
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f551
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
add ebx, 0xfffffff0
mov byte [esp + 0x44], 7
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41f572
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
add edi, 0xfffffff0
mov byte [esp + 0x44], 2
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f593
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov byte [esp + 0x44], 1
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 0x41f5b8
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 + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41f5dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x44], 0xffffffff
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 0x41f605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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