joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47a600
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x47a612
add esp, 0xfffffff0
call fcn.00404364
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042bd90
mov eax, dword [0x603b74]
mov dword [eax + 4], ebx
mov dword [eax], 0x47a9a4
mov eax, dword [0x603b98]
mov dword [eax + 4], ebx
mov dword [eax], 0x47a9b0
mov eax, ebx
call fcn.0047a9bc
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x475e48
push eax
push 0
push 0
mov eax, dword [0x603f9c]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x431d2c]
call fcn.00433644
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x431d2c]
call fcn.00433644
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x431d2c]
call fcn.00433644
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047aec4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47ad4c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47ad4c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x47ad4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47a74f
call fcn.004043bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x47ab30
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47acdb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x47acbc
mov dl, 1
mov eax, dword [0x41fc3c]
call fcn.00403fb4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404f5c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x47acab
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00469d68
test al, al
je 0x47ac9e
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x47acec
lea eax, [ebp - 0x254]
call fcn.0040c788
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47ac9e
xor eax, eax
push ebp
push 0x47ac97
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x47ad24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x47ac80
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051cc
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x47ac80
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004051cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ac9e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x47aba1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00425028
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ace2
lea eax, [ebp - 0x260]
call fcn.00404f5c
ret

Function at 0x47b69c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x609cd4]
cmp byte [eax + 0xad], 0
jne 0x47b70d
cmp dword [0x609cf0], 0
jne 0x47b6ce
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47b658
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x609cf0], eax
cmp dword [0x609cec], 0
jne 0x47b6e9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x609cec], eax
cmp dword [0x609cf4], 0
jne 0x47b70d
push esp
push 0
push 0
push 0x47b5fc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x609cf4], eax
pop edx
ret
Function at 0x47b93c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47b953
add esp, 0xfffffff0
call fcn.00404364
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042bd90
mov eax, dword [0x603f60]
cmp word [eax + 2], 0
jne 0x47b97b
mov eax, dword [0x603f60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047d69c
mov eax, dword [0x6041a0]
cmp word [eax + 2], 0
jne 0x47b995
mov eax, dword [0x6041a0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047d8a8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41f45c]
call fcn.00403fb4
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4328dc]
call fcn.0043aedc
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x47bb4c
mov eax, dword [0x603cb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043b2b0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47df7c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x603cb4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00412214
test eax, eax
je 0x47ba9c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040c0c4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00412248
test eax, eax
je 0x47bab0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004051cc
mov byte [ebx + 0xd4], 0
push ebx
push 0x47d110
call fcn.0042d540
mov dword [ebx + 0xc8], eax
mov eax, dword [0x6038ec]
cmp byte [eax], 0
jne 0x47bb01
mov eax, ebx
call fcn.0047bc90
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0047e160
mov eax, ebx
call fcn.0047ece8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47bb41
call fcn.004043bc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47bf10
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x47bfaf
cmp dword [ebx + 0x94], 0
jne 0x47bfa9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x47be98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x47bfa9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x47bf6f
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x47bfa9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0042214c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x47bf7e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47c1c8
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x609cd4]
cmp dword [eax + 0x30], 0
je 0x47c325
test bl, bl
jne 0x47c276
cmp dword [esi + 0x9c], 0
jne 0x47c26b
mov eax, esi
call fcn.0047eb64
push eax
push 0x47c0f4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x47c23c
mov eax, dword [0x609cd4]
call fcn.0047f244
test al, al
je 0x47c23c
mov eax, dword [0x609cf8]
call fcn.00406810
mov edi, eax
cmp edi, 0
jl 0x47c23c
push 0
mov eax, dword [0x609cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47c226
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47c26b
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042214c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47c24b
inc dword [esi + 0x9c]
jmp 0x47c325
cmp dword [esi + 0x9c], 0
jle 0x47c325
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x47c325
cmp dword [esi + 0x44], 0
je 0x47c2d1
mov eax, dword [0x609cd4]
call fcn.0047f244
test al, al
je 0x47c2d1
mov eax, dword [0x609cf8]
call fcn.00406810
mov edi, eax
cmp edi, 0
jl 0x47c2d1
push 5
mov eax, dword [0x609cf8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x47c2bb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x47c300
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0042214c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x47c2e0
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x609cf8
mov ecx, 1
mov edx, dword [0x47c0d4]
call fcn.004069c4
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x47ce0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x47ce76
mov eax, ebx
call fcn.0047f244
test al, al
jne 0x47ce76
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040504c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x47ce63
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x47ce83
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404fb0
jmp 0x47ce83
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404fb0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x47e344
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47e3b2
mov eax, esi
call fcn.00464808
test al, al
je 0x47e3b2
mov eax, dword [ebx + 0x84]
call fcn.00464468
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47e3b2
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x47e3a6
push 0
mov eax, dword [ebx + 0x84]
call fcn.00464468
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0045c1cc
jmp 0x47e3b2
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0047e180
pop esi
pop ebx
ret
Function at 0x481648
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408ed4]
call fcn.00405d1c
xor eax, eax
push ebp
push 0x4817e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x5f8b54], 0
jne 0x4816a3
mov ecx, dword [0x60392c]
mov dl, 1
mov eax, dword [0x409748]
call fcn.00411330
call fcn.004048b4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403830
mov eax, ebx
call fcn.00405938
mov dword [ebp - 0x24], eax
mov esi, 0x4817f8
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.004071c8
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405948
test eax, eax
jle 0x48178c
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x481778
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004051cc
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x48171e
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.004051e4
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x481734
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.004051e4
mov eax, dword [ebp - 0x54]
call fcn.004053ec
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004051cc
mov eax, dword [ebp - 0x58]
call fcn.004053ec
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x48177a
xor eax, eax
test al, al
je 0x481785
mov ebx, 0x15
jmp 0x481791
mov ebx, 0x10
jmp 0x481791
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x5f8b54]
call fcn.004814c8
mov eax, dword [ebp - 4]
call fcn.004814c8
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.004071e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4817f0
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404f80
lea eax, [ebp - 0xc]
mov edx, dword [0x408ed4]
call fcn.00405dec
ret

