joyce8/EMBER2024-capa huggingface dataset:
Function at 0x455550
Capabilities:
Access peb ldr_data
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4a3b28
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
mov eax, str.XUNYOU_H_ShareMemory
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x1c], bl
lea edi, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x4555a4
sub eax, edi
push eax
push str.XUNYOU_H_ShareMemory
lea ecx, [esp + 0x20]
call fcn.0040aeb0
push 6
push str._event
lea ecx, [esp + 0x20]
mov dword [esp + 0x48], ebx
call fcn.00409ab0
push str.XUNYOU_H_ShareMemory
push ebx
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
mov byte [esp + 0x17], 1
jne 0x45565e
push 0x14
call fcn.00474d8a
push 0xc
mov ebp, eax
call fcn.00474d8a
add esp, 8
cmp ebp, ebx
mov edi, eax
je 0x455638
cmp edi, ebx
je 0x455638
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x455638
push ebx
push ebx
push 1
push ebp
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x455638
mov dword [edi], 0xc
mov dword [edi + 4], ebp
mov dword [edi + 8], 1
push str.XUNYOU_H_ShareMemory
push 0x32
push ebx
push 4
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x45565a
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jmp 0x4556a1
mov byte [esp + 0x17], bl
mov ecx, dword [esi + 4]
push ebx
push ebx
push ebx
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x455688
cmp dword [esp + 0x30], 0x10
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
jb 0x4556b5
mov edx, dword [esp + 0x1c]
push edx
jmp 0x4556ad
cmp byte [esp + 0x17], bl
jne 0x45569a
push 0x32
push ebx
push eax
call fcn.00475190
add esp, 0xc
mov dword [esi + 0xc], 0x32
cmp dword [esp + 0x30], 0x10
jb 0x4556b5
mov eax, dword [esp + 0x1c]
push eax
call fcn.00474c07
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00475ec4
add esp, 0x30
ret
Function at 0x459ae0
Capabilities:
Get process image filename

Disassembly:
sub esp, 0x210
mov eax, dword [0x4c26a0]
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 0x459b91
push 0x104
lea eax, [esp + 0x114]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x459b8a
push 0x104
lea ecx, [esp + 0x10]
push ecx
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
je 0x459b8a
lea edx, [esp + 0xc]
lea ecx, [esp + 0x110]
lea esp, [esp]
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x459b80
cmp al, bl
je 0x459b7c
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x459b80
add ecx, 2
add edx, 2
cmp al, bl
jne 0x459b60
xor eax, eax
jmp 0x459b85
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.00475ec4
add esp, 0x210
ret
Function at 0x459d30
Capabilities:
Check if file exists
Query or enumerate registry value
Set registry value

Disassembly:
sub esp, 0x114
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
mov ebx, dword [esp + 0x120]
push esi
mov esi, dword [esp + 0x120]
test esi, esi
push edi
mov edi, dword [esp + 0x12c]
mov dword [esp + 0xc], 0
je 0x459eed
test ebx, ebx
je 0x459eed
test edi, edi
je 0x459eed
lea eax, [esp + 0xc]
push eax
push 0xf003f
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], 0x104
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x459e89
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
mov eax, dword [esp + 0x1c]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x459e4b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x459e0d
lea ecx, [esp + 0x18]
mov eax, edi
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x459e00
test dl, dl
je 0x459dfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x459e00
add eax, 2
add ecx, 2
test dl, dl
jne 0x459de0
xor eax, eax
jmp 0x459e05
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x459ed0
mov edx, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00475ec4
add esp, 0x114
ret
mov eax, dword [esp + 0xc]
push 0x104
push edi
push 1
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00475ec4
add esp, 0x114
ret
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
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 0x459ec5
mov ecx, dword [esp + 0xc]
push 0x104
push edi
push 1
push eax
push ebx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00475ec4
add esp, 0x114
ret
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00475ec4
add esp, 0x114
ret

