Function at 0x41f3f0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x513978
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5566e0]
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.004cd222
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.00405a40
mov dword [esp + 0x44], ebp
call fcn.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f46d
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.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f49c
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 0x41f4d5
push edi
lea ecx, [esp + 0x18]
call fcn.00405200
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x41f4e4
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 0x41f512
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405430
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004e2fb0
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.00404e60
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 0x41f562
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.0041ac70
push 0x52be9c
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.00404e60
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 0x41f5d7
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 0x41f5fc
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 0x41f621
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f63b
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.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f66a
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.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f699
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.004c2ca4
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f6c8
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 0x529a7c
push ecx
mov byte [esp + 0x50], 0xa
call fcn.00405670
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x20
add esp, 0xc
or eax, ecx
jge 0x41f712
push 0x20
lea ecx, [esp + 0x24]
call fcn.00405200
mov edi, dword [esp + 0x20]
mov eax, 0x20
cmp dword [edi - 8], eax
jge 0x41f726
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 0x41f89b
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.004c7a30
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x80
or eax, ecx
jge 0x41f794
push 0x80
lea ecx, [esp + 0x28]
call fcn.00405200
mov ebx, dword [esp + 0x24]
mov eax, 0x80
cmp dword [ebx - 8], eax
jl 0x41f4da
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.004c7502
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x20
or eax, ecx
jge 0x41f7f3
push 0x20
lea ecx, [esp + 0x2c]
call fcn.00405200
mov esi, dword [esp + 0x28]
mov eax, 0x20
cmp dword [esi - 8], eax
jl 0x41f4da
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.004c7502
add ebp, 1
push ebp
lea eax, [esp + 0x1c]
push 0x529a7c
push eax
call fcn.00405670
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x20
add esp, 0xc
or eax, ecx
jge 0x41f865
push 0x20
lea ecx, [esp + 0x24]
call fcn.00405200
mov edi, dword [esp + 0x20]
mov eax, 0x20
cmp dword [edi - 8], eax
jl 0x41f4da
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 0x41f759
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 0x41f8c0
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 0x41f8e1
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 0x41f902
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 0x41f923
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 0x41f948
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 0x41f96d
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 0x41f995
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