joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e300
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.00407214
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 0x44e34c
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 0x44e359
mov al, 1
jmp 0x44e379
cmp dword [ebp - 8], 2
jne 0x44e363
mov al, 2
jmp 0x44e379
cmp dword [ebp - 8], 4
jne 0x44e36d
mov al, 3
jmp 0x44e379
cmp dword [ebp - 8], 3
jne 0x44e377
mov al, 4
jmp 0x44e379
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 0x44e390
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.00407214
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 0x44e3e2
mov al, 1
jmp 0x44e402
cmp dword [ebp - 8], 2
jne 0x44e3ec
mov al, 2
jmp 0x44e402
cmp dword [ebp - 8], 4
jne 0x44e3f6
mov al, 3
jmp 0x44e402
cmp dword [ebp - 8], 3
jne 0x44e400
mov al, 4
jmp 0x44e402
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 0x44ea10
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 0x44ead1
push dword fs:[eax]
mov dword fs:[eax], esp
movzx eax, byte [ebp + 8]
dec al
je 0x44ea4a
dec al
je 0x44ea51
dec al
je 0x44ea58
dec al
je 0x44ea5f
jmp 0x44ea66
mov eax, 1
jmp 0x44ea68
mov eax, 2
jmp 0x44ea68
mov eax, 4
jmp 0x44ea68
mov eax, 3
jmp 0x44ea68
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.00407214
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 0x44eabb
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x44eaf0
call fcn.00407404
mov edx, dword [ebp - 0xc]
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
mov ecx, 0x44eb10
call fcn.0043f750
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44ead8
lea eax, [ebp - 0xc]
call fcn.00406610
ret
Function at 0x44ed30
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 0x44edf0
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.0044e4f0
test al, al
je 0x44edd5
mov ecx, dword [ebp - 0x2c]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040677c
mov ebx, dword [ebp - 0x30]
dec ebx
test ebx, ebx
jl 0x44edd5
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.00407214
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.00407214
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040726c
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042ced0
inc esi
dec ebx
jne 0x44ed87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44edf7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret

Function at 0x44ee00
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 0x44eec0
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.0044e4f0
test al, al
je 0x44eea5
mov ecx, dword [ebp - 0x24]
add ecx, 2
lea eax, [ebp - 4]
xor edx, edx
call fcn.0040677c
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x44eea5
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.00407214
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.00407214
mov edx, eax
lea eax, [ebp - 8]
call fcn.0040726c
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, edi
call fcn.0042ced0
inc esi
dec ebx
jne 0x44ee57
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44eec7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406670
ret
Function at 0x4501b0
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 0x4502e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004280c0
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.00407214
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4502ca
mov eax, dword [ebp - 0x14]
call fcn.0040464c
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4502c3
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.00407214
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4502ad
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x4502f4
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4502ad
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 0x4502ca
mov eax, dword [ebp - 0x1c]
call fcn.00404668
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4502e7
lea eax, [ebp - 0x28]
call fcn.00406610
ret
Function at 0x4503f0
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.00407214
push eax
call sub.kernel32.dll_CreateFileW
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x5dfbb4]
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 0x4504c7
xor eax, eax
push ebp
push 0x4504c0
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 0x4504a9
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.0042b000
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x18]
call fcn.0040b2e8
test eax, eax
je 0x4504a9
lea eax, [ebp - 0x2c]
call fcn.00420018
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 0x4504c7
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 0x450990
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 0x450aa6
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 [0x44f150]
call fcn.004084c4
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 0x450a8d
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 0x450a84
inc dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, 1
mov edx, dword [0x44f150]
call fcn.004084c4
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.004072c0
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.00450300
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.004069d4
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_Module32NextW
test eax, eax
jne 0x450a07
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 0x450aad
lea eax, [ebp - 0x438]
call fcn.00406610
ret
Function at 0x452a70
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 0x452b6d
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.00406af0
mov edx, eax
add edx, 0x1c
lea eax, [ebp - 0x14]
xor ecx, ecx
call fcn.00407034
mov eax, dword [ebp - 0x14]
call fcn.00406f64
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x1c]
mov edx, 8
call fcn.0042b000
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xc]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x14]
call fcn.00406af0
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406f64
pop edx
call fcn.0042b000
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00406af0
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.00406af0
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
call fcn.00406f64
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 0x452b57
mov eax, dword [ebp - 0x24]
cmp dword [eax + 4], 0
jne 0x452b57
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 0x452b74
lea eax, [ebp - 0x14]
call fcn.00406634
ret
Function at 0x45a660
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 0x45a75e
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 0x45a74d
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 0x45a6f1
push 0x45a78c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f6d0
call fcn.00405dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a776
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 0x45a731
push 0x45a78c
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f6d0
call fcn.00405dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45a776
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a754
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 0x45adf0
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 0x45aeca
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00406610
mov eax, dword [0x5e016c]
cmp dword [eax], 0
je 0x45ae78
mov edx, 0x5dd7fc
mov eax, dword [ebp - 8]
mov ecx, 0x10
call fcn.0041caec
test al, al
jne 0x45ae78
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 [0x5e016c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x45ae78
cmp dword [ebp - 0x14], 0
je 0x45ae78
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.0040726c
mov eax, dword [ebp - 0x14]
push eax
call sub.ole32.dll_CoTaskMemFree
jmp 0x45aeb4
lea eax, [ebp - 0x10]
mov edx, 0x105
call fcn.0040732c
mov eax, dword [ebp - 0x10]
call fcn.00407214
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
push 0
call sub.shell32.dll_SHGetFolderPathW
test eax, eax
jne 0x45aeb4
lea eax, [ebp - 0x10]
call fcn.0042b480
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.004069d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45aed1
lea eax, [ebp - 0x10]
call fcn.00406610
ret
Function at 0x45b570
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 0x45b655
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045b670
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45b630
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.0040732c
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x45b5e5
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.00407214
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407214
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 0x45b637
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x45bb70
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.00406610
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.00407214
push eax
call sub.shell32.dll_SHGetFileInfoW
test eax, eax
je 0x45bbd4
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x2b4]
mov ecx, 0x104
call fcn.004072c0
mov esp, ebp
pop ebp
ret
Function at 0x45bc50
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 0x45bdc8
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
cmp dword [ebp - 8], 0
je 0x45bd98
lea eax, [ebp - 0x14]
call fcn.004288f0
xor eax, eax
push ebp
push 0x45bd3c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00428840
mov eax, dword [ebp - 0x18]
call fcn.00407214
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 [0x5dd848]
call fcn.00407214
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 8]
call fcn.00407214
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 0x45bd43
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x14]
call fcn.00406a1c
mov eax, dword [ebp - 0x20]
call fcn.00407214
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 0x45bdcf
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.00406670
lea eax, [ebp - 0x20]
call fcn.00406610
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00406670
ret

Function at 0x45bfe0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x45c048]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c001
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c011
or byte [ebp - 5], 4
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c021
or byte [ebp - 5], 2
push 0x5b
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c031
or byte [ebp - 5], 8
push 0x5c
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45c041
or byte [ebp - 5], 8
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x45c250
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 0x45c283
push 0x45c2fc
call sub.kernel32.dll_GetLastError_2
mov ecx, eax
mov eax, dword [0x5dfa4c]
mov eax, dword [eax]
mov dl, 2
call fcn.0043f6d0
jmp 0x45c2ec
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x45c2e5
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 0x45c2bb
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, dword [ebp - 8]
call fcn.0040726c
jmp 0x45c2c3
mov eax, dword [ebp - 8]
call fcn.00406610
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c2ec
call sub.user32.dll_CloseClipboard
cmp dword [ebp - 0xc], 0
je 0x45c2e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov esp, ebp
pop ebp
ret
Function at 0x4633a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4634f3
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 0x4634d1
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.004632d0
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 0x4634b4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00463330
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jne 0x4634a8
push 0x46350c
lea eax, [ebp - 0x1c]
push eax
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00404fac
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov ecx, 0x46356c
call fcn.0042b980
push dword [ebp - 0x1c]
push 0x46357c
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.0041d1b8
push dword [ebp - 0x24]
push 0x46358c
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0041d1b8
push dword [ebp - 0x28]
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.0040748c
mov ecx, dword [ebp - 0x18]
mov dl, 1
mov eax, dword [0x41a638]
call fcn.00422ae8
call fcn.00405d08
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jl 0x46341c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4634d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, byte [ebp - 0x11]
mov byte [eax + 0xad], dl
ret

Function at 0x477f60
Capabilities:
Encode data using xor

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