Function at 0x45b540
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 0x45b560
Capabilities:
Set registry value

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
test ebp, ebp
mov dword [esp + 4], ecx
jne 0x45b578
push 0x80004005
call fcn.00401160
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 0x45b585
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 0x45bf30
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4c26a0]
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 0x45bf9e
test ecx, ecx
je 0x45bf90
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 0x45bfac
test ecx, ecx
je 0x45c051
push ecx
jmp 0x45c04b
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 0x45c01e
jmp 0x45bfe0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x10]
call fcn.0045bf30
mov edi, eax
test edi, edi
jne 0x45c06d
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 0x45bfe0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c035
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 0x45c051
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.00475ec4
add esp, 0x11c
ret 4
mov eax, dword [esp + 0xc]
test eax, eax
je 0x45c07c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x45c053
Function at 0x45e610
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x54
push ebx
push esi
push edi
add eax, 1
push 0x4c446e
push eax
mov si, cx
mov ebx, edx
call fcn.0047728d
mov edi, eax
add esp, 8
test edi, edi
je 0x45e707
push 0x40
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00475190
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 0x45e66f
lea eax, [esp + 0x68]
mov edx, dword [esp + 0x78]
push edx
push eax
push edi
call fcn.004772a0
mov eax, dword [esp + 0x84]
add esp, 0xc
test ebx, ebx
mov byte [eax + edi], 0
mov eax, ebx
jne 0x45e693
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.00475615
add esp, 4
test esi, esi
je 0x45e6e7
test ebx, ebx
jne 0x45e6e5
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 0x45e6fe
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00474c07
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x54
ret
cmp dword [esp + 0x7c], 0x10
jb 0x45e71b
mov edx, dword [esp + 0x68]
push edx
call fcn.00474c07
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x54
ret
Function at 0x45fc60
Capabilities:
Access peb ldr_data
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4a48e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
push edi
mov eax, dword [0x4c26a0]
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.004202b0
lea ecx, [esp + 0xc]
push ecx
push 0x45c8d0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esp + 0x28], 8
mov edi, dword [esp + 0xc]
jb 0x45fce4
mov edx, dword [esp + 0x14]
push edx
call fcn.00474c07
add esp, 4
cmp dword [esp + 0x58], 8
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
jb 0x45fd09
mov eax, dword [esp + 0x44]
push eax
call fcn.00474c07
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.00475ec4
add esp, 0x30
ret
Function at 0x460770
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a4ad8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c26a0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x30]
push eax
call fcn.00460270
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.0040b1f0
mov ebp, 0x10
add esp, 0x10
cmp dword [eax + 0x18], ebp
jb 0x4607d8
mov eax, dword [eax + 4]
jmp 0x4607db
add eax, 4
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x4607f9
mov eax, dword [esp + 0x18]
push eax
call fcn.00474c07
add esp, 4
cmp esi, edi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], edi
mov byte [esp + 0x18], 0
je 0x4608bb
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.0040b1f0
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x46083c
mov eax, dword [eax + 4]
jmp 0x46083f
add eax, 4
push eax
call ebx
cmp dword [esp + 0x2c], ebp
mov esi, eax
jb 0x460857
mov eax, dword [esp + 0x18]
push eax
call fcn.00474c07
add esp, 4
test esi, esi
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], 0
mov byte [esp + 0x18], 0
je 0x4608bb
push esi
call edi
push str.update.exe
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0040b1f0
add esp, 0xc
cmp dword [eax + 0x18], ebp
jb 0x460894
mov eax, dword [eax + 4]
jmp 0x460897
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
cmp eax, 1
setne bl
cmp dword [esp + 0x2c], ebp
jb 0x4608b7
mov eax, dword [esp + 0x18]
push eax
call fcn.00474c07
add esp, 4
test bl, bl
je 0x4608d6
push ebp
push 0x4a7d50
push 0x4aa71c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
cmp dword [esp + 0x48], ebp
jb 0x4608e9
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00474c07
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.00475ec4
add esp, 0x48
ret
Function at 0x461f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.004294e0
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 0x461fdf
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x461f54
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 0x461fb8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x461fb8
push ebx
push edi
call fcn.0042c140
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 0x461fa4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x461fc6
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x461fc6
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 0x461fd5
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 0x462020
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x4a4cd2
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x130], eax
push edi
mov eax, dword [0x4c26a0]
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 0x4620d4
lea eax, [esp + 0x10]
push eax
push edi
mov dword [esp + 0x18], 0x128
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x4620cd
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.00477205
add esp, 8
test eax, eax
jne 0x4620be
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00461df0
lea eax, [esp + 0x10]
push eax
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4620a0
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.00475ec4
add esp, 0x140
ret
Function at 0x4627e0
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x4a4ecd
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c26a0]
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.00475190
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.00462250
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 0x459fb0
push 0x45aba0
push 6
push 4
lea eax, [esi + 0x2a8]
push eax
mov byte [esp + 0x30], 5
call fcn.00476ad4
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.0045d020
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 0x41dd10
push 0x45e010
push 3
push 0x48
lea ecx, [esi + 0x318]
push ecx
call fcn.00476ad4
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 0x4629b4
push 0x10
push 0x4a7d50
push 0x4aa71c
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 0x465770
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x1128
call fcn.004776c0
mov eax, dword [0x4c26a0]
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 0x465887
xor ebx, ebx
xor esi, esi
test dword [esp + 0xc], 0xfffffffc
jbe 0x465887
jmp 0x4657d0
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 0x465875
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 0x465813
sub eax, edx
push eax
lea ecx, [esp + 0x1030]
push ecx
lea ecx, [esp + 0x1018]
call fcn.0040aeb0
lea edx, [esp + 0x1010]
push edx
call fcn.004656d0
add esp, 4
push 0xa
push ebx
push str.HOOKDISKID
lea ecx, [esp + 0x101c]
call fcn.00405d10
test eax, eax
jge 0x4658ab
cmp dword [esp + 0x1028], 0x10
jb 0x465875
mov eax, dword [esp + 0x1014]
push eax
call fcn.00474c07
add esp, 4
mov ecx, dword [esp + 0xc]
add esi, 1
shr ecx, 2
cmp esi, ecx
jb 0x4657d0
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.00475ec4
add esp, 0x1128
ret
cmp dword [esp + 0x1028], 0x10
jb 0x4658c5
mov edx, dword [esp + 0x1014]
push edx
call fcn.00474c07
add esp, 4
mov ecx, dword [esp + 0x1130]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00475ec4
add esp, 0x1128
ret
Function at 0x466810
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xc
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 8], eax
push esi
push edi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi + 0x14]
mov ecx, eax
mov edx, eax
shr eax, 8
shr ecx, 0x18
mov byte [esp + 0xd], al
mov al, byte [esi + 0x14]
mov byte [esp + 0xf], cl
shr edx, 0x10
mov byte [esp + 0xc], al
mov eax, dword [esi + 0x10]
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0xe], dl
mov edx, eax
mov byte [esp + 0xb], cl
shr edx, 0x10
mov ecx, eax
shr ecx, 8
mov byte [esp + 0xa], dl
mov dl, al
shr eax, 3
mov byte [esp + 9], cl
and eax, 0x3f
mov ecx, 0x40
sub ecx, eax
cmp ecx, 9
mov edi, dword [esp + 0x18]
mov byte [esp + 8], dl
jae 0x466884
add ecx, 0x40
add ecx, 0xfffffff8
push ecx
push 0x4c24c0
push esi
call fcn.00466760
push 8
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00466760
add esp, 0x18
test edi, edi
je 0x46691c
movzx ecx, byte [esi + 3]
mov byte [edi + 3], cl
movzx edx, byte [esi + 2]
mov byte [edi + 2], dl
mov eax, dword [esi]
shr eax, 8
mov byte [edi + 1], al
movzx ecx, byte [esi]
mov byte [edi], cl
movzx edx, byte [esi + 7]
mov byte [edi + 7], dl
movzx eax, byte [esi + 6]
mov byte [edi + 6], al
mov ecx, dword [esi + 4]
shr ecx, 8
mov byte [edi + 5], cl
movzx edx, byte [esi + 4]
mov byte [edi + 4], dl
movzx eax, byte [esi + 0xb]
mov byte [edi + 0xb], al
movzx ecx, byte [esi + 0xa]
mov byte [edi + 0xa], cl
mov edx, dword [esi + 8]
shr edx, 8
mov byte [edi + 9], dl
movzx eax, byte [esi + 8]
mov byte [edi + 8], al
movzx ecx, byte [esi + 0xf]
mov byte [edi + 0xf], cl
movzx edx, byte [esi + 0xe]
mov byte [edi + 0xe], dl
mov eax, dword [esi + 0xc]
shr eax, 8
mov byte [edi + 0xd], al
movzx ecx, byte [esi + 0xc]
mov byte [edi + 0xc], cl
push 0x58
push 0
push esi
call fcn.00475190
mov ecx, dword [esp + 0x1c]
add esp, 0xc
pop edi
pop esi
xor ecx, esp
call fcn.00475ec4
add esp, 0xc
ret

Function at 0x466940
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
mov eax, dword [0x4c26a0]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
xor ecx, ecx
push esi
mov esi, dword [esp + 0x64]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00466760
lea eax, [esp + 0x10]
push eax
push esi
call fcn.00466810
mov ecx, dword [esp + 0x70]
add esp, 0x14
pop esi
xor ecx, esp
call fcn.00475ec4
add esp, 0x5c
ret

Function at 0x4669c0
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

Function at 0x466a40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 4]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
add eax, 1
ret 0xc