Function at 0x41f890
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5c1638
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.004d0408
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.00405a00
mov dword [esp + 0x44], ebp
call fcn.004c5ee1
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f90d
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.004c5ee1
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41f93c
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 0x41f975
push edi
lea ecx, [esp + 0x18]
call fcn.004051c0
mov esi, dword [esp + 0x14]
cmp dword [esi - 8], edi
jge 0x41f984
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 0x41f9b2
mov ecx, dword [esi - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004053f0
mov esi, dword [esp + 0x14]
push 0x5c
push esi
call fcn.004e6340
add esp, 8
sub eax, esi
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
call fcn.00404bf0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 3
call fcn.00404e20
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 0x41fa02
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.00404c70
lea ecx, [esp + 0x38]
push ecx
push eax
lea edx, [esp + 0x48]
push edx
mov byte [esp + 0x5c], 4
call fcn.00416e00
push 0x5f670c
push eax
lea eax, [esp + 0x50]
mov bl, 5
push eax
mov byte [esp + 0x68], bl
call fcn.00404c70
add esp, 0x24
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 6
call fcn.00404e20
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 0x41fa77
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 0x41fa9c
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 0x41fac1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004c5ee1
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41fadb
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.004c5ee1
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41fb0a
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.004c5ee1
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41fb39
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.004c5ee1
xor ecx, ecx
cmp eax, ebp
setne cl
cmp ecx, ebp
jne 0x41fb68
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 0x5f5054
push ecx
mov byte [esp + 0x50], 0xa
call fcn.00405630
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x20
add esp, 0xc
or eax, ecx
jge 0x41fbb2
push 0x20
lea ecx, [esp + 0x24]
call fcn.004051c0
mov edi, dword [esp + 0x20]
mov eax, 0x20
cmp dword [edi - 8], eax
jge 0x41fbc6
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 0x41fd3b
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.004cac4b
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
sub eax, 0x80
or eax, ecx
jge 0x41fc34
push 0x80
lea ecx, [esp + 0x28]
call fcn.004051c0
mov ebx, dword [esp + 0x24]
mov eax, 0x80
cmp dword [ebx - 8], eax
jl 0x41f97a
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.004ca71d
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x20
or eax, ecx
jge 0x41fc93
push 0x20
lea ecx, [esp + 0x2c]
call fcn.004051c0
mov esi, dword [esp + 0x28]
mov eax, 0x20
cmp dword [esi - 8], eax
jl 0x41f97a
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.004ca71d
add ebp, 1
push ebp
lea eax, [esp + 0x1c]
push 0x5f5054
push eax
call fcn.00405630
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x20
add esp, 0xc
or eax, ecx
jge 0x41fd05
push 0x20
lea ecx, [esp + 0x24]
call fcn.004051c0
mov edi, dword [esp + 0x20]
mov eax, 0x20
cmp dword [edi - 8], eax
jl 0x41f97a
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 0x41fbf9
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 0x41fd60
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 0x41fd81
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 0x41fda2
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 0x41fdc3
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 0x41fde8
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 0x41fe0d
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 0x41fe35
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