Function at 0x424e40
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5659ac
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.00429ea2
mov eax, dword [esp + 0x10]
cmp eax, dword [0x5d1ac8]
je 0x424ee4
lea esi, [eax + 0x10]
lea edi, [ebp + 8]
lea ebx, [esp + 0x20]
call fcn.0042a012
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x14]
mov ecx, dword [esp + 0x20]
cmp ecx, eax
je 0x424ee4
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.0053780e
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x28]
call fcn.00439a5b
and dword [esp + 0xd8], 0
lea edi, [esp + 0x10]
call fcn.004121a3
push str.EventInfo.plg
push eax
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0xe4], 1
call fcn.0040195d
add esp, 0xc
mov byte [esp + 0xd8], 3
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00402760
push 0
push dword [esp + 0x20]
lea ecx, [esp + 0x30]
call fcn.00439b02
test eax, eax
je 0x425005
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, str.Event
call fcn.00437969
push eax
lea ecx, [esp + 0x24]
call fcn.00402738
lea ecx, [esp + 0x28]
mov byte [esp + 0xd8], 4
call fcn.004396ad
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x2c]
call fcn.00439d45
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0xdc], 5
call fcn.004024a4
mov byte [esp + 0xd8], 4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [esp + 0x28]
call fcn.00439a1d
test eax, eax
jne 0x424fe6
mov eax, dword [esp + 0x28]
push 0x10
lea ecx, [esp + 0x2c]
call dword [eax + 0x38]
test eax, eax
jne 0x424fe6
mov esi, dword [esp + 0x20]
push esi
push 0xffffffffffffffff
push str.EventID
push ebx
call edi
cmp dword [ebp + 8], eax
je 0x425031
mov byte [esp + 0xd8], 3
lea ecx, [esi - 0x10]
jmp 0x424ff5
mov byte [esp + 0xd8], 3
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402760
cmp dword [esp + 0x14], 0
jne 0x424f4f
lea ecx, [esp + 0x28]
call fcn.004395c7
or esi, 0xffffffff
push esi
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425235
mov ecx, dword [esp + 0x28]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402760
jmp 0x4250d4
cmp dword [ebp + 0x14], 0
je 0x425100
call fcn.00437969
push eax
lea ecx, [esp + 0x1c]
call fcn.00402738
mov byte [esp + 0xd8], 6
push dword [ebp + 0x14]
lea eax, [esp + 0x1c]
push str._04X
push eax
call fcn.0040a7d8
add esp, 0xc
push 0x59db2c
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040195d
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.00402760
cmp dword [esp + 0x10], 0xffffffff
je 0x4250ec
push dword [esp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425235
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.00402760
lea ecx, [esi - 0x10]
call fcn.00402760
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402760
mov esi, dword [esp + 0x10]
or dword [esp + 0xd8], 0xffffffff
lea ecx, [esp + 0x28]
call fcn.00439a8d
mov eax, esi
jmp 0x424ec0
mov byte [esp + 0xd8], 4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402760
cmp byte [ebp + 0xc], 0
je 0x425143
push esi
push 0xffffffffffffffff
push str.DCU.DefaultProject
push ebx
call edi
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x425143
push eax
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425235
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00402760
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402760
mov esi, dword [esp + 0x14]
jmp 0x4250d4
lea esi, [esp + 0x14]
call fcn.004125a0
push dword [eax]
lea eax, [esp + 0x48]
push 0x40
push eax
push 0x599080
push str.DevInfAlias
push dword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402760
push str..DefaultProject
lea ecx, [esp + 0x1c]
call fcn.0040eeca
mov esi, eax
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xdc], 7
call fcn.00402372
push esi
push eax
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0xe4], 8
call fcn.00401906
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.00402760
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00402760
mov byte [esp + 0xd8], 4
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402760
cmp dword [esp + 0x10], 0xffffffff
je 0x42520d
push dword [esp + 0x10]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00425235
add esp, 0xc
jmp 0x4250bc
push esi
push 0xffffffffffffffff
push str.DefaultProject
push ebx
call edi
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.00402760
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402760
mov esi, edi
jmp 0x4250d4