Function at 0x418d59
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d799
mov eax, dword fs:[0]
push eax
sub esp, 0xc8
mov eax, dword [0x48c7d0]
xor eax, esp
mov dword [esp + 0xc0], eax
push ebx
push esi
push edi
mov eax, dword [0x48c7d0]
xor eax, esp
push eax
lea eax, [esp + 0xd8]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
lea eax, [ebp + 0x14]
push eax
lea ebx, [esp + 0x1c]
call fcn.0041d6e7
mov eax, dword [0x4910f8]
mov dword [esp + 0x24], eax
mov eax, dword [0x4910e0]
lea edi, [esp + 0x20]
mov esi, ebx
mov dword [esp + 0x20], eax
call fcn.0041e6f4
test al, al
jne 0x418e36
lea eax, [ebp + 8]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0041e70f
mov ebx, eax
add ebx, 4
call fcn.0041d923
call fcn.0041e70f
mov ecx, dword [eax + 0x1c]
mov eax, dword [eax + 4]
lea edi, [esp + 0x18]
lea esi, [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], eax
call fcn.0041e6f4
test al, al
jne 0x418e36
call fcn.0041e70f
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0xd8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc0]
xor ecx, esp
call fcn.0044d1dc
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0x34]
call fcn.0042be99
and dword [esp + 0xe0], 0
lea edi, [esp + 0x20]
call fcn.004082ab
push str.EventInfo.plg
push eax
lea eax, [esp + 0x30]
push eax
mov byte [esp + 0xec], 1
call fcn.004017f8
add esp, 0xc
mov byte [esp + 0xe0], 3
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040285d
push 0
push dword [esp + 0x2c]
lea ecx, [esp + 0x3c]
call fcn.0042bf31
test eax, eax
je 0x418f57
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, str.Event
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x30]
call fcn.00402773
lea ecx, [esp + 0x34]
mov byte [esp + 0xe0], 4
call fcn.0042bb7b
mov dword [esp + 0x18], eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
call fcn.0042c130
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xe4], 5
call fcn.0040270e
mov byte [esp + 0xe0], 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [esp + 0x34]
call fcn.0042be5a
test eax, eax
jne 0x418f38
mov eax, dword [esp + 0x34]
push 0x10
lea ecx, [esp + 0x38]
call dword [eax + 0x38]
test eax, eax
jne 0x418f38
mov esi, dword [esp + 0x2c]
push esi
push 0xffffffffffffffff
push str.EventID
push ebx
call edi
cmp dword [ebp + 8], eax
je 0x418f83
mov byte [esp + 0xe0], 3
lea ecx, [esi - 0x10]
jmp 0x418f47
mov byte [esp + 0xe0], 3
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffff0
call fcn.0040285d
cmp dword [esp + 0x18], 0
jne 0x418ea1
lea ecx, [esp + 0x34]
call fcn.0042ba95
or esi, 0xffffffff
push esi
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00419187
mov ecx, dword [esp + 0x34]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285d
jmp 0x419026
cmp dword [ebp + 0x14], 0
je 0x419052
call fcn.0042a8d7
push eax
lea ecx, [esp + 0x18]
call fcn.00402773
mov byte [esp + 0xe0], 6
push dword [ebp + 0x14]
lea eax, [esp + 0x18]
push str._04X
push eax
call fcn.0040314f
add esp, 0xc
push 0x47ab30
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004017f8
mov eax, dword [eax]
add esp, 0xc
push esi
push 0xffffffffffffffff
push eax
push ebx
call edi
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
mov dword [esp + 0x20], eax
call fcn.0040285d
cmp dword [esp + 0x20], 0xffffffff
je 0x41903e
push dword [esp + 0x20]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00419187
mov ecx, dword [esp + 0x20]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040285d
lea ecx, [esi - 0x10]
call fcn.0040285d
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
mov esi, dword [esp + 0x20]
or dword [esp + 0xe0], 0xffffffff
lea ecx, [esp + 0x34]
call fcn.0042bec2
mov eax, esi
jmp 0x418e12
mov byte [esp + 0xe0], 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
cmp byte [ebp + 0xc], 0
je 0x419095
push esi
push 0xffffffffffffffff
push str.DCU.DefaultProject
push ebx
call edi
mov dword [esp + 0x18], eax
cmp eax, 0xffffffff
je 0x419095
push eax
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00419187
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.0040285d
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
mov esi, dword [esp + 0x18]
jmp 0x419026
lea esi, [esp + 0x18]
call fcn.00408676
push dword [eax]
lea eax, [esp + 0x50]
push 0x40
push eax
push 0x47741c
push str.DevInfAlias
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285d
push str..DefaultProject
lea ecx, [esp + 0x18]
call fcn.00406a1b
mov esi, eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xe4], 7
call fcn.004024c3
push esi
push eax
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0xec], 8
call fcn.00406973
mov esi, dword [esp + 0x38]
mov eax, dword [eax]
add esp, 0xc
push esi
push 0xffffffffffffffff
push eax
push ebx
call edi
mov ecx, dword [esp + 0x30]
add ecx, 0xfffffff0
mov dword [esp + 0x20], eax
call fcn.0040285d
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285d
mov byte [esp + 0xe0], 4
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040285d
cmp dword [esp + 0x20], 0xffffffff
je 0x41915f
push dword [esp + 0x20]
push dword [ebp + 8]
push dword [ebp + 0x14]
call fcn.00419187
add esp, 0xc
jmp 0x41900e
push esi
push 0xffffffffffffffff
push str.DefaultProject
push ebx
call edi
lea ecx, [esi - 0x10]
mov edi, eax
call fcn.0040285d
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285d
mov esi, edi
jmp 0x419026