joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4562a0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
push 0x10
mov dword [esp + 8], ecx
lea ecx, [esp + 4]
push ecx
push 0
mov word [esp + 0xe], dx
mov edx, dword [esp + 0x2c]
push edx
push eax
mov eax, dword [esp + 0x2c]
push eax
mov word [esp + 0x18], 2
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0047b86d
add esp, 0x14
ret

Function at 0x456ac0
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x14
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x10], eax
cmp dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x1c]
jae 0x456add
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x456b27
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
push ecx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.0047c3b0
add esp, 0xc
cmp dword [esp + 0x30], 0x10
jb 0x456b14
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047b87c
add esp, 4
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.0047b86d
add esp, 0x14
ret
cmp dword [esp + 0x30], 0x10
jb 0x456b3b
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047b87c
add esp, 4
mov ecx, dword [esp + 0x10]
xor ecx, esp
xor eax, eax
call fcn.0047b86d
add esp, 0x14
ret

Function at 0x456c30
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x4ab108
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], 0
push eax
mov dword [esp + 0x44], 0
mov byte [ecx + 4], 0
call fcn.00403af0
call fcn.00456ac0
mov edi, eax
add esp, 0x1c
test edi, edi
jne 0x456cc0
cmp dword [esp + 0x3c], 0x10
jb 0x456cab
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047b87c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x456cfc
cmp dword [esp + 0x3c], 0x10
jb 0x456cab
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b87c
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
push eax
push ebp
push ecx
call dword [sym.imp.WS2_32.dll_htons]
push esi
mov ecx, edi
mov edx, eax
call fcn.004562a0
add esp, 0xc
push esi
mov edi, eax
call dword [sym.imp.WS2_32.dll_closesocket]
cmp dword [esp + 0x3c], 0x10
jb 0x456d37
mov edx, dword [esp + 0x28]
push edx
call fcn.0047b87c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x45d670
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x12c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
push 0
push 2
mov esi, ecx
mov edi, edx
xor bl, bl
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, 0xffffffff
je 0x45d6e4
lea eax, [esp + 0x10]
push eax
push ebp
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x45d6dd
cmp esi, dword [esp + 0x18]
je 0x45d6cc
lea ecx, [esp + 0x10]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x45d6b5
jmp 0x45d6dd
test edi, edi
je 0x45d6db
mov ecx, 0x4a
lea esi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
mov bl, 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0047b86d
add esp, 0x12c
ret
Function at 0x461e50
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x210
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push ebx
push edi
lea ecx, [esp + 8]
push ecx
xor ebx, ebx
push eax
mov dword [esp + 0x10], ebx
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov edx, dword [esp + 8]
push edx
push ebx
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
cmp edi, ebx
je 0x461f01
push 0x104
lea eax, [esp + 0x114]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x461efa
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x461efa
lea edx, [esp + 0xc]
lea ecx, [esp + 0x110]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x461ef0
cmp al, bl
je 0x461eec
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x461ef0
add ecx, 2
add edx, 2
cmp al, bl
jne 0x461ed0
xor eax, eax
jmp 0x461ef5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
sete bl
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x214]
pop edi
mov al, bl
pop ebx
xor ecx, esp
call fcn.0047b86d
add esp, 0x210
ret
Function at 0x4620a0
Capabilities:
Check if file exists
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x124]
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
je 0x46223c
test edi, edi
je 0x46223c
test ebx, ebx
je 0x46223c
mov eax, ebx
mov dword [esp + 0x14], 0x104
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x462100
sub eax, edx
push ebp
lea ebp, [eax + 1]
cmp ebp, 0x104
jle 0x46212b
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.the_length_is_too_big_r_n
call edi
push ebx
call edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4621db
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4621c2
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4621a9
lea ecx, [esp + 0x1c]
mov eax, ebx
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4621a0
test dl, dl
je 0x46219c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4621a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x462180
xor eax, eax
jmp 0x4621a5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x46221e
mov edx, dword [esp + 0x10]
push ebp
push ebx
push 1
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x462218
mov eax, dword [esp + 0x10]
push ebp
push ebx
push 1
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x462218
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x462213
mov ecx, dword [esp + 0x10]
push ebp
push ebx
push 1
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.0047b86d
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047b86d
add esp, 0x114
ret

Function at 0x4634d0
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8
Function at 0x4634f0
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x463508
push 0x80004005
call fcn.00401ae0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
push edi
xor edi, edi
mov esi, ebp
push esi
call ebx
add eax, 1
add esi, eax
add edi, eax
cmp eax, 1
jne 0x463515
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
push edi
push ebp
push 7
push 0
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebx
pop ebp
pop ecx
ret 8

