joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6501bc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x6501d3
add esp, 0xfffffff0
call fcn.00408ff8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00482218
mov eax, dword [0x8013f8]
cmp byte [eax], 0
jne 0x650200
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x8018d4]
cmp word [eax + 2], 0
jne 0x65021a
mov eax, dword [0x8018d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00652654
mov eax, dword [0x801ad4]
cmp word [eax + 2], 0
jne 0x650234
mov eax, dword [0x801ad4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00652858
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x527410]
call fcn.0052dadc
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x652dd0
mov dl, 1
mov eax, dword [0x441f88]
call fcn.0040890c
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x441f88]
call fcn.0040890c
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x52c1ac]
call fcn.00537d98
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x650424
mov eax, dword [0x8016e4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005382b4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x6530b8
mov dl, 1
mov eax, dword [0x441f88]
call fcn.0040890c
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x8016e4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004281c4
test eax, eax
je 0x65034e
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.0042801c
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.004281a8
test eax, eax
je 0x650366
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040b56c
push ebx
push 0x652034
call fcn.00644f04
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x8013f8]
cmp byte [eax], 0
jne 0x6503b7
mov eax, ebx
call fcn.006505ec
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.006532f0
mov eax, ebx
call fcn.00653f78
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x65041b
call fcn.00409050
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x650918
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x6509ba
cmp dword [ebx + 0xac], 0
jne 0x6509b4
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x650858
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x6509b4
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_GetWindowLongW
test al, 8
je 0x65097a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x6509b4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.0046b358
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x650989
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x808874]
cmp dword [eax + 0x188], 0
je 0x650dc9
test bl, bl
jne 0x650d1c
cmp dword [esi + 0xb4], 0
jne 0x650d11
mov eax, esi
call fcn.00653dc8
push eax
push 0x650b60
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x650ce2
mov eax, dword [0x808874]
cmp byte [eax + 0xeb], 0
je 0x650ce2
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x650cc3
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x650ce2
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x650ccb
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x650d11
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046b358
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x650cf1
inc dword [esi + 0xb4]
jmp 0x650dc9
cmp dword [esi + 0xb4], 0
jle 0x650dc9
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x650dc9
cmp dword [esi + 0x58], 0
je 0x650d7e
mov eax, dword [0x808874]
cmp byte [eax + 0xeb], 0
je 0x650d7e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x650d5f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x650d7e
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x650d67
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x650dad
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.0046b358
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x650d8d
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x641434]
call fcn.0040ceb4
pop edi
pop esi
pop ebx
ret
Function at 0x651b50
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x651bad
cmp byte [ebx + 0xeb], 0
jne 0x651bad
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a92c
mov eax, dword [esi]
test eax, eax
je 0x651b9a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x651bba
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ab84
jmp 0x651bba
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ab84
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x653504
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x653575
mov eax, esi
call fcn.00566008
test al, al
je 0x653575
mov eax, dword [ebx + 0x98]
call fcn.00565c34
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x653575
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x140]
test al, al
je 0x653566
push 0
mov eax, dword [ebx + 0x98]
call fcn.00565c34
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0055c80c
jmp 0x653575
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.00653310
pop esi
pop ebx
ret
Function at 0x669774
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6697a2
mov eax, ebx
call fcn.0066a230
cmp dword [ebx + 0x40], 0
je 0x66979b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x669813
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x669805
cmp dword [ebx + 8], 0
je 0x6697c4
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 0x6697d6
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x669805
cmp dword [ebx + 8], 0
je 0x6697b7
cmp eax, 3
je 0x6697e9
dec eax
jne 0x6697b7
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 0x6697b7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x6697b7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x669831
cmp dword [ebx + 0x14], 0xcc
je 0x669831
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.0066983c
pop ebx
ret
Function at 0x6901d4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x808cf8], 0
jne 0x6901eb
call fcn.00690190
mov eax, edi
dec eax
test eax, eax
jl 0x690213
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x8088f8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6901f5
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x693238
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x693269
dec al
je 0x6932a4
dec al
je 0x6932e8
dec al
je 0x69335a
jmp 0x6933f5
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x6933f5
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x693279
jmp 0x6933f5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6933f5
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x6932b4
jmp 0x6933f5
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6933f5
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x69331b
xor edx, edx
mov dword [esp + 4], edx
jmp 0x693330
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x693348
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x6932f8
jmp 0x6933f5
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x6933f5
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x6933c1
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.0069021c
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x693376
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x6988bc
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x698936
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b644
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b4b4
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x698914
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b8ec
jmp 0x698920
mov eax, ebx
mov edx, 0x698950
call fcn.0040ab84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x69893d
lea eax, [ebp - 4]
call fcn.0040a7a4
ret

