Function at 0x4014e0
Capabilities:
Contain obfuscated stackstrings
Get hostname
Inspect load icon resource
Read .ini file
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a6523
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x21c
mov eax, dword [esp + 0x22c]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x28], esi
call sub.MFC42.DLL_CDialog::CDialog
push fcn.00411f90
push 0x411e40
push 0x10
lea ecx, [esi + 0x60]
xor ebx, ebx
push 0x284
push ecx
mov dword [esp + 0x248], ebx
call fcn.004a5baf
push fcn.004137f0
push 0x4136c0
push 0x10
lea edx, [esi + 0x28a0]
push 0x134
push edx
mov byte [esp + 0x248], 1
call fcn.004a5baf
lea edi, [esi + 0x3ca0]
push ebx
mov ecx, edi
mov byte [esp + 0x238], 2
call fcn.004a579a
mov dword [edi], 0x4ae328
add edi, 8
push edi
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ebp, [esi + 0x3cc0]
mov byte [esp + 0x234], 3
mov ecx, ebp
call sub.MFC42.DLL_CString::CString_1
push 0x401b20
push 0x401b10
push 0x10
lea eax, [esi + 0x3ce8]
push 8
push eax
mov byte [esp + 0x248], 4
call fcn.004a5baf
lea ecx, [esi + 0x3d6c]
mov byte [esp + 0x234], 5
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esi + 0x3d70]
mov byte [esp + 0x234], 6
call sub.MFC42.DLL_CString::CString_1
lea edi, [esi + 0x3d84]
mov byte [esp + 0x234], 7
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4ae258
lea edi, [esi + 0x3dc4]
mov byte [esp + 0x234], 8
mov ecx, edi
call sub.MFC42.DLL_CString::CString_1
push fcn.00402660
push 0x402630
push 4
lea ecx, [esi + 0x3dc8]
push 8
push ecx
mov byte [esp + 0x248], 9
call fcn.004a5baf
mov byte [esp + 0x234], 0xa
mov dword [esi], 0x4ae180
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov edx, dword [esi + 0x20]
push 8
push edx
mov dword [esi + 0x3de8], eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
lea ecx, [esp + 0x24]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x24]
push edx
push 0x4df2f8
push edi
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, edi
push 0x5c
call sub.MFC42.DLL_CString::ReverseFind
inc eax
mov ecx, edi
push eax
lea eax, [esp + 0x14]
push eax
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, edi
mov byte [esp + 0x238], 0xb
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.004087f0
mov ecx, dword [esi + 0x3cc8]
push str.DllLanguage.dll
mov dword [0x4e0588], ecx
mov dl, byte [esi + 0x3ccc]
lea eax, [esp + 0x14]
push edi
push eax
mov byte [0x4e04e8], dl
call sub.MFC42.DLL_operator_1
push eax
mov ecx, 0x4e5bbc
mov byte [esp + 0x238], 0xc
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0xa
call sub.MFC42.DLL_CString::CString
push 0x4df2e0
lea ecx, [esp + 0x18]
push edi
push ecx
call sub.MFC42.DLL_operator_1
push 0x4e5a94
lea edx, [esp + 0x14]
push eax
push edx
mov byte [esp + 0x240], 0xd
call sub.MFC42.DLL_operator
push eax
mov ecx, 0x4e5bb8
mov byte [esp + 0x238], 0xe
call fcn.004a5776
mov byte [esp + 0x234], 0xd
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x234], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, esi
call fcn.0040bed0
test eax, eax
jne 0x4017cb
lea eax, [esp + 0x10]
push str.IDS_RUNASADMIN_PROMPT
push eax
call fcn.00410750
add esp, 8
push eax
mov ecx, ebp
mov byte [esp + 0x238], 0xf
call fcn.004a5776
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0xa
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp]
push ebx
push ebx
push ecx
call sub.MFC42.DLL_AfxMessageBox
push 0xffffffffffffffff
call dword [sym.imp.MSVCRT.dll_exit]
mov edx, dword [0x4e5bb8]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edx
push ebx
push str.REPORT
push str.ALCORMP
call ebp
mov dword [0x4e6038], eax
mov eax, dword [0x4e5bb8]
push eax
push 1
push str.INDEX
push str.ALCORMP
call ebp
push edi
mov ecx, 0x4e5b10
mov byte [0x4e050c], al
call fcn.004a5776
mov ecx, dword [0x4e5bb8]
push ecx
push ebx
push str.DeviceOutMode
push str.DevOut
call ebp
mov dword [esi + 0x3ce4], eax
mov edx, dword [0x4e5bb8]
push edx
push 0x808080
push str.CurColor
push str.DevOut
call ebp
mov dword [esi + 0x3cd8], eax
mov eax, dword [0x4e5bb8]
push eax
push 0xd0d0d0
push str.PerColor
push str.DevOut
call ebp
lea ecx, [esi + 0x3be0]
mov dword [esi + 0x3cdc], eax
mov dword [esp + 0x14], ecx
lea ecx, [esi + 0x3cec]
mov dword [esp + 0x18], 0x4e5bd4
mov dword [esp + 0x10], ecx
jmp 0x401885
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
push 0x4e5a9c
mov dword [edx + 0x80], ebx
mov dword [eax], ebx
mov byte [ecx - 4], bl
call fcn.004a5764
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 4
mov byte [edx - 3], bl
mov dword [eax - 4], 1
mov dword [eax + 0x3c], 1
add ecx, 4
add edx, 8
cmp ecx, 0x4e5c14
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
jl 0x401881
push 0x4e5a9c
lea ecx, [esi + 0x3cc0]
call fcn.004a5764
mov dword [esi + 0x3cc4], ebx
mov ecx, dword [0x4e5bb8]
mov edx, dword [0x4e5a90]
push ecx
push 0xb
push str.TextSize
push edx
call ebp
push ebx
mov ecx, esi
mov dword [esi + 0x3cd0], eax
mov word [esi + 0x3cd4], bx
mov dword [esi + 0x3ce0], 1
call fcn.00408720
mov eax, dword [0x4e5bb8]
mov ecx, dword [0x4e5a90]
push eax
push 0x14
push str.TimeOut
push ecx
mov byte [0x4e5baf], bl
call ebp
mov byte [0x4e5bad], al
or eax, 0xffffffff
mov byte [0x4e5bac], bl
mov dword [0x4e5ba0], ebx
mov dword [0x4e5b98], eax
mov dword [0x4e5b9c], eax
mov dword [esi + 0x3d68], eax
mov edx, dword [0x4e5ac4]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x4df260
mov ecx, 0x4e5bb4
call fcn.004a5764
push str.CYCLE_TIME__0
mov ecx, 0x4e5bb0
call fcn.004a5764
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x128]
push eax
push ecx
mov dword [esp + 0x24], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea edx, [esp + 0x128]
lea eax, [esi + 0x3d6c]
push edx
push 0x4df2f8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x10]
lea ecx, [esi + 0x3d6c]
push 3
push eax
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
mov byte [esp + 0x234], 0x10
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov ecx, dword [edi]
push eax
push ecx
lea eax, [esi + 0x3d70]
push str._sLOG_03X_LOG
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x10]
mov byte [esp + 0x234], 0xa
call sub.MFC42.DLL_CString::CString
mov edx, dword [0x4e5bb8]
push edx
push ebx
push str.PNYLog
push str.AUTOMP
call ebp
test eax, eax
jne 0x401a45
mov eax, dword [edi]
push eax
lea eax, [esi + 0x3d70]
push str._sLOG
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x228
ret 4