Function at 0x463ec0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x12c]
mov ebp, ecx
mov eax, dword [ebp]
lea ecx, [esp + 0x14]
push ecx
push 0x2001f
push 0
push edi
push eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 0xc]
mov esi, eax
test esi, esi
jne 0x463f2e
test ecx, ecx
je 0x463f20
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x14]
mov esi, eax
mov dword [esp + 0xc], ecx
je 0x463f3c
test ecx, ecx
je 0x463fe1
push ecx
jmp 0x463fdb
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x38]
push edx
push 0
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
jne 0x463fae
jmp 0x463f70
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.00463ec0
mov edi, eax
test edi, edi
jne 0x463ffd
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x10]
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
push edi
push ecx
mov dword [esp + 0x30], 0x100
call esi
test eax, eax
je 0x463f70
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x463fc5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov edx, dword [ebp]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x463fe1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0047b86d
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x46400c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x463fe3
Function at 0x466310
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
push esi
push edi
add eax, 1
push 0x4ce584
push eax
mov si, cx
mov ebx, edx
call fcn.0047e10d
mov edi, eax
add esp, 8
test edi, edi
je 0x466407
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.0047c770
mov eax, dword [esp + 0x74]
add esp, 0xc
cmp dword [esp + 0x7c], 0x10
mov dword [esp + 0x1c], 0x44
mov dword [esp + 0x48], 1
mov word [esp + 0x4c], si
jae 0x46636f
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
push eax
push edi
call fcn.0047c3b0
mov eax, dword [esp + 0x84]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
mov eax, ebx
jne 0x466393
lea eax, [esp + 0xc]
push eax
neg si
lea ecx, [esp + 0x20]
push ecx
push 0
push 0
sbb esi, esi
and esi, 0xf8000000
add esi, 0x8000000
push esi
push 0
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push edi
mov esi, eax
call fcn.0047cf8c
add esp, 4
test esi, esi
je 0x4663e7
test ebx, ebx
jne 0x4663e5
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call edi
test esi, esi
setne bl
cmp dword [esp + 0x7c], 0x10
jb 0x4663fe
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0047b87c
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x7c], 0x10
jb 0x46641b
mov edx, dword [esp + 0x68]
push edx
call fcn.0047b87c
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x467870
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4ad038
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor esi, esi
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.0040b4c0
lea ecx, [esp + 0xc]
push ecx
push 0x464860
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x4678f4
mov edx, dword [esp + 0x14]
push edx
call fcn.0047b87c
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x467919
mov eax, dword [esp + 0x44]
push eax
call fcn.0047b87c
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047b86d
add esp, 0x30
ret
Function at 0x468300
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4ad1f8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.00467e00
push str._toolbar.dll
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x20]
xor edi, edi
push edx
mov dword [esp + 0x68], edi
call fcn.0041b600
mov ebp, 0x10
add esp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x468368
mov eax, dword [eax + 4]
jmp 0x46836b
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x468389
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b87c
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
je 0x46844b
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
push esi
call edi
push str.update.dll
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041b600
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x4683cc
mov eax, dword [eax + 4]
jmp 0x4683cf
add eax, 4
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x4683e7
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b87c
add esp, 4
test esi, esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
je 0x46844b
push esi
call edi
push str.update.exe
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0041b600
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x468424
mov eax, dword [eax + 4]
jmp 0x468427
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
setne bl
cmp dword [esp + 0x2c], ebp
jb 0x468447
mov eax, dword [esp + 0x18]
push eax
call fcn.0047b87c
add esp, 4
test bl, bl
je 0x468466
push ebp
push 0x4b19a0
push 0x4b3ac4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x48], ebp
jb 0x468479
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0047b87c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0047b86d
add esp, 0x48
ret
Function at 0x4696d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.004134b0
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceA]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x4697af
push pe_nt_image_headers32
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x469724
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x469788
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x469788
push ebx
push edi
call fcn.00432d00
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamA]
mov esi, eax
test esi, esi
jne 0x469774
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x469796
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x469796
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4697a5
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x4697f0
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4ad3f2
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
push eax
push 2
mov dword [esp + 0x14c], eax
mov dword [esp + 0x10], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x4698a4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x46989d
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.0047e086
add esp, 8
test eax, eax
jne 0x46988e
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00440870
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x469870
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.0047b86d
add esp, 0x140
ret
Function at 0x469fb0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4ad5ed
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4cc748]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
push 0x1e8
mov dword [esi + 0x20], vtable.WTL::CMessageFilter.0
lea edi, [esi + 0x2c]
push ebx
mov dword [esi + 0x24], vtable.WTLEx::CWtlTrayImp_class_CMainDlg__129_.0
mov dword [esi + 0x214], ebx
push edi
mov dword [esp + 0x28], ebx
mov dword [esi + 0x218], ebx
call fcn.0047c770
add esp, 0xc
mov dword [edi], 0x1e8
mov dword [esi + 0x34], 0x81
mov dword [esi + 0x38], ebx
lea edi, [esi + 0x21c]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.00469a20
mov dword [esi], vtable.CMainDlg.3.0
mov dword [esi + 0x20], vtable.CMainDlg.2.0
mov dword [esi + 0x24], vtable.CMainDlg.1.0
mov dword [edi], vtable.CMainDlg.0
mov dword [esi + 0x248], ebx
mov dword [esi + 0x24c], ebx
mov dword [esi + 0x250], ebx
mov dword [esi + 0x27c], ebx
mov dword [esi + 0x280], ebx
mov dword [esi + 0x284], ebx
mov dword [esi + 0x288], ebx
mov edi, 0xf
mov dword [esi + 0x2a4], edi
mov dword [esi + 0x2a0], ebx
mov byte [esi + 0x290], bl
push 0x462420
push 0x462d20
push 6
push 4
lea eax, [esi + 0x2a8]
push eax
mov byte [esp + 0x30], 5
call fcn.0047d110
mov dword [esi + 0x2d8], edi
mov dword [esi + 0x2d4], ebx
mov byte [esi + 0x2c4], bl
mov dword [esi + 0x2dc], ebx
mov dword [esi + 0x2e0], ebx
mov dword [esi + 0x2e4], ebx
mov dword [esi + 0x2e8], ebx
mov dword [esi + 0x304], edi
mov dword [esi + 0x300], ebx
mov byte [esi + 0x2f0], bl
lea edi, [esi + 0x308]
mov ecx, edi
mov byte [esp + 0x1c], 8
call fcn.00464ea0
mov dword [edi + 4], eax
mov byte [eax + 0x2d], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov byte [esp + 0x1c], 9
mov dword [esi + 0x314], ebx
push 0x4094b0
push 0x465dd0
push 3
push 0x48
lea ecx, [esi + 0x318]
push ecx
call fcn.0047d110
lea edx, [esi + 0x254]
push edx
mov dword [esi + 0x3f0], ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push str.toolbar.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [esi + 0x274], eax
jne 0x46a184
push 0x10
push 0x4b19a0
push 0x4b3ac4
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x46d0d0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1128
call fcn.0047e1d0
mov eax, dword [0x4cc748]
xor eax, esp
mov dword [esp + 0x1124], eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push 0x1000
lea ecx, [esp + 0x18]
push ecx
push edi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x46d1e7
xor ebx, ebx
xor esi, esi
test dword [esp + 0xc], 0xfffffffc
jbe 0x46d1e7
jmp 0x46d130
mov eax, dword [esp + esi*4 + 0x10]
push 0x104
lea edx, [esp + 0x1030]
push edx
push eax
push edi
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x46d1d5
lea eax, [esp + 0x102c]
mov dword [esp + 0x1028], 0xf
mov dword [esp + 0x1024], ebx
mov byte [esp + 0x1014], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x46d173
sub eax, edx
push eax
lea ecx, [esp + 0x1030]
push ecx
lea ecx, [esp + 0x1018]
call fcn.00403cd0
lea edx, [esp + 0x1010]
push edx
call fcn.0046d030
add esp, 4
push 0xa
push ebx
push str.HOOKDISKID
lea ecx, [esp + 0x101c]
call fcn.00402910
test eax, eax
jge 0x46d20b
cmp dword [esp + 0x1028], 0x10
jb 0x46d1d5
mov eax, dword [esp + 0x1014]
push eax
call fcn.0047b87c
add esp, 4
mov ecx, dword [esp + 0xc]
add esi, 1
shr ecx, 2
cmp esi, ecx
jb 0x46d130
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1124]
xor ecx, esp
call fcn.0047b86d
add esp, 0x1128
ret
cmp dword [esp + 0x1028], 0x10
jb 0x46d225
mov edx, dword [esp + 0x1014]
push edx
call fcn.0047b87c
add esp, 4
mov ecx, dword [esp + 0x1130]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0047b86d
add esp, 0x1128
ret