Function at 0x41edf0
Capabilities:
Check mutex on windows
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x43b5b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor ebx, ebx
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x58]
push 0x104
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x58]
push 0x5c
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
lea edi, [esi + 0xc4]
lea edx, [esp + 0x58]
mov ecx, edi
push edx
mov byte [eax + 1], bl
call fcn.00438db0
push str.LUUser.ini
lea eax, [esp + 0x14]
push edi
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esi + 0xc8]
mov dword [esp + 0x168], ebx
call fcn.00438fba
lea ecx, [esp + 0x10]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str.LUSystem.ini
lea ecx, [esp + 0x18]
push edi
push ecx
call sub.MFC42.DLL_operator_1
lea ebp, [esi + 0xcc]
push eax
mov ecx, ebp
mov dword [esp + 0x168], 1
call fcn.00438fba
lea ecx, [esp + 0x14]
mov dword [esp + 0x164], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x39]
mov byte [esp + 0x38], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
mov edx, dword [ebp]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
lea eax, [esp + 0x3c]
push 0x20
push eax
push 0x44c680
push str.SoftwareName
push str.MAIN
call edi
mov ecx, dword [ebp]
push ecx
lea edx, [esp + 0x1c]
push 0x20
push edx
push 0x44c680
push str.VersionName
push str.MAIN
call edi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x38]
push eax
lea edi, [esi + 0xd0]
push ecx
push str._s_s
push edi
call sub.MFC42.DLL_CString::Format
mov eax, dword [edi]
add esp, 0x10
cmp dword [eax - 8], ebx
jne 0x41ef70
push ebx
push 0x10
push 0x44a9a4
call sub.MFC42.DLL_AfxMessageBox_1
xor eax, eax
jmp 0x41f080
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
mov dword [esi + 0x238], eax
je 0x41efbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41efbe
mov edi, dword [edi]
push edi
push ebx
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41efb7
push 3
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x41f080
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push ebx
push str.PublicTest
push str.FUNCTION
call edi
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x274], eax
mov eax, dword [ebp]
push eax
push ebx
push str.DisableFreeTest
push str.FUNCTION
call edi
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x278], eax
mov eax, dword [ebp]
push eax
push ebx
push str.DisablePostUse
push str.FUNCTION
call edi
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x27c], eax
mov eax, dword [ebp]
push eax
push ebx
push str.DisableNet
push str.FUNCTION
call edi
dec eax
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x270], eax
mov eax, dword [ebp]
push eax
push ebx
push str.DisableHDSN
push str.FUNCTION
call edi
mov ebp, dword [ebp]
dec eax
neg eax
sbb eax, eax
push ebp
push ebx
inc eax
push str.DisableSoftDog
push str.FUNCTION
mov dword [esi + 0x284], eax
call edi
dec eax
push 1
neg eax
sbb eax, eax
mov ecx, esi
inc eax
mov dword [esi + 0x288], eax
call fcn.0041f0a0
mov eax, 1
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x158
ret