Function at 0x424570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
push str.switch
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4247b5
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x14]
push eax
push 0
push str.trace
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x424614
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
or eax, 8
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
or eax, 4
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
or eax, 2
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
or eax, 1
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
push str.info
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42466b
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
or ecx, 4
mov edx, dword [ebp - 0x54]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
or ecx, 2
mov edx, dword [ebp - 0x54]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0xc]
or ecx, 1
mov edx, dword [ebp - 0x54]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
push str.warning
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4246b3
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0xc]
or edx, 2
mov eax, dword [ebp - 0x54]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0xc]
or edx, 1
mov eax, dword [ebp - 0x54]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x2c]
push eax
push 0
push str.error
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4246ec
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
or eax, 1
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0
push str.pidtid
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x424734
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 8]
or ecx, 1
mov edx, dword [ebp - 0x54]
mov dword [edx + 8], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 8]
or ecx, 1
mov edx, dword [ebp - 0x54]
mov dword [edx + 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x3c]
push edx
push 0
push str.linenumber_funname
mov eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42477c
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 8]
or edx, 4
mov eax, dword [ebp - 0x54]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 8]
or edx, 8
mov eax, dword [ebp - 0x54]
mov dword [eax + 8], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x44]
push eax
push 0
push str.callorder
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4247b5
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 8]
or eax, 0x10
mov ecx, dword [ebp - 0x54]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x54]
mov eax, dword [edx + 0xc]
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.004129d0
lea ecx, [ebp + 0xc]
call fcn.004129d0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8