joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45be30
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45be68]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45be49
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45be58
or bl, 4
test esi, 0x20000000
je 0x45be63
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46252c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46253e
add esp, 0xfffffff0
call fcn.00404044
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041ff60
mov eax, dword [0x54d670]
mov dword [eax + 4], ebx
mov dword [eax], 0x4628d0
mov eax, dword [0x54d67c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4628dc
mov eax, ebx
call fcn.004628e8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416f30]
call fcn.00403cdc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416f30]
call fcn.00403cdc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416f30]
call fcn.00403cdc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416f30]
call fcn.00403cdc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416f30]
call fcn.00403cdc
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, 0x45ed00
push eax
push 0
push 0
mov eax, dword [0x54d808]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421a48]
call fcn.00423250
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421a48]
call fcn.00423250
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421a48]
call fcn.00423250
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00462e34
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462cb4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462cb4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x462cb4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46267b
call fcn.0040409c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x462a98
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 0x462c43
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x462c24
mov dl, 1
mov eax, dword [0x4174d8]
call fcn.00403cdc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404b3c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x462c13
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.004501d4
test al, al
je 0x462c06
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, 0x462c54
lea eax, [ebp - 0x254]
call fcn.0040a53c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x462c06
xor eax, eax
push ebp
push 0x462bff
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 0x462c8c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x462be8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dac
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 0x462be8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404dac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x462c06
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x462b09
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041ba54
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 0x462c4a
lea eax, [ebp - 0x260]
call fcn.00404b3c
ret

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

Disassembly:
push ecx
mov eax, dword [0x54eb78]
cmp byte [eax + 0xa5], 0
jne 0x463645
cmp dword [0x54eb90], 0
jne 0x463606
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x463590
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x54eb90], eax
cmp dword [0x54eb8c], 0
jne 0x463621
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x54eb8c], eax
cmp dword [0x54eb94], 0
jne 0x463645
push esp
push 0
push 0
push 0x463534
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x54eb94], eax
pop edx
ret
Function at 0x463d08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x54eb78]
cmp dword [eax + 0x30], 0
je 0x463db2
cmp dword [ebx + 0x94], 0
jne 0x463dac
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x463c98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x463dac
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 0x463d72
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x463dac
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.0041955c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x463d81
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x464928
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46495d
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.00404c2c
jmp 0x46496a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404b90
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x465b34
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x465b75
mov eax, esi
call fcn.0044b728
test al, al
je 0x465b75
mov eax, dword [ebx + 0x84]
call fcn.0044b424
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x465b75
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044b424
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x46e1e8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46e216
mov eax, ebx
call fcn.0046ec9c
cmp dword [ebx + 0x40], 0
je 0x46e20f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46e287
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46e279
cmp dword [ebx + 8], 0
je 0x46e238
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46e24a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46e279
cmp dword [ebx + 8], 0
je 0x46e22b
cmp eax, 3
je 0x46e25d
dec eax
jne 0x46e22b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46e22b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46e22b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46e2a5
cmp dword [ebx + 0x14], 0xcc
je 0x46e2a5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046e2b0
pop ebx
ret
Function at 0x483ba8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
inc eax
push eax
mov eax, dword [edi]
call fcn.004289e8
call fcn.0042451c
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
push 0
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 8]
push eax
mov eax, dword [edi]
call fcn.004289e8
call fcn.0042451c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x10]
dec ebx
test ebx, ebx
jl 0x483c56
inc ebx
xor esi, esi
push 0xcc0020
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [edi]
call fcn.004289e8
call fcn.0042451c
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
push 1
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
add eax, esi
inc eax
push eax
mov eax, dword [edi]
call fcn.004289e8
call fcn.0042451c
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x483c0f
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4890d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x489145
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x54c8d4]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x48912f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.004890c4
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x488dc0]
call fcn.0048916c
mov dword [0x54c938], eax
mov eax, dword [ebp - 4]
call fcn.00489074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48914c
lea eax, [ebp - 8]
call fcn.00406794
ret

