joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44dbf0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
cmp dword [0x5e969c], 0
jne 0x44dca5
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [0x5e9698]
mov dword [eax], edx
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, 0x5e96c8
mov ecx, 2
call fcn.00404860
mov edx, 0x44dba0
mov eax, dword [ebp - 4]
add eax, 5
call fcn.0044dbc0
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 6], edx
mov eax, dword [ebp - 4]
add eax, 0xa
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov byte [eax], 0xe8
mov eax, dword [ebp - 4]
lea edx, [eax + 4]
mov eax, dword [ebp - 8]
call fcn.0044dbc0
mov edx, dword [ebp - 8]
mov dword [edx + 1], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5e969c]
mov dword [eax + 5], edx
mov eax, dword [ebp - 8]
mov dword [0x5e969c], eax
add dword [ebp - 8], 0xd
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xffc
jl 0x44dc5e
mov eax, dword [ebp - 4]
mov dword [0x5e9698], eax
mov eax, dword [0x5e969c]
mov dword [ebp - 0x10], eax
mov eax, dword [0x5e969c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 5]
mov dword [0x5e969c], eax
mov eax, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8
Function at 0x44e360
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44e52d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00406a38
cmp dword [ebp - 4], 0
je 0x44e3a3
mov eax, dword [ebp - 4]
cmp word [eax], 0x5c
jne 0x44e3a3
xor eax, eax
jmp 0x44e3a5
mov al, 1
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x44e3c0
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407638
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0044e700
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44e4a0
xor edx, edx
push ebp
push 0x44e499
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044ef30
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.0044e7b0
test al, al
je 0x44e477
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406798
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x44e477
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 0xc]
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00407230
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
je 0x44e471
mov eax, dword [ebp - 8]
call fcn.00407230
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00407288
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0044e360
dec ebx
cmp ebx, 0xffffffff
jne 0x44e41f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e4a0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044ef30
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
cmp dword [0x5e96cc], 0
je 0x44e4e2
mov ebx, dword [ebp - 0xc]
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044e5a0
push eax
call dword [0x5e96cc]
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
jmp 0x44e50a
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.0044e5a0
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov dword [ebx + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e534
lea eax, [ebp - 0x3c]
call fcn.0040662c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040668c
ret
Function at 0x44e5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 8], eax
mov esi, ebx
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, edi
call fcn.00407230
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [esi + 0x1c], eax
test eax, eax
sete al
test al, al
jne 0x44e60c
xor eax, eax
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 8], 1
jne 0x44e619
mov al, 1
jmp 0x44e639
cmp dword [ebp - 8], 2
jne 0x44e623
mov al, 2
jmp 0x44e639
cmp dword [ebp - 8], 4
jne 0x44e62d
mov al, 3
jmp 0x44e639
cmp dword [ebp - 8], 3
jne 0x44e637
mov al, 4
jmp 0x44e639
xor eax, eax
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov eax, edx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x44e650
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, esi
xor ecx, ecx
mov edx, 8
call fcn.00404cb8
mov edi, ebx
lea eax, [esi + 4]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov edx, eax
cmp dword [ebp - 8], 1
jne 0x44e6a2
mov al, 1
jmp 0x44e6c2
cmp dword [ebp - 8], 2
jne 0x44e6ac
mov al, 2
jmp 0x44e6c2
cmp dword [ebp - 8], 4
jne 0x44e6b6
mov al, 3
jmp 0x44e6c2
cmp dword [ebp - 8], 3
jne 0x44e6c0
mov al, 4
jmp 0x44e6c2
xor eax, eax
mov byte [esi], al
mov eax, edx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x44ecd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44ed91
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x44ed0a
dec al
je 0x44ed11
dec al
je 0x44ed18
dec al
je 0x44ed1f
jmp 0x44ed26
mov eax, 1
jmp 0x44ed28
mov eax, 2
jmp 0x44ed28
mov eax, 4
jmp 0x44ed28
mov eax, 3
jmp 0x44ed28
xor eax, eax
mov esi, eax
mov edi, ebx
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov dword [edi + 0x1c], eax
test eax, eax
sete al
mov ebx, eax
test bl, bl
jne 0x44ed7b
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x44edb0
call fcn.00407420
mov edx, dword [ebp - 0xc]
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov ecx, 0x44edd0
call fcn.0043f930
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ed98
lea eax, [ebp - 0xc]
call fcn.0040662c
ret
Function at 0x44eff0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44f0b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 4]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0044e7b0
test al, al
je 0x44f095
mov ecx, dword [ebp - 0x2c]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406798
mov ebx, dword [ebp - 0x30]
dec ebx
test ebx, ebx
jl 0x44f095
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407230
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407288
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042cc60
inc esi
dec ebx
jne 0x44f047
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f0b7
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040668c
ret

Function at 0x44f0c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x44f180
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 4]
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0xc]
call fcn.0044e7b0
test al, al
je 0x44f165
mov ecx, dword [ebp - 0x24]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406798
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x44f165
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
push esi
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegEnumValueW
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407230
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407288
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042cc60
inc esi
dec ebx
jne 0x44f117
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f187
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040668c
ret
Function at 0x450470
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4505a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00427dd0
mov byte [ebp - 0xd], 0
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00407230
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x45058a
mov eax, dword [ebp - 0x14]
call fcn.0040464c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x450583
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00407230
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x45056d
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4505b4
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x45056d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
shr eax, 0x10
and ax, 0xffff
mov edx, dword [ebp - 8]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 8]
and ax, 0xffff
mov edx, dword [ebp - 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
shr eax, 0x10
and ax, 0xffff
mov edx, dword [ebp + 0xc]
mov word [edx], ax
mov eax, dword [ebp - 0x20]
mov ax, word [eax + 0xc]
and ax, 0xffff
mov edx, dword [ebp + 8]
mov word [edx], ax
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45058a
mov eax, dword [ebp - 0x1c]
call fcn.00404668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4505a7
lea eax, [ebp - 0x28]
call fcn.0040662c
ret
Function at 0x4506b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00407230
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5ebbe4]
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax], 0xffffffff
mov byte [ebp - 0xd], 0
cmp dword [ebp - 0x1c], 0xffffffff
je 0x450787
xor eax, eax
push ebp
push 0x450780
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x450769
push 0
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_GetFileSize
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
lea eax, [ebp - 0x2c]
mov edx, 0x10
call fcn.0042ad80
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0040b30c
test eax, eax
je 0x450769
lea eax, [ebp - 0x2c]
call fcn.0041fef8
mov eax, dword [ebp - 8]
fstp qword [eax]
wait
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450787
mov eax, dword [ebp - 0x1c]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x450cc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
xor edx, edx
mov dword [ebp - 0x438], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x450dd6
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x44f410]
call fcn.004084e0
add esp, 4
call sub.kernel32.dll_GetCurrentProcessId
push eax
push 8
call sub.kernel32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x450dbd
mov dword [ebp - 0x434], 0x428
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Module32FirstW
test eax, eax
je 0x450db4
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x44f410]
call fcn.004084e0
add esp, 4
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
lea eax, [eax + edx*8 - 8]
lea edx, [ebp - 0x214]
mov ecx, 0x104
call fcn.004072dc
lea ecx, [ebp - 0x438]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov eax, dword [eax + edx*8 - 8]
xor edx, edx
call fcn.004505c0
mov edx, dword [ebp - 0x438]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
lea eax, [eax + ecx*8 - 4]
call fcn.004069f0
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Module32NextW
test eax, eax
jne 0x450d37
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450ddd
lea eax, [ebp - 0x438]
call fcn.0040662c
ret
Function at 0x452da0
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x452e9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00406b0c
mov edx, eax
add edx, 0x1c
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.00407050
mov eax, dword [ebp - 0x14]
call fcn.00406f80
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov edx, 8
call fcn.0042ad80
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xc]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x14]
call fcn.00406b0c
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406f80
pop edx
call fcn.0042ad80
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406b0c
push eax
mov eax, dword [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00406b0c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00406f80
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.icmp.dll_IcmpSendEcho
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 1
jl 0x452e87
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x452e87
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov dl, byte [edx + 0x14]
mov byte [eax], dl
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + 8]
mov dword [eax], edx
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452ea4
lea eax, [ebp - 0x14]
call fcn.00406650
ret
Function at 0x45a820
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 0xc]
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45a91e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45a90d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
call fcn.00404860
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x45a8b1
push 0x45a94c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f8b0
call fcn.00405e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a936
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [ebp - 2]
push eax
call sub.user32.dll_SetClipboardData
test eax, eax
jne 0x45a8f1
push 0x45a94c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5eba70]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f8b0
call fcn.00405e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a936
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a914
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45afb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b08a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.0040662c
mov eax, dword [0x5ec194]
cmp dword [eax], 0
je 0x45b038
mov edx, 0x5e97fc
mov eax, dword [ebp - 8]
mov ecx, 0x10
call fcn.0041cb1c
test al, al
jne 0x45b038
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0x4000
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x5ec194]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x45b038
cmp dword [ebp - 0x14], 0
je 0x45b038
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00407288
mov eax, dword [ebp - 0x14]
push eax
call sub.ole32.dll_CoTaskMemFree
jmp 0x45b074
lea eax, [ebp - 0x10]
mov edx, 0x105
call fcn.00407348
mov eax, dword [ebp - 0x10]
call fcn.00407230
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x45b074
lea eax, [ebp - 0x10]
call fcn.0042b200
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004069f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b091
lea eax, [ebp - 0x10]
call fcn.0040662c
ret
Function at 0x45b730
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b815
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045b830
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45b7f0
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov edx, 0x105
call fcn.00407348
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45b7a5
mov eax, dword [ebp - 0x24]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
call fcn.00407230
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407230
push eax
call sub.kernel32.dll_GetVolumeInformationW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b7f7
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x45bd30
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd40
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.0040662c
lea eax, [ebp - 0x2c0]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404cb8
push 0x200
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00407230
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x45bd94
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2b4]
mov ecx, 0x104
call fcn.004072dc
mov esp, ebp
pop ebp
ret
Function at 0x45be10
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
xor ecx, ecx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45bf8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
je 0x45bf58
lea eax, [ebp - 0x14]
call fcn.00428650
xor eax, eax
push ebp
push 0x45befc
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.004285a0
mov eax, dword [ebp - 0x18]
call fcn.00407230
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x60]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404cb8
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x5c], 0x500
mov eax, dword [0x5e9848]
call fcn.00407230
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
call fcn.00407230
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x44], 1
lea eax, [ebp - 0x60]
push eax
call sub.shell32.dll_ShellExecuteExW
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bf03
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.00406a38
mov eax, dword [ebp - 0x20]
call fcn.00407230
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x21], al
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bf92
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040668c
lea eax, [ebp - 0x20]
call fcn.0040662c
lea eax, [ebp - 0x18]
call fcn.0040662c
lea eax, [ebp - 0x14]
call fcn.0040662c
ret

Function at 0x45c170
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45c1d8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c191
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c1a1
or byte [ebp - 5], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c1b1
or byte [ebp - 5], 2
push 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c1c1
or byte [ebp - 5], 8
push 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c1d1
or byte [ebp - 5], 8
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret