joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444c50
Capabilities:
Query or enumerate 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 - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x444d1a
push dword fs:[eax]
mov dword fs:[eax], esp
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.00407200
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 0x444cd2
lea eax, [ebp - 0xc]
mov ecx, edi
mov edx, 0x444d38
call fcn.004073f0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x59e8a8]
mov eax, dword [eax]
mov ecx, 0x444d68
call fcn.004367a0
xor eax, eax
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 8], 1
jne 0x444cdf
mov al, 1
jmp 0x444cff
cmp dword [ebp - 8], 2
jne 0x444ce9
mov al, 2
jmp 0x444cff
cmp dword [ebp - 8], 4
jne 0x444cf3
mov al, 3
jmp 0x444cff
cmp dword [ebp - 8], 3
jne 0x444cfd
mov al, 4
jmp 0x444cff
xor eax, eax
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444d21
lea eax, [ebp - 0xc]
call fcn.004065ac
ret

Function at 0x444d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov esi, ecx
mov edi, edx
mov ebx, eax
mov eax, esi
xor ecx, ecx
mov edx, 8
call fcn.00404c5c
mov ebp, ebx
lea eax, [esi + 4]
push eax
push 0
lea eax, [esp + 8]
push eax
push 0
mov eax, edi
call fcn.00407200
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov dword [ebp + 0x1c], eax
test eax, eax
sete al
mov edx, eax
cmp dword [esp], 1
jne 0x444ddd
mov al, 1
jmp 0x444dfd
cmp dword [esp], 2
jne 0x444de7
mov al, 2
jmp 0x444dfd
cmp dword [esp], 4
jne 0x444df1
mov al, 3
jmp 0x444dfd
cmp dword [esp], 3
jne 0x444dfb
mov al, 4
jmp 0x444dfd
xor eax, eax
mov byte [esi], al
mov eax, edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x445400
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 0x4454c1
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x44543a
dec al
je 0x445441
dec al
je 0x445448
dec al
je 0x44544f
jmp 0x445456
mov eax, 1
jmp 0x445458
mov eax, 2
jmp 0x445458
mov eax, 4
jmp 0x445458
mov eax, 3
jmp 0x445458
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 0x4454ab
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x4454e0
call fcn.004073f0
mov edx, dword [ebp - 0xc]
mov eax, dword [0x59e8a8]
mov eax, dword [eax]
mov ecx, 0x445500
call fcn.004367a0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4454c8
lea eax, [ebp - 0xc]
call fcn.004065ac
ret

Function at 0x4456c0
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 0x445780
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.00444ef0
test al, al
je 0x445765
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 0x445765
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.0042c3c0
inc esi
dec ebx
jne 0x445717
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445787
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x445790
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 0x445850
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.00444ef0
test al, al
je 0x445835
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 0x445835
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.0042c3c0
inc esi
dec ebx
jne 0x4457e7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445857
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040660c
ret
Function at 0x446af0
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 0x446c3b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00427ba0
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 0x446c1d
mov eax, dword [ebp - 0x14]
call fcn.0040464c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x446c16
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 0x446c00
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x446c4c
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x446c00
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 0x446c1d
mov eax, dword [ebp - 0x1c]
call fcn.00404668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446c42
lea eax, [ebp - 0x28]
call fcn.004065ac
lea eax, [ebp - 4]
call fcn.004065ac
ret
Function at 0x446d40
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 [0x59e9fc]
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 0x446e17
xor eax, eax
push ebp
push 0x446e10
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 0x446df9
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.0042a660
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0040b2b4
test eax, eax
je 0x446df9
lea eax, [ebp - 0x2c]
call fcn.0041fe34
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 0x446e17
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 0x4472e0
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 0x4473f6
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 [0x445a90]
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 0x4473dd
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 0x4473d4
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x445a90]
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.00446c50
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 0x447357
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 0x4473fd
lea eax, [ebp - 0x438]
call fcn.004065ac
ret
Function at 0x4493c0
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 0x4494bd
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.0042a660
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.0042a660
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 0x4494a7
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x4494a7
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 0x4494c4
lea eax, [ebp - 0x14]
call fcn.004065d0
ret
Function at 0x44f640
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 0x44f73e
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 0x44f72d
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 0x44f6d1
push 0x44f76c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x59e8a8]
mov eax, dword [eax]
mov dl, 2
call fcn.00436500
call fcn.00405d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f756
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 0x44f711
push 0x44f76c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x59e8a8]
mov eax, dword [eax]
mov dl, 2
call fcn.00436500
call fcn.00405d98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f756
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f734
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 0x44fdb0
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 0x44fe90
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.004065ac
mov eax, dword [0x59ef00]
cmp dword [eax], 0
je 0x44fe38
mov edx, 0x59d80c
mov eax, dword [ebp - 8]
mov ecx, 0x10
call fcn.0041ca34
test al, al
jne 0x44fe38
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 [0x59ef00]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x44fe38
cmp dword [ebp - 0x14], 0
je 0x44fe38
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 0x44fe7a
cmp dword [ebp - 4], 0
jge 0x44fe7a
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 0x44fe7a
lea eax, [ebp - 0x10]
call fcn.0042aa50
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 0x44fe97
lea eax, [ebp - 0x10]
call fcn.004065ac
ret
Function at 0x450540
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 0x450625
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00450640
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x450600
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 0x4505b5
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 0x450607
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x450b00
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 0x450b64
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2b4]
mov ecx, 0x104
call fcn.004072ac
mov esp, ebp
pop ebp
ret
Function at 0x450bd0
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 0x450d1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
je 0x450cef
lea eax, [ebp - 0x14]
call fcn.004282f0
xor eax, eax
push ebp
push 0x450c93
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00428240
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 0x450d30
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 0x450c9a
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 0x450d26
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 0x450f40
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x450fa8]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f61
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f71
or byte [ebp - 5], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f81
or byte [ebp - 5], 2
push 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450f91
or byte [ebp - 5], 8
push 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x450fa1
or byte [ebp - 5], 8
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x4511b0
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 0x4511e3
push 0x45125c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x59e8a8]
mov eax, dword [eax]
mov dl, 2
call fcn.00436500
jmp 0x45124c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x451245
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 0x45121b
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.00407258
jmp 0x451223
mov eax, dword [ebp - 8]
call fcn.004065ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45124c
call sub.user32.dll_CloseClipboard
cmp dword [ebp - 0xc], 0
je 0x451244
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov esp, ebp
pop ebp
ret
Function at 0x458070
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 0x45818a
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 0x458168
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.00457fa0
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 0x45814b
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00458000
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x458143
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, 0x4581a4
call fcn.0042af80
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x4581b4
call fcn.004073f0
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41a620]
call fcn.004228d8
call fcn.00405ca4
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jl 0x4580e2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45816f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [eax + 0xad], dl
ret
Function at 0x46c810
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
xor eax, eax
mov ecx, edx
test ecx, ecx
je 0x46c81f
sub ecx, 4
mov ecx, dword [ecx]
test ecx, ecx
jle 0x46c840
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 0x46c828
pop esi
pop ebx
ret