Function at 0x698960
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x6989d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.0040b644
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b4b4
push eax
call sub.kernel32.dll_GetComputerNameW
test eax, eax
je 0x6989b7
push ebx
mov ecx, dword [ebp - 8]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040b8ec
jmp 0x6989c3
mov eax, ebx
mov edx, 0x6989f4
call fcn.0040ab84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6989e0
lea eax, [ebp - 4]
call fcn.0040a7a4
ret
Function at 0x69ff60
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.00535ff0
call fcn.0052fb1c
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x24]
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 + 0x30]
mov edx, dword [ebp + 8]
sub eax, dword [edx - 8]
push eax
mov eax, dword [edi]
call fcn.00535ff0
call fcn.0052fb1c
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
dec ebx
test ebx, ebx
jl 0x6a000e
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.00535ff0
call fcn.0052fb1c
push eax
mov eax, dword [edi]
mov edx, dword [eax]
call dword [edx + 0x24]
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.00535ff0
call fcn.0052fb1c
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebx
jne 0x69ffc7
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x6aec14
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 0x6aec85
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, dword [0x8002e0]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
cmp dword [ebp - 4], 0
je 0x6aec6f
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 8]
call fcn.006aebfc
mov eax, dword [ebp - 8]
push eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x6ae038]
call fcn.006af698
mov dword [0x800344], eax
mov eax, dword [ebp - 4]
call fcn.006aeba8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6aec8c
lea eax, [ebp - 8]
call fcn.0040e698
ret
Function at 0x6d2308
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.006cf8e8
mov ebx, eax
lea eax, [ebp - 0x28]
xor edx, edx
call fcn.00741598
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 0x6d2448
cmp edi, dword [ebp - 0x1c]
jge 0x6d2448
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.006cfe7c
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x6d2384
mov ebx, esi
sar ebx, 1
jns 0x6d2384
adc ebx, 0
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 8]
jg 0x6d239d
add eax, ebx
cmp eax, dword [ebp - 8]
jle 0x6d239d
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x6d2448
mov eax, dword [ebp - 0x20]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp - 8]
jg 0x6d23ba
cmp eax, dword [ebp - 8]
jle 0x6d23ba
mov dword [ebp - 0xc], 1
jmp 0x6d2448
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jl 0x6d23cb
mov dword [ebp - 0xc], 0xffffffff
jmp 0x6d2448
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jl 0x6d23e7
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jle 0x6d23e7
mov dword [ebp - 0xc], 5
jmp 0x6d2448
mov eax, dword [ebp - 0x28]
add eax, ebx
cmp eax, dword [ebp - 8]
jg 0x6d2417
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x18]
jge 0x6d2417
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6d240e
mov dword [ebp - 0xc], 4
jmp 0x6d2448
mov dword [ebp - 0xc], 2
jmp 0x6d2448
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 8]
jg 0x6d2448
mov eax, dword [ebp - 0x20]
sub eax, ebx
cmp eax, dword [ebp - 8]
jle 0x6d2448
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6d2441
mov dword [ebp - 0xc], 4
jmp 0x6d2448
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 0x6d2454
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.006cf8e8
mov ebx, eax
lea eax, [ebp - 0x24]
xor edx, edx
call fcn.007415ac
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 0x6d2590
cmp edi, dword [ebp - 0x1c]
jge 0x6d2590
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.006cfe7c
mov eax, ebx
add eax, eax
cmp esi, eax
jg 0x6d24cc
mov ebx, esi
sar ebx, 1
jns 0x6d24cc
adc ebx, 0
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jg 0x6d24e5
add eax, ebx
cmp eax, dword [ebp + 8]
jle 0x6d24e5
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x6d2590
mov eax, dword [ebp - 0x18]
mov edx, eax
sub edx, ebx
cmp edx, dword [ebp + 8]
jg 0x6d2502
cmp eax, dword [ebp + 8]
jle 0x6d2502
mov dword [ebp - 8], 1
jmp 0x6d2590
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jl 0x6d2513
mov dword [ebp - 8], 0xffffffff
jmp 0x6d2590
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jl 0x6d252f
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jle 0x6d252f
mov dword [ebp - 8], 5
jmp 0x6d2590
mov eax, dword [ebp - 0x20]
add eax, ebx
cmp eax, dword [ebp + 8]
jg 0x6d255f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jge 0x6d255f
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6d2556
mov dword [ebp - 8], 4
jmp 0x6d2590
mov dword [ebp - 8], 2
jmp 0x6d2590
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 8]
jg 0x6d2590
mov eax, dword [ebp - 0x18]
sub eax, ebx
cmp eax, dword [ebp + 8]
jle 0x6d2590
push 0x10
call sub.user32.dll_GetAsyncKeyState
test ax, ax
jge 0x6d2589
mov dword [ebp - 8], 4
jmp 0x6d2590
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 0x7044b4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff828
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x7d8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x70456e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040a7ec
call fcn.0042e480
cmp eax, 2
jne 0x704523
push esi
call sub.user32.dll_GetWindowTextLengthW
mov edx, eax
inc edx
mov eax, ebx
call fcn.0040b410
mov eax, dword [ebx]
call fcn.0040ac74
push eax
mov eax, dword [ebx]
call fcn.0040b370
push eax
push esi
call sub.user32.dll_GetWindowTextW
mov eax, dword [ebx]
call fcn.0040ac74
mov edx, eax
dec edx
mov eax, ebx
call fcn.0040b410
jmp 0x704555
lea eax, [ebp - 0x7d2]
push eax
push 0x3e8
push 0xd
push esi
call sub.user32.dll_SendMessageW
lea edx, [ebp - 0x7d8]
lea eax, [ebp - 0x7d2]
call fcn.004282ac
mov edx, dword [ebp - 0x7d8]
mov eax, ebx
call fcn.0040b5bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x704575
lea eax, [ebp - 0x7d8]
call fcn.0040a7a4
ret
Function at 0x709f98
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x70a03e
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 1
lea eax, [ebp - 4]
lea edx, [esi + esi*2]
mov ecx, dword [ebx + 0x224]
mov edx, dword [ecx + edx*8 + 0x14]
call fcn.0040abcc
cmp word [ebx + 0x232], 0
je 0x709fef
lea eax, [ebp - 5]
push eax
lea ecx, [ebp - 4]
mov edx, ebx
mov eax, dword [ebx + 0x234]
call dword [ebx + 0x230]
cmp dword [ebp - 4], 0
setne al
and al, byte [ebp - 5]
je 0x70a028
movzx eax, byte [ebx + 0x228]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b4b4
push eax
push 0x70a04c
mov eax, dword [0x801a80]
mov eax, dword [eax]
mov eax, dword [eax + 0x188]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70a045
lea eax, [ebp - 4]
call fcn.0040a7a4
ret