joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44cf6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44cfa4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cf85
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44cf94
or bl, 4
test esi, 0x20000000
je 0x44cf9f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45364c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45365e
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041933c
mov eax, dword [0x46c808]
mov dword [eax + 4], ebx
mov dword [eax], 0x4539f0
mov eax, dword [0x46c814]
mov dword [eax + 4], ebx
mov dword [eax], 0x4539fc
mov eax, ebx
call fcn.00453a08
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44fe24
push eax
push 0
push 0
mov eax, dword [0x46c964]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41adb8]
call fcn.0041c52c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41adb8]
call fcn.0041c52c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41adb8]
call fcn.0041c52c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453e28
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453d04
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453d04
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453d04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45379b
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x453ae8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453c93
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453c74
mov dl, 1
mov eax, dword [0x411a38]
call fcn.004030cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e4c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453c63
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044163c
test al, al
je 0x453c56
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x453ca4
lea eax, [ebp - 0x254]
call fcn.004089bc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453c56
xor eax, eax
push ebp
push 0x453c4f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x453cdc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453c38
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453c38
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453c56
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453b59
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041552c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453c9a
lea eax, [ebp - 0x260]
call fcn.00403e4c
ret

Function at 0x4545c8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46dbe4]
cmp byte [eax + 0xa5], 0
jne 0x454639
cmp dword [0x46dbfc], 0
jne 0x4545fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x454584
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46dbfc], eax
cmp dword [0x46dbf8], 0
jne 0x454615
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46dbf8], eax
cmp dword [0x46dc00], 0
jne 0x454639
push esp
push 0
push 0
push 0x454528
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46dc00], eax
pop edx
ret
Function at 0x454730
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454747
add esp, 0xfffffff0
call fcn.00403420
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041933c
mov eax, dword [0x46c950]
cmp word [eax + 2], 0
jne 0x45476f
mov eax, dword [0x46c950]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455e08
mov eax, dword [0x46ca00]
cmp word [eax + 2], 0
jne 0x454789
mov eax, dword [0x46ca00]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456000
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41161c]
call fcn.004030cc
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41b898]
call fcn.00422ffc
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x454910
mov eax, dword [0x46c86c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004233cc
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4565a0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46c86c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c08c
test eax, eax
je 0x45487e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004083b0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c0b4
test eax, eax
je 0x454892
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004040bc
mov eax, dword [0x46c750]
cmp byte [eax], 0
jne 0x4548c6
mov eax, ebx
call fcn.00454a38
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045677c
mov eax, ebx
call fcn.00457140
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454906
call fcn.00403478
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454cb8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46dbe4]
cmp dword [eax + 0x30], 0
je 0x454d62
cmp dword [ebx + 0x94], 0
jne 0x454d5c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454c48
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x454d5c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x454d22
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x454d5c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00413984
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454d31
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4558c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x4558f9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f3c
jmp 0x455906
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403ea0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456958
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x456999
mov eax, esi
call fcn.0043cc24
test al, al
je 0x456999
mov eax, dword [ebx + 0x84]
call fcn.0043c920
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x456999
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c920
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45a060
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45a08e
mov eax, ebx
call fcn.0045ab14
cmp dword [ebx + 0x40], 0
je 0x45a087
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45a0ff
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45a0f1
cmp dword [ebx + 8], 0
je 0x45a0b0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45a0c2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45a0f1
cmp dword [ebx + 8], 0
je 0x45a0a3
cmp eax, 3
je 0x45a0d5
dec eax
jne 0x45a0a3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45a0a3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45a0a3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45a11d
cmp dword [ebx + 0x14], 0xcc
je 0x45a11d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045a128
pop ebx
ret
Function at 0x4028f0
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea ecx, [esp + 4]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
mov edx, dword [esp + 8]
push 0
push ecx
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push 0
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
add esp, 0x1c
ret

Function at 0x402960
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x407f4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
push ebx
push 0x80000001
lea ecx, [esp + 8]
call fcn.00406a50
push 0xf003f
xor ebx, ebx
push str.SoftwareMediawebPicaManagerClientSettings
push 0x80000001
lea ecx, [esp + 0x10]
mov dword [esp + 0x128], ebx
call fcn.00406b30
test eax, eax
je 0x4029c7
mov eax, dword [esp + 0x124]
lea ecx, [esp + 4]
push eax
push str.INSTDIR
call fcn.00406bb0
jmp 0x402a2d
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea ecx, [esp + 0x1c]
push 0x26
push ecx
push ebx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, str.PicaClient
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x18]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x130]
call fcn.004078a2
pop edi
pop esi
lea ecx, [esp + 4]
mov dword [esp + 0x11c], 0xffffffff
call fcn.00406ad0
mov ecx, dword [esp + 0x114]
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret 4

Function at 0x402a60
Capabilities:
Delete file

