Function at 0x42557c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x56670d
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5c9030]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov eax, dword [0x5c9030]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
lea esi, [ebp + 0x14]
lea edi, [esp + 0x10]
mov dword [esp + 0x24], eax
call fcn.0042a60c
mov eax, dword [esp + 0x10]
cmp eax, dword [0x5d1ac8]
je 0x425620
lea esi, [eax + 0x10]
lea edi, [ebp + 8]
lea ebx, [esp + 0x20]
call fcn.0042a77c
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x425620
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.005384ff
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x28]
call fcn.0043a735
and dword [esp + 0xd8], 0
lea edi, [esp + 0x10]
call fcn.004125cf
push str.EventInfo.plg
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xe4], 1
call fcn.0040193e
add esp, 0xc
mov byte [esp + 0xd8], 3
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402722
push 0
push dword [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.0043a7dc
test eax, eax
je 0x425741
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, str.Event
call fcn.00438647
push eax
lea ecx, [esp + 0x24]
call fcn.0042a80d
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 4
call fcn.0043a387
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.0043aa1f
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 5
call fcn.0040248f
mov byte [esp + 0xd8], 4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402722
lea ecx, [esp + 0x28]
call fcn.0043a6f7
test eax, eax
jne 0x425722
mov eax, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [eax + 0x38]
test eax, eax
jne 0x425722
mov esi, dword [esp + 0x20]
push esi
push 0xffffffffffffffff
push str.EventID
push ebx
call edi
cmp dword [ebp + 8], eax
je 0x42576d
mov byte [esp + 0xd8], 3
lea ecx, [esi - 0x10]
jmp 0x425731
mov byte [esp + 0xd8], 3
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402722
cmp dword [esp + 0x14], 0
jne 0x42568b
lea ecx, [esp + 0x28]
call fcn.0043a2a1
or esi, 0xffffffff
push esi
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425971
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
jmp 0x425810
cmp dword [ebp + 0x14], 0
je 0x42583c
call fcn.00438647
push eax
lea ecx, [esp + 0x1c]
call fcn.0042a80d
mov byte [esp + 0xd8], 6
push dword [ebp + 0x14]
lea eax, [esp + 0x1c]
push str._04X
push eax
call fcn.0040a7c3
add esp, 0xc
push 0x59db34
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040193e
mov eax, dword [eax]
add esp, 0xc
push esi
push 0xffffffffffffffff
push eax
push ebx
call edi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
mov dword [esp + 0x10], eax
call fcn.00402722
cmp dword [esp + 0x10], 0xffffffff
je 0x425828
push dword [esp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425971
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402722
lea ecx, [esi - 0x10]
call fcn.00402722
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402722
mov esi, dword [esp + 0x10]
or dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.0043a767
mov eax, esi
jmp 0x4255fc
mov byte [esp + 0xd8], 4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402722
cmp byte [ebp + 0xc], 0
je 0x42587f
push esi
push 0xffffffffffffffff
push str.DCU.DefaultProject
push ebx
call edi
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x42587f
push eax
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425971
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00402722
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402722
mov esi, dword [esp + 0x14]
jmp 0x425810
lea esi, [esp + 0x14]
call fcn.004129cc
push dword [eax]
lea eax, [esp + 0x48]
push 0x40
push eax
push 0x5990a0
push str.DevInfAlias
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402722
push str..DefaultProject
lea ecx, [esp + 0x1c]
call fcn.0040f17a
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 7
call fcn.0040235d
push esi
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xe4], 8
call fcn.004018e7
mov esi, dword [esp + 0x2c]
mov eax, dword [eax]
add esp, 0xc
push esi
push 0xffffffffffffffff
push eax
push ebx
call edi
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
mov dword [esp + 0x10], eax
call fcn.00402722
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402722
mov byte [esp + 0xd8], 4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402722
cmp dword [esp + 0x10], 0xffffffff
je 0x425949
push dword [esp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425971
add esp, 0xc
jmp 0x4257f8
push esi
push 0xffffffffffffffff
push str.DefaultProject
push ebx
call edi
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.00402722
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402722
mov esi, edi
jmp 0x425810