Function at 0x489e90
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ebp, 0x54ee44
test esi, esi
jne 0x489eaa
xor eax, eax
jmp 0x489fac
cmp dword [ebp], 0
jne 0x489eb5
call fcn.00489e20
xor ebx, 0xffffffff
cmp edi, 8
jb 0x489f85
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
mov eax, ebx
xor al, byte [esi]
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
sub edi, 8
cmp edi, 8
jae 0x489ec1
test edi, edi
jbe 0x489fa7
xor eax, eax
mov al, byte [esi]
xor eax, ebx
and eax, 0xff
mov edx, dword [ebp]
mov eax, dword [edx + eax*4]
shr ebx, 8
xor eax, ebx
mov ebx, eax
inc esi
dec edi
test edi, edi
ja 0x489f89
mov eax, ebx
xor eax, 0xffffffff
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x49a664
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc10
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x3f0], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x49a71e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405248
mov eax, dword [0x54da34]
cmp dword [eax], 2
jne 0x49a6d3
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.004054a0
mov eax, dword [ebx]
call fcn.004053c4
push eax
mov eax, dword [ebx]
call fcn.004053b4
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.004053c4
mov edx, eax
dec edx
mov eax, ebx
call fcn.004054a0
jmp 0x49a705
lea eax, [ebp - 0x3e9]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageA
lea edx, [ebp - 0x3f0]
lea eax, [ebp - 0x3e9]
call fcn.0040a0bc
mov edx, dword [ebp - 0x3f0]
mov eax, ebx
call fcn.004053a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a725
lea eax, [ebp - 0x3f0]
call fcn.00404b3c
ret
Function at 0x4a4b30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffdc
mov ebp, edx
mov ebx, eax
cmp dword [ebx + 0x60], 0
jne 0x4a4b48
mov eax, ebx
call fcn.004a491c
cmp dword [ebx + 0x54], 0
jne 0x4a4b55
mov eax, ebx
call fcn.004a487c
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x4a4cde
cmp dword [ebx + 0x54], 0
je 0x4a4cde
mov edx, esp
mov eax, esi
call fcn.00529084
lea edx, [esp + 0x14]
mov eax, ebx
call fcn.004a4800
mov edx, dword [esp + 0x1c]
mov ecx, edx
mov esi, dword [esp + 0x14]
sub ecx, esi
mov eax, dword [esp]
cmp ecx, eax
je 0x4a4bbb
mov ecx, dword [esp + 4]
sub ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x18]
sar ecx, 1
jns 0x4a4ba4
adc ecx, 0
push ecx
sub eax, edx
add eax, esi
sar eax, 1
jns 0x4a4bb0
adc eax, 0
push eax
lea eax, [esp + 0x1c]
push eax
call sub.user32.dll_InflateRect
mov eax, dword [ebx + 0x68]
mov eax, dword [eax + 0xd4]
test eax, eax
je 0x4a4bd1
call fcn.0044b424
mov esi, eax
jmp 0x4a4bd4
mov esi, dword [ebx + 0x64]
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4a4be5
or esi, 0xffffffff
jmp 0x4a4bef
push 3
push esi
call sub.user32.dll_GetWindow
mov esi, eax
mov edi, 0x610
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 0x54]
call fcn.00444374
mov edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x54]
call fcn.00444398
mov edx, dword [esp]
mov eax, dword [ebx + 0x54]
call fcn.004443c0
mov edx, dword [esp + 4]
mov eax, dword [ebx + 0x54]
call fcn.004443e4
lea ecx, [esp + 8]
xor edx, edx
xor eax, eax
call fcn.005290d0
mov edx, ebp
lea eax, [esp + 0x10]
call fcn.005297e8
or edi, 2
or edi, 1
push edi
push 0
push 0
push 0
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowPos
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.0044b424
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
or eax, 0x8000000
or eax, 0x20
push eax
push 0xffffffffffffffec
mov eax, dword [ebx + 0x54]
call fcn.0044b424
push eax
call sub.user32.dll_SetWindowLongA
push 2
lea eax, [esp + 0x14]
push eax
push 0x1fffffff
lea eax, [esp + 0x14]
push eax
mov eax, dword [ebx + 0x60]
call fcn.004289e8
call fcn.0042451c
push eax
lea eax, [esp + 0x14]
push eax
push 0
push esi
mov eax, dword [ebx + 0x54]
call fcn.0044b424
push eax
call dword [0x54eed8]
push 4
mov eax, dword [ebx + 0x54]
call fcn.0044b424
push eax
call sub.user32.dll_ShowWindow
push esi
push 0
call sub.user32.dll_ReleaseDC
add esp, 0x24
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4acf8c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0xc], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004aa628
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.00529134
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0x10], edx
cmp edi, dword [ebp - 0x24]
jl 0x4ad0cc
cmp edi, dword [ebp - 0x1c]
jge 0x4ad0cc
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004aaba4
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4ad008
mov ebx, esi
sar ebx, 1
jns 0x4ad008
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x4ad021
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4ad021
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4ad0cc
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x4ad03e
cmp eax, dword [ebp - 8]
jle 0x4ad03e
mov dword [ebp - 0xc], 1
jmp 0x4ad0cc
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x4ad04f
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4ad0cc
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x4ad06b
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x4ad06b
mov dword [ebp - 0xc], 5
jmp 0x4ad0cc
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x4ad09b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x4ad09b
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ad092
mov dword [ebp - 0xc], 4
jmp 0x4ad0cc
mov dword [ebp - 0xc], 2
jmp 0x4ad0cc
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x4ad0cc
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x4ad0cc
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ad0c5
mov dword [ebp - 0xc], 4
jmp 0x4ad0cc
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4ad0d8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, ecx
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004aa628
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.00529148
mov esi, eax
mov eax, ebx
add eax, eax
mov edx, esi
sub edx, eax
mov dword [ebp - 0xc], edx
cmp edi, dword [ebp - 0x24]
jl 0x4ad214
cmp edi, dword [ebp - 0x1c]
jge 0x4ad214
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.004aaba4
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x4ad150
mov ebx, esi
sar ebx, 1
jns 0x4ad150
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x4ad169
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4ad169
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4ad214
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x4ad186
cmp eax, dword [ebp + 8]
jle 0x4ad186
mov dword [ebp - 8], 1
jmp 0x4ad214
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x4ad197
mov dword [ebp - 8], 0xffffffff
jmp 0x4ad214
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x4ad1b3
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x4ad1b3
mov dword [ebp - 8], 5
jmp 0x4ad214
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x4ad1e3
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x4ad1e3
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ad1da
mov dword [ebp - 8], 4
jmp 0x4ad214
mov dword [ebp - 8], 2
jmp 0x4ad214
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x4ad214
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x4ad214
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x4ad20d
mov dword [ebp - 8], 4
jmp 0x4ad214
mov dword [ebp - 8], 3
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dd4e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4dd592
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x44]
add eax, 2
add dword [ebx + 0x24], eax
cmp byte [ebx + 0x75], 0
je 0x4dd53b
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebx + 0x48]
mov esi, dword [ebx + 0x50]
sub ecx, esi
mov edx, esi
mov eax, dword [ebx + 0x14]
call fcn.0040505c
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebx + 0x44]
mov edx, dword [ebx + 0x40]
mov eax, ebx
call fcn.004db374
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x50], eax
mov eax, dword [ebx + 0x40]
cmp eax, dword [ebx + 0x38]
jle 0x4dd546
mov dword [ebx + 0x38], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x44], eax
inc dword [ebx + 0x30]
mov eax, ebx
call fcn.004dd274
mov eax, dword [ebx + 0x48]
mov dword [ebx + 0x54], eax
mov eax, dword [ebx + 0x4c]
mov dword [ebx + 0x58], eax
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 4]
call fcn.00404b90
lea eax, [ebx + 0x10]
mov edx, dword [ebx + 8]
call fcn.00404b90
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dd599
lea eax, [ebp - 4]
call fcn.00404b3c
ret

Function at 0x4deef8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4def9c
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 1
lea eax, [ebp - 8]
lea edx, [esi + esi*4]
mov ecx, dword [ebx + 0x1c4]
mov edx, dword [ecx + edx*4 + 0x10]
call fcn.00404bd4
cmp word [ebx + 0x1d2], 0
je 0x4def4f
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 8]
mov edx, ebx
mov eax, dword [ebx + 0x1d4]
call dword [ebx + 0x1d0]
cmp dword [ebp - 8], 0
setne al
and al, byte [ebp - 1]
je 0x4def86
xor eax, eax
mov al, byte [ebx + 0x1c8]
push eax
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404ffc
push eax
push 0x4defac
mov eax, dword [0x54d898]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4defa3
lea eax, [ebp - 8]
call fcn.00404b3c
ret