Function at 0x424340
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
push 1
push str.switch
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x424553
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
push 0
push str.trace
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4243da
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
or edx, 8
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
or edx, 4
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
or edx, 2
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
or edx, 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
push edx
push 0
push str.info
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42442c
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
or ecx, 4
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
or ecx, 2
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 4]
or ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx + 4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
push 1
push str.warning
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42446f
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
or eax, 2
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx + 4]
or eax, 1
mov ecx, dword [ebp - 0x30]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
push eax
push 1
push str.error
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4244a3
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
or edx, 1
mov eax, dword [ebp - 0x30]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
push 0
push str.pidtid
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4244e2
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
or ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
or ecx, 1
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
push ecx
push 0
push str.linenumber_funname
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x424521
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
or eax, 4
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
or eax, 8
mov ecx, dword [ebp - 0x30]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
push eax
push 0
push str.callorder
push str.AllModule
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x424553
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
or edx, 0x10
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
mov dword [ebp - 8], edx
lea ecx, [ebp + 8]
call fcn.004129d0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4