Disassembly:
sub esp, 0x20
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x7c]
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 0x24]
lea edx, [esp]
mov dword [esp], eax
push edx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0x40d4ac
mov dword [esp + 8], 3
mov word [esp + 0x14], 0x54
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
add esp, 0x20
ret 4
Function at 0x402ab0
Capabilities:
Acquire debug privileges
Enumerate processes
Terminate process
Terminate process by name

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
push edi
xor eax, eax
mov ecx, 0x49
lea edi, [esp + 0x20]
push eax
push 2
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x1c], esi
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.MSVCRT.dll_printf]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov ecx, dword [esp + 0x148]
lea edx, [esp + 0x40]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x402b9c
push 1
push str.SeDebugPrivilege
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, dword [esp + 0x20]
push eax
call fcn.00402c10
mov eax, dword [esp + 0x24]
push eax
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x402bb0
push str.OpenProcess__
call edi
add esp, 4
call ebx
mov esi, eax
push esi
push str.Error_Code___d
call edi
add esp, 8
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push 0
push 0
push ecx
push 0
push esi
push 0
push 0x1100
call ebp
mov edx, dword [esp + 0x10]
push edx
push 0x40bb70
call edi
mov eax, dword [esp + 0x18]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x402bf5
jmp 0x402afe
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x402bc7
push str.TerminateProcess__
call edi
add esp, 4
push 0xbb8
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x134
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x134
ret 4
Function at 0x4041e0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4080c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
push esi
push edi
mov esi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], 0
call sub.MFC42.DLL_CFileFind::CFileFind
push str..
lea ecx, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.004078ea
mov eax, dword [esp + 0x40]
push 0
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4042c8
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4042c0
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
call dword [edx + 0x40]
test eax, eax
je 0x4042a8
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push ecx
lea edx, [esp + 0x10]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x40], 2
call fcn.004078f6
mov ecx, esi
call fcn.004041e0
mov eax, dword [esp + 0xc]
push eax
call edi
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CFileFind::GetFilePath
mov ecx, esi
call fcn.00404300
test ebp, ebp
jne 0x40423f
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.004078a8
lea ecx, [esp + 0x40]
mov dword [esp + 0x38], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x30
ret 4
Function at 0x4045b0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x218
push ebx
mov ebx, dword [esp + 0x224]
lea eax, [esp + 4]
push ebp
mov ebp, dword [esp + 0x224]
push eax
push 0x20019
push 0
push ebx
mov dword [esp + 0x20], ecx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4045ef
pop ebp
xor eax, eax
pop ebx
add esp, 0x218
ret 8
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x404605
mov ecx, dword [esp + 8]
push ecx
jmp 0x40470e
lea edx, [esp + 0x14]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0xc]
push 0
push 0
push 0
lea ecx, [esp + 0x130]
push eax
push ecx
push 0
push edx
mov dword [esp + 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x404701
push esi
push edi
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
lea edx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], 0xff
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40bbd0
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x24]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x128]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x24]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
push ebp
call fcn.004045b0
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push 0
push 0
push 0
lea eax, [esp + 0x138]
push edx
push eax
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
je 0x40463c
pop edi
pop esi
push ebx
push ebp
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
mov eax, 1
pop ebx
add esp, 0x218
ret 8
Function at 0x404ba0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x408198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebp
push esi
push edi
push 0x40d4ac
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x44], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [esp + 0x18], str.Netmon.exe
mov dword [esp + 0x1c], str.ProcEvent.sys
mov dword [esp + 0x20], str.ProcMon.dll
mov dword [esp + 0x24], str.Startmon.exe
mov dword [esp + 0x28], str.VNCHooks.dll
mov dword [esp + 0x2c], str.WinVNC.exe
mov dword [esp + 0x30], str.TasksNetmon.job
lea esi, [esp + 0x18]
mov edi, 7
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.004078f6
call fcn.00406870
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
add esi, 4
dec edi
jne 0x404c2c
mov edi, 1
mov dword [esp + 0x18], str.ekNet
mov dword [esp + 0x1c], str.eNet
mov dword [esp + 0x20], str.keNet
mov dword [esp + 0x24], 0x40c5c0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
mov byte [esp + 0x3c], 2
lea esi, [esp + 0x18]
mov ebp, 4
mov ecx, dword [esi]
mov edx, dword [esp + 0xc]
push edi
push ecx
push edx
lea eax, [esp + 0x1c]
push str._s_s_d.wav
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.004078f6
call fcn.00406870
add esp, 4
add esi, 4
dec ebp
jne 0x404cbc
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
inc edi
cmp edi, 0x1e
jl 0x404ca5
lea ecx, [esp + 0xc]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x34
ret
Function at 0x404d30
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4081c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
push 0x40d4ac
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
push 0x104
push 0x104
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov dword [esp + 0x14], str.FirewallNM.dll
mov dword [esp + 0x18], str.NetHid.dll
lea esi, [esp + 0x14]
mov edi, 2
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
push eax
push ecx
lea edx, [esp + 0x10]
push str._s_s
push edx
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.004078f6
call fcn.00406870
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
add esi, 4
dec edi
jne 0x404d93
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret

Function at 0x404e10
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4081d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
push 0
push 0x26
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov eax, dword [esp + 4]
lea ecx, [esp + 4]
push eax
push str._s_smart_system
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 8
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.004078f6
call fcn.00406530
add esp, 4
mov ecx, esi
call fcn.00404ee0
test eax, eax
je 0x404ebd
push 0x40c674
push str.Program_Files__x86_
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Replace
push ecx
lea eax, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.004078f6
call fcn.00406530
add esp, 4
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret