joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4451f0
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 0x4452b1
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x44522a
dec al
je 0x445231
dec al
je 0x445238
dec al
je 0x44523f
jmp 0x445246
mov eax, 1
jmp 0x445248
mov eax, 2
jmp 0x445248
mov eax, 4
jmp 0x445248
mov eax, 3
jmp 0x445248
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.00407200
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 0x44529b
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4452d0
call fcn.004073f0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov ecx, 0x4452f0
call fcn.004365f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4452b8
lea eax, [ebp - 0xc]
call fcn.004065ac
ret

Function at 0x4454b0
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 0x445570
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.00444ce0
test al, al
je 0x445555
mov ecx, dword [ebp - 0x2c]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406718
mov ebx, dword [ebp - 0x30]
dec ebx
test ebx, ebx
jl 0x445555
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.00407200
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.00407200
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407258
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042c210
inc esi
dec ebx
jne 0x445507
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445577
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x445580
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 0x445640
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.00444ce0
test al, al
je 0x445625
mov ecx, dword [ebp - 0x24]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406718
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x445625
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.00407200
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.00407200
mov edx, eax
lea eax, [ebp - 8]
call fcn.00407258
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042c210
inc esi
dec ebx
jne 0x4455d7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445647
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x4468e0
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
mov eax, dword [ebp - 4]
call fcn.00406690
xor eax, eax
push ebp
push 0x446a2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004279f0
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.004069b8
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 - 4]
call fcn.00407200
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x446a0d
mov eax, dword [ebp - 0x14]
call fcn.0040464c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x446a06
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 - 4]
call fcn.00407200
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4469f0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x446a3c
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4469f0
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 0x446a0d
mov eax, dword [ebp - 0x1c]
call fcn.00404668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446a32
lea eax, [ebp - 0x28]
call fcn.004065ac
lea eax, [ebp - 4]
call fcn.004065ac
ret
Function at 0x446b30
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.00407200
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x59f9fc]
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 0x446c07
xor eax, eax
push ebp
push 0x446c00
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 0x446be9
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.0042a4b0
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0040b2b4
test eax, eax
je 0x446be9
lea eax, [ebp - 0x2c]
call fcn.0041fd6c
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 0x446c07
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 0x4470d0
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 0x4471e6
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 [0x445880]
call fcn.004084e4
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 0x4471cd
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 0x4471c4
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x445880]
call fcn.004084e4
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.004072ac
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.00446a40
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.00406970
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Module32NextW
test eax, eax
jne 0x447147
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 0x4471ed
lea eax, [ebp - 0x438]
call fcn.004065ac
ret
Function at 0x4491b0
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 0x4492ad
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.00406a8c
mov edx, eax
add edx, 0x1c
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.00407020
mov eax, dword [ebp - 0x14]
call fcn.00406ee0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov edx, 8
call fcn.0042a4b0
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xc]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x14]
call fcn.00406a8c
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406ee0
pop edx
call fcn.0042a4b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406a8c
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.00406a8c
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00406ee0
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 0x449297
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x449297
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 0x4492b4
lea eax, [ebp - 0x14]
call fcn.004065d0
ret
Function at 0x44f5e0
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 0x44f6de
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 0x44f6cd
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 0x44f671
push 0x44f70c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov dl, 2
call fcn.00436350
call fcn.00405d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f6f6
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 0x44f6b1
push 0x44f70c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov dl, 2
call fcn.00436350
call fcn.00405d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f6f6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f6d4
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 0x44fd50
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 0x44fe30
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004065ac
mov eax, dword [0x59ff10]
cmp dword [eax], 0
je 0x44fdd8
mov edx, 0x59e80c
mov eax, dword [ebp - 8]
mov ecx, 0x10
call fcn.0041ca44
test al, al
jne 0x44fdd8
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 [0x59ff10]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x44fdd8
cmp dword [ebp - 0x14], 0
je 0x44fdd8
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.00407258
mov eax, dword [ebp - 0x14]
push eax
call sub.ole32.dll_CoTaskMemFree
jmp 0x44fe1a
cmp dword [ebp - 4], 0
jge 0x44fe1a
lea eax, [ebp - 0x10]
mov edx, 0x105
call fcn.00407318
mov eax, dword [ebp - 0x10]
call fcn.00407200
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x44fe1a
lea eax, [ebp - 0x10]
call fcn.0042a8a0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00406970
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe37
lea eax, [ebp - 0x10]
call fcn.004065ac
ret
Function at 0x4504e0
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 0x4505c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004505e0
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4505a0
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.00407318
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x450555
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.00407200
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407200
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 0x4505a7
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x450aa0
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.004065ac
lea eax, [ebp - 0x2c0]
xor ecx, ecx
mov edx, 0x2b4
call fcn.00404c5c
push 0x200
push 0x2b4
lea eax, [ebp - 0x2c0]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x450b04
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2b4]
mov ecx, 0x104
call fcn.004072ac
mov esp, ebp
pop ebp
ret
Function at 0x450b70
Capabilities:
Create process on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], 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 0x450cbf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
je 0x450c8f
lea eax, [ebp - 0x14]
call fcn.00428140
xor eax, eax
push ebp
push 0x450c33
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00428090
mov eax, dword [ebp - 0x18]
call fcn.00407200
push eax
call sub.kernel32.dll_SetCurrentDirectoryW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
push 1
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00407200
push eax
push 0x450cd0
call sub.user32.dll_GetForegroundWindow
push eax
call sub.shell32.dll_ShellExecuteW
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450c3a
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.004069b8
mov eax, dword [ebp - 0x20]
call fcn.00407200
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 0x450cc6
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.0040660c
lea eax, [ebp - 0x20]
call fcn.004065ac
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0040660c
ret

Function at 0x450ee0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x450f48]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f01
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f11
or byte [ebp - 5], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f21
or byte [ebp - 5], 2
push 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f31
or byte [ebp - 5], 8
push 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f41
or byte [ebp - 5], 8
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x451150
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x451183
push 0x4511fc
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x59f8a8]
mov eax, dword [eax]
mov dl, 2
call fcn.00436350
jmp 0x4511ec
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4511e5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xd
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4511bb
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00407258
jmp 0x4511c3
mov eax, dword [ebp - 8]
call fcn.004065ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4511ec
call sub.user32.dll_CloseClipboard
cmp dword [ebp - 0xc], 0
je 0x4511e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov esp, ebp
pop ebp
ret
Function at 0x458000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45811a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0xad]
mov byte [ebp - 0x11], al
xor eax, eax
push ebp
push 0x4580f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0xad], 1
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00457f30
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 1
mov dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jge 0x4580db
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00457f90
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x4580d3
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404f48
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov ecx, 0x458134
call fcn.0042add0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x458144
call fcn.004073f0
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41a630]
call fcn.00422810
call fcn.00405ca4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jl 0x458072
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4580ff
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [eax + 0xad], dl
ret
Function at 0x46c800
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
mov ecx, edx
test ecx, ecx
je 0x46c80f
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x46c830
mov ebx, 1
mov esi, eax
add esi, esi
add esi, esi
shr eax, 0x1e
or esi, eax
movzx eax, word [edx + ebx*2 - 2]
xor esi, eax
mov eax, esi
inc ebx
dec ecx
jne 0x46c818
pop esi
pop ebx
ret
Function at 0x46d100
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov esi, eax
xor eax, eax
push ebp
push 0x46d328
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046cc80
cmp dword [esi + 8], 0
je 0x46d305
mov ebx, 1
mov eax, dword [esi + 8]
mov edx, 1
call fcn.0042b610
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x46d18a
lea eax, [ebp - 0xc]
mov edx, dword [esi + 8]
call fcn.004069b8
mov eax, dword [ebp - 0xc]
call fcn.00407200
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46d175
test al, 0x10
sete al
jmp 0x46d177
xor eax, eax
test al, al
je 0x46d18a
lea eax, [ebx + ebx*2]
push eax
call sub.kernel32.dll_Sleep_2
inc ebx
cmp ebx, 0xb
jne 0x46d13a
cmp dword [ebp - 0x14], 0
je 0x46d305
xor ecx, ecx
push ebp
push 0x46d2fe
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov edx, eax
lea eax, [ebp - 4]
xor ecx, ecx
call fcn.00407020
mov byte [esi + 0xc], 0
lea eax, [ebp - 8]
call fcn.004065ac
mov eax, dword [ebp - 4]
test eax, eax
je 0x46d1cd
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46d299
lea eax, [ebp - 4]
call fcn.00406b50
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x46d1eb
sub eax, 4
mov eax, dword [eax]
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov eax, dword [ebp - 4]
test eax, eax
je 0x46d201
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jle 0x46d21b
mov eax, dword [ebp - 4]
cmp byte [eax], 0xff
jne 0x46d21b
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0xfe
jne 0x46d21b
mov byte [esi + 0xc], 1
movzx eax, byte [esi + 0xc]
sub al, 1
jb 0x46d227
je 0x46d234
jmp 0x46d299
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004072c8
jmp 0x46d299
mov eax, dword [ebp - 4]
test eax, eax
je 0x46d240
sub eax, 4
mov eax, dword [eax]
mov edx, eax
sub edx, 2
sar edx, 1
jns 0x46d24c
adc edx, 0
lea eax, [ebp - 8]
call fcn.00407318
mov eax, dword [ebp - 8]
test eax, eax
je 0x46d260
sub eax, 4
mov eax, dword [eax]
mov edi, eax
test edi, edi
jle 0x46d299
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00406b50
mov edx, ebx
dec edx
add edx, edx
add edx, 3
lea eax, [eax + edx - 1]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
call fcn.00406b48
mov edx, dword [ebp - 0x18]
movzx edx, word [edx]
mov word [eax + ebx*2 - 2], dx
inc ebx
dec edi
jne 0x46d26b
mov dl, 1
mov eax, dword [0x426b3c]
call fcn.00404fa4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46d2e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0042bee0
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.0046d880
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d2e8
mov eax, dword [ebp - 0x10]
call fcn.00404fd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d32f
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040660c
lea eax, [ebp - 4]
call fcn.004065d0
ret