Function at 0x401bd0
Capabilities:
Persist via run registry key
Query or enumerate registry value
Read .ini file

Disassembly:
sub esp, 0x230
push ebx
push ebp
push esi
push edi
mov ebp, ecx
push 0
call sub.MFC42.DLL_CWnd::ShowWindow
push ebp
push 0x86
mov ecx, 0x4053c0
call sub.MFC42.DLL_CDialog::Create
push ebp
push 0x87
mov ecx, 0x405358
call sub.MFC42.DLL_CDialog::Create
lea eax, [esp + 0x14]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push reloc.HTCAPI.dll_Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401c4d
mov ecx, dword [esp + 0x14]
push eax
push eax
push eax
push eax
push str.HTClientRun
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401c42
mov dword [ebp + 0x68], 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x60]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x6c], ecx
mov edi, 0x4051b8
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x58], 0x1e8
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x60], 0x80
shr ecx, 2
mov dword [esp + 0x64], 7
mov dword [esp + 0x68], 0x464
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
lea ebx, [ebp + 0x70]
push 0x104
xor esi, esi
push ebx
push esi
mov byte [ebx], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x401dde
push 0x5c
push ebx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
cmp eax, esi
je 0x401d02
lea edx, [eax + 1]
mov edi, str.cset.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov cx, word [0x405428]
xor eax, eax
mov word [esp + 0x24], cx
mov ecx, 0xc
lea edi, [esp + 0x26]
push ebx
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push esi
push str.bDisableExit
push str.setting
call edi
push ebx
lea edx, [esp + 0x28]
push 0x32
push edx
push str.0.0.0.0
push str.clientip
push str.setting
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x34]
push str._d._d._d._d
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x30], esi
call dword [sym.imp.MSVCRT.dll_sscanf]
mov esi, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
shl esi, 8
or esi, edx
add esp, 0x18
shl esi, 8
or esi, eax
push ebx
push 0
push str.classroom
shl esi, 8
push str.setting
or esi, ecx
call edi
mov edx, dword [ebp + 0x20]
push eax
push esi
push edx
call sub.HTCAPI.dll_Ordinal_1
test eax, eax
je 0x401dd1
push eax
push 0x405158
call fcn.00401740
add esp, 8
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x230
ret
push esi
push 0x405158
call fcn.00401740
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x230
ret