Function at 0x483acc
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x483b30
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004051cc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP_1
mov edx, eax
pop eax
call fcn.0040b3b4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483b37
lea eax, [ebp - 0xc]
call fcn.00404f5c
ret
Function at 0x483bd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x483c2c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483bfb
call fcn.00412d7c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403230
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x483c2c
call fcn.00412d7c
add esp, 0x14
pop edi
pop esi
pop ebx
ret

Function at 0x4a5018
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [0x604594]
cmp dword [eax], 2
je 0x4a5036
mov ecx, 0x304
mov edx, 0x4a5068
mov eax, 0x4a5094
call fcn.00404e88
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
push 0x4a4fb8
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x60a0e0], eax
cmp dword [0x60a0e0], 0
jne 0x4a505d
call fcn.00412d7c
ret

Function at 0x4a53c4
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, dword [0x603a64]
cmp byte [eax], 0
jne 0x4a53f2
mov ecx, 0xad
mov edx, 0x4a5440
mov eax, 0x4a546c
call fcn.00404e88
mov eax, ebx
call fcn.00405740
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyW
shl eax, 0x10
test eax, eax
je 0x4a5430
push 0x200
lea edx, [ebp - 0x202]
push edx
push eax
call sub.user32.dll_GetKeyNameTextW
mov eax, ebx
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040590c
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4a5480
Capabilities:
Log keystrokes

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x603a64]
cmp byte [eax], 0
jne 0x4a54a1
mov ecx, 0xb9
mov edx, 0x4a54b8
mov eax, 0x4a54e4
call fcn.00404e88
push 2
movzx eax, bx
push eax
call sub.user32.dll_MapVirtualKeyW
pop ebx
ret
Function at 0x4a85d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
push ebp
push ecx
mov esi, dword [ebx + 0x2c]
mov edi, dword [ebx + 0x3c]
sub edi, dword [ebx + 0x74]
sub edi, dword [ebx + 0x6c]
jmp 0x4a85fd
mov eax, dword [ebx + 0x2c]
sub eax, 0x106
add eax, esi
cmp eax, dword [ebx + 0x6c]
ja 0x4a867c
push esi
mov eax, dword [ebx + 0x38]
mov edx, eax
mov ebp, esi
add edx, ebp
push edx
push eax
call fcn.004a6fa8
add esp, 0xc
sub dword [ebx + 0x70], esi
sub dword [ebx + 0x6c], esi
sub dword [ebx + 0x5c], ebp
mov eax, dword [ebx + 0x4c]
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x44]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4a864a
mov cx, word [esp]
sub cx, si
jmp 0x4a864c
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4a8633
mov eax, esi
mov edx, eax
add edx, edx
add edx, dword [ebx + 0x40]
sub edx, 2
movzx ecx, word [edx]
mov dword [esp], ecx
cmp esi, dword [esp]
ja 0x4a8672
mov cx, word [esp]
sub cx, si
jmp 0x4a8674
xor ecx, ecx
mov word [edx], cx
dec eax
jne 0x4a865b
add edi, esi
mov ebp, dword [ebx]
cmp dword [ebp + 4], 0
je 0x4a86d9
mov edx, dword [ebx + 0x38]
mov ecx, edi
add edx, dword [ebx + 0x6c]
mov eax, ebp
add edx, dword [ebx + 0x74]
call fcn.004a829c
add dword [ebx + 0x74], eax
cmp dword [ebx + 0x74], 3
jb 0x4a86c4
mov eax, dword [ebx + 0x38]
mov edx, dword [ebx + 0x6c]
movzx eax, byte [eax + edx]
mov dword [ebx + 0x48], eax
mov ecx, dword [ebx + 0x58]
shl eax, cl
mov edx, dword [ebx + 0x38]
mov ecx, dword [ebx + 0x6c]
movzx edx, byte [edx + ecx + 1]
xor eax, edx
and eax, dword [ebx + 0x54]
mov dword [ebx + 0x48], eax
cmp dword [ebx + 0x74], 0x106
jae 0x4a86d9
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x4a85da
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4af18c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af1e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x603a58]
cmp byte [eax], 0
je 0x4af1b6
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x4af1d0
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405184
mov eax, dword [ebp - 4]
call fcn.004053ec
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af1ed
lea eax, [ebp - 4]
call fcn.00404f5c
ret

Function at 0x4af1f4
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af253
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x603a58]
cmp byte [eax], 0
je 0x4af222
push esi
push ebx
call sub.kernel32.dll_SetFileAttributesW
mov ebx, eax
jmp 0x4af23d
push esi
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00405184
mov eax, dword [ebp - 4]
call fcn.004053ec
push eax
call sub.kernel32.dll_SetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af25a
lea eax, [ebp - 4]
call fcn.00404f5c
ret

Function at 0x4af2d4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4af34c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x603a58]
cmp byte [eax], 0
je 0x4af304
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x4af331
lea eax, [ebp - 4]
mov edx, esi
call fcn.00405184
mov eax, dword [ebp - 4]
call fcn.004053ec
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00405184
mov eax, dword [ebp - 8]
call fcn.004053ec
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af353
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404f80
ret

Function at 0x4afeb0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov esi, edx
lea edi, [esp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x4aff0c
push esp
push 0x40
push 6
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4afedb
call fcn.00412d7c
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
mov ecx, 6
call fcn.00403230
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
push 6
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
jne 0x4aff0c
call fcn.00412d7c
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x4b279c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov ecx, 8
mov edx, 0x3020100
mov dword [eax], edx
add edx, 0x4040404
mov dword [eax + 4], edx
add edx, 0x4040404
mov dword [eax + 8], edx
add edx, 0x4040404
mov dword [eax + 0xc], edx
add edx, 0x4040404
mov dword [eax + 0x10], edx
add edx, 0x4040404
mov dword [eax + 0x14], edx
add edx, 0x4040404
mov dword [eax + 0x18], edx
add edx, 0x4040404
mov dword [eax + 0x1c], edx
add edx, 0x4040404
add eax, 0x20
dec ecx
jne 0x4b27a6
ret

Function at 0x4b4a48
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret

Function at 0x4b56fc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b577d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.004051e4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.0040bd58
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00405928
mov eax, dword [ebp - 4]
call fcn.004b563c
test al, al
je 0x4b574a
mov byte [ebp - 5], 1
jmp 0x4b575a
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
sete byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5784
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00404f80
lea eax, [ebp - 0xc]
call fcn.00405740
ret

Function at 0x4b5b84
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x4b5ba7
and ecx, ecx
jle 0x4b5ba7
push ebx
push edi
xor ebx, ebx
lea edi, cs:[0x4b5bad]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x4b5b97
pop edi
pop ebx
ret

Function at 0x4b6188
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
dec eax
test eax, eax
jl 0x4b61e5
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0xe], al
mov eax, dword [ebp - 0xc]
call fcn.004b60d8
xor al, byte [ebp - 0xe]
mov byte [ebp - 0xd], al
mov edx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
call fcn.004b6040
mov eax, dword [ebp - 4]
mov eax, dword [eax]
add eax, dword [ebp - 0x14]
mov dl, byte [ebp - 0xd]
mov byte [eax], dl
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x4b61aa
mov esp, ebp
pop ebp
ret