joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459803
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 4]
push eax
mov esi, ecx
lea eax, [ebp - 8]
push eax
push 0xb0
mov dword [ebp - 0x10], esi
push dword [esi]
call edi
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jb 0x459833
xor al, al
jmp 0x4598ad
push ebx
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x4598aa
cmp edi, dword [ebp - 8]
jb 0x4598aa
cmp edi, dword [ebp - 4]
jb 0x4598aa
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420fe6
pop ecx
push eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0xc]
test eax, eax
je 0x45989f
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x45988e
xor ecx, ecx
mov word [esi + eax*2], cx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
lea eax, [esi + eax*2]
push eax
call fcn.00411821
mov bl, 1
push esi
call fcn.0042105c
pop ecx
mov al, bl
jmp 0x4598ac
xor al, al
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x45a226
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 1
mov dword [ebp - 4], esi
push dword [esi]
call fcn.0045b52d
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 1
push eax
cmp dword [ebp + 8], ebx
jge 0x45a27e
push 0x25
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
jmp 0x45a2a6
push 0x27
push 0x100
push dword [esi]
mov esi, dword [sym.imp.USER32.dll_PostMessageW]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push 0x25
call edi
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
mov edi, dword [ebp - 4]
push 0x101
push dword [edi]
call esi
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
push dword [edi]
call fcn.0045b52d
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x45aa52
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp byte [ebp + 0xc], 1
jne 0x45aa7d
lea eax, [ebp + 0xc]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x45aa96
push 1
jmp 0x45aa7e
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
pop esi
pop ebp
ret 8
Function at 0x45b6b2
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 8]
push edi
mov dword [ebp - 8], ebx
call fcn.004119e1
push dword [ebx]
call fcn.004205f0
test al, al
je 0x45b6da
xor al, al
jmp 0x45b76f
mov ecx, ebx
call fcn.0045b778
mov ebx, eax
test ebx, ebx
jne 0x45b6ec
mov ebx, 0x7fff
xor ecx, ecx
lea esi, [ebx + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420fe6
pop ecx
mov edi, eax
mov eax, dword [ebp - 8]
push edi
push esi
push 0xd
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x45b766
push edi
call fcn.00423970
pop ecx
cmp eax, ebx
jne 0x45b75d
xor ecx, ecx
test eax, eax
je 0x45b73e
mov dl, byte [ecx + edi]
cmp dl, 0x20
jl 0x45b75d
cmp dl, 0x7e
jg 0x45b75d
inc ecx
cmp ecx, eax
jb 0x45b72c
push edi
lea ecx, [ebp - 0x18]
call fcn.0045b4ea
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.004113f1
lea ecx, [ebp - 0x18]
call fcn.00411cb6
jmp 0x45b766
mov ecx, dword [ebp + 8]
push edi
call fcn.00411821
push edi
call fcn.0042105c
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45fef8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [ebx]
push 2
pop edx
mov esi, dword [ecx + edi]
lea eax, [ecx + 4]
mov dword [ebx], eax
xor ecx, ecx
mov dword [ebp + 8], esi
lea eax, [esi + 1]
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00420fe6
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.00421070
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x45ff53
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x45ff4a
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x460508
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
xor eax, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [esi], eax
mov word [esi + 4], ax
cmp dword [edi + 0x20], eax
je 0x4605ab
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x460690
mov eax, 0x80
cmp byte [ebp - 0x60], al
je 0x460550
cmp byte [ebp - 0xf0], al
jne 0x460559
cmp byte [edi + 0x1a], 0
jne 0x460559
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x460568
cmp byte [edi + 0x1b], 0
jne 0x460568
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x46057a
cmp byte [edi + 0x1c], 0
jne 0x46057a
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x46058c
cmp byte [edi + 0x1d], 0
jne 0x46058c
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x460690
cmp byte [edi + 0x1e], 0
jne 0x460690
mov byte [esi + 4], 1
jmp 0x460690
push ebx
push 0xa0
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ebx, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x4605d8
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
je 0x4605e1
cmp byte [edi + 0x1a], 0
jne 0x4605e1
mov byte [esi], 1
push 0xa1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x460607
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x460611
cmp byte [edi + 0x1b], 0
jne 0x460611
mov byte [esi + 1], 1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x460631
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46063b
cmp byte [edi + 0x1c], 0
jne 0x46063b
mov byte [esi + 2], 1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46065b
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x460665
cmp byte [edi + 0x1d], 0
jne 0x460665
mov byte [esi + 3], 1
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x460685
push 0x5b
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46068f
cmp byte [edi + 0x1e], 0
jne 0x46068f
mov byte [esi + 4], 1
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46081b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10c
cmp byte [eax], 0
push esi
mov esi, ecx
je 0x460833
mov byte [esi + 0x14], 1
cmp byte [eax + 2], 0
je 0x46083d
mov byte [esi + 0x16], 1
cmp byte [eax + 3], 0
je 0x460847
mov byte [esi + 0x17], 1
xor eax, eax
cmp byte [esi + 0x14], al
je 0x460856
cmp byte [esi + 0x1a], al
je 0x460856
mov byte [esi + 0x14], al
cmp byte [esi + 0x15], al
je 0x460863
cmp byte [esi + 0x1b], al
je 0x460863
mov byte [esi + 0x15], al
cmp byte [esi + 0x16], al
je 0x460870
cmp byte [esi + 0x1c], al
je 0x460870
mov byte [esi + 0x16], al
cmp byte [esi + 0x17], al
je 0x46087d
cmp byte [esi + 0x1d], al
je 0x46087d
mov byte [esi + 0x17], al
cmp byte [esi + 0x18], al
je 0x46088a
cmp byte [esi + 0x1e], al
je 0x46088a
mov byte [esi + 0x18], al
cmp dword [esi + 0x20], eax
je 0x46090c
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x460a44
mov cl, byte [esi + 0x1a]
mov dl, byte [esi + 0x1b]
test cl, cl
sete al
dec al
and byte [ebp - 0x6c], al
test dl, dl
sete al
dec al
and byte [ebp - 0x6b], al
test cl, cl
jne 0x4608cf
test dl, dl
sete al
dec al
and byte [ebp - 0xfc], al
cmp byte [esi + 0x1c], 0
sete al
dec al
and byte [ebp - 0xfb], al
cmp byte [esi + 0x1d], 0
sete al
dec al
and byte [ebp - 0xfa], al
test cl, cl
sete al
dec al
and byte [ebp - 0xb1], al
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x460a44
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.00460484
mov ebx, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0xa0
call ebx
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x460944
push 0xa0
call edi
mov ecx, 0x8000
test cx, ax
je 0x460962
cmp byte [esi + 0x1a], 0
jne 0x460962
push 0xa0
lea ecx, [ebp - 0xc]
call fcn.00461b8e
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00461410
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x460984
push 0xa1
call edi
mov ecx, 0x8000
test cx, ax
je 0x4609a2
cmp byte [esi + 0x1b], 0
jne 0x4609a2
push 0xa1
lea ecx, [ebp - 0xc]
call fcn.00461b8e
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00461410
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x4609be
push 0x11
call edi
mov ecx, 0x8000
test cx, ax
je 0x4609d9
cmp byte [esi + 0x1c], 0
jne 0x4609d9
push 0x11
lea ecx, [ebp - 0xc]
call fcn.00461b8e
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00461410
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
jne 0x4609f5
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
je 0x460a10
cmp byte [esi + 0x1d], 0
jne 0x460a10
push 0x12
lea ecx, [ebp - 0xc]
call fcn.00461b8e
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00461410
push 0x5b
call ebx
mov ebx, 0x8000
test bx, ax
jne 0x460a27
push 0x5b
call edi
test bx, ax
je 0x460a42
cmp byte [esi + 0x1e], 0
jne 0x460a42
push 0x5b
lea ecx, [ebp - 0xc]
call fcn.00461b8e
lea eax, [ebp - 0xc]
mov ecx, esi
push eax
call fcn.00461410
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46126a
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push edi
movzx edi, al
push edi
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [ebp + 0xc], bl
je 0x4612cb
push esi
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push ecx
push 0
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00461ac6
mov ecx, dword [ebp - 4]
call fcn.004604ed
push ecx
push 2
push 0
push edi
call esi
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 8]
call fcn.00461ac6
mov ecx, dword [ebp - 4]
call fcn.004604d4
pop esi
pop edi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4612d5
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x20], 0
mov bl, byte [edi]
mov bh, byte [edi + 7]
movzx eax, word [edi + 8]
mov byte [ebp - 4], bl
mov byte [ebp + 8], bh
je 0x4613b0
cmp bl, 0x14
je 0x4613b0
cmp bl, 0x90
je 0x4613b0
cmp bl, 0x91
je 0x4613b0
cmp bl, 0xff
je 0x46139d
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x461348
movzx eax, bl
or byte [ebp + eax - 0x120], 0x80
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
movzx edx, bh
mov ecx, edi
shl edx, 0x10
or edx, 1
call fcn.0046071d
cmp al, 1
jne 0x461362
or edx, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x461373
cmp byte [esi + 0x1d], 0
jne 0x461373
cmp bl, 0x12
jne 0x461391
cmp byte [esi + 0x16], 0
jne 0x461391
cmp byte [esi + 0x1c], 0
jne 0x461391
or edx, 0x20000000
movzx eax, bl
push edx
push eax
push 0x104
jmp 0x4613a5
push edx
movzx eax, bl
push eax
push 0x100
jmp 0x4613a5
push 1
push eax
push 0x102
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x461400
cmp bl, 0xff
je 0x4613d6
mov ecx, edi
call fcn.0046071d
push ecx
mov ecx, esi
cmp al, 1
jne 0x4613c7
push 1
jmp 0x4613c9
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00461ac6
jmp 0x461400
mov word [ebp - 0x1a], ax
xor edx, edx
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 4
inc edx
xor ecx, ecx
and dword [ebp - 0x14], ecx
and dword [ebp - 0x10], ecx
push eax
push edx
mov dword [ebp - 0x20], edx
mov word [ebp - 0x1c], cx
call dword [sym.imp.USER32.dll_SendInput]
mov ecx, esi
call fcn.004604ed
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461410
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0x20], 0
mov bl, byte [edi]
mov bh, byte [edi + 7]
movzx eax, word [edi + 8]
mov byte [ebp - 4], bl
mov byte [ebp + 8], bh
je 0x4614e8
cmp bl, 0x14
je 0x4614e8
cmp bl, 0x90
je 0x4614e8
cmp bl, 0x91
je 0x4614e8
cmp bl, 0xff
je 0x461538
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x461487
movzx eax, bl
xor byte [ebp + eax - 0x120], 0x80
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
movzx edx, bh
mov ecx, edi
shl edx, 0x10
or edx, 0xc0000001
call fcn.0046071d
cmp al, 1
jne 0x4614a4
or edx, 0x1000000
cmp byte [esi + 0x17], 0
jne 0x4614b5
cmp byte [esi + 0x1d], 0
jne 0x4614b5
cmp bl, 0x12
jne 0x4614d3
cmp byte [esi + 0x16], 0
jne 0x4614d3
cmp byte [esi + 0x1c], 0
jne 0x4614d3
or edx, 0x20000000
movzx eax, bl
push edx
push eax
push 0x105
jmp 0x4614dd
push edx
movzx eax, bl
push eax
push 0x101
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x461538
cmp bl, 0xff
je 0x46150e
mov ecx, edi
call fcn.0046071d
push ecx
mov ecx, esi
cmp al, 1
jne 0x4614ff
push 3
jmp 0x461501
push 2
push dword [ebp + 8]
push dword [ebp - 4]
call fcn.00461ac6
jmp 0x461538
mov word [ebp - 0x1a], ax
xor edx, edx
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 6
inc edx
xor ecx, ecx
and dword [ebp - 0x14], ecx
and dword [ebp - 0x10], ecx
push eax
push edx
mov dword [ebp - 0x20], edx
mov word [ebp - 0x1c], cx
call dword [sym.imp.USER32.dll_SendInput]
mov ecx, esi
call fcn.004604d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x461565
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [esi], 0
jne 0x461596
cmp byte [esi + 1], 0
jne 0x461596
cmp byte [esi + 2], 0
jne 0x461596
cmp byte [esi + 3], 0
jne 0x461596
cmp byte [esi + 4], 0
je 0x461744
cmp dword [edi + 0x20], 0
push ebx
je 0x4616cc
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4616cc
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x461620
cmp byte [esi], 0
mov ecx, 0x80
mov al, byte [ebp - 0xf0]
je 0x4615de
or al, cl
or byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x4615ef
or al, cl
or byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x4615fb
or byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x461607
or byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x461613
or byte [ebp - 0xa5], cl
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [esi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x461631
cmp byte [esi + 1], 0
je 0x461648
movzx eax, byte [edi + 0x26]
shl eax, 0x10
or eax, 1
push eax
push 0x10
push 0x100
push dword [edi + 0x20]
call ebx
cmp byte [esi + 2], 0
je 0x461665
movzx eax, byte [edi + 0x24]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push dword [edi + 0x20]
call ebx
mov al, byte [esi + 3]
test al, al
je 0x4616a9
cmp byte [esi + 2], 0
jne 0x46168e
cmp byte [edi + 0x1c], 0
jne 0x46168e
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0x20000001
push eax
push 0x12
push 0x104
jmp 0x4616a4
test al, al
je 0x4616a9
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 1
push eax
push 0x12
push 0x100
push dword [edi + 0x20]
call ebx
cmp byte [esi + 4], 0
je 0x46173c
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 1
push eax
push 0x5b
push 0x100
push dword [edi + 0x20]
call ebx
jmp 0x46173c
xor ebx, ebx
cmp byte [esi], bl
je 0x4616e5
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 1], bl
je 0x4616fd
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 2], bl
je 0x461712
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 3], bl
je 0x461727
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 4], bl
je 0x46173c
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.00461ac6
mov ecx, edi
call fcn.004604ed
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x46174c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp byte [esi], 0
jne 0x46177d
cmp byte [esi + 1], 0
jne 0x46177d
cmp byte [esi + 2], 0
jne 0x46177d
cmp byte [esi + 3], 0
jne 0x46177d
cmp byte [esi + 4], 0
je 0x461939
cmp dword [edi + 0x20], 0
push ebx
je 0x4618bb
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x4618bb
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x461807
cmp byte [esi], 0
mov ecx, 0x80
mov al, byte [ebp - 0xf0]
je 0x4617c5
xor al, cl
xor byte [ebp - 0x60], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 1], 0
je 0x4617d6
xor al, cl
xor byte [ebp - 0x5f], cl
mov byte [ebp - 0xf0], al
cmp byte [esi + 2], 0
je 0x4617e2
xor byte [ebp - 0xef], cl
cmp byte [esi + 3], 0
je 0x4617ee
xor byte [ebp - 0xee], cl
cmp byte [esi + 4], 0
je 0x4617fa
xor byte [ebp - 0xa5], cl
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
cmp byte [esi], 0
mov ebx, dword [sym.imp.USER32.dll_PostMessageW]
jne 0x461818
cmp byte [esi + 1], 0
je 0x461831
movzx eax, byte [edi + 0x26]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push 0x101
push dword [edi + 0x20]
call ebx
cmp byte [esi + 2], 0
je 0x461850
movzx eax, byte [edi + 0x24]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x11
push 0x101
push dword [edi + 0x20]
call ebx
mov al, byte [esi + 3]
test al, al
je 0x461896
cmp byte [esi + 2], 0
jne 0x461879
cmp byte [edi + 0x1c], 0
jne 0x461879
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xe0000001
push eax
push 0x12
push 0x105
jmp 0x461891
test al, al
je 0x461896
movzx eax, byte [edi + 0x25]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push 0x101
push dword [edi + 0x20]
call ebx
cmp byte [esi + 4], 0
je 0x461931
movzx eax, byte [edi + 0x29]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push 0x101
push dword [edi + 0x20]
call ebx
jmp 0x461931
cmp byte [esi], 0
push 2
pop ebx
je 0x4618d6
movzx eax, byte [edi + 0x27]
push ecx
push ebx
push eax
push 0xa0
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 1], 0
je 0x4618ef
movzx eax, byte [edi + 0x28]
push ecx
push ebx
push eax
push 0xa1
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 2], 0
je 0x461905
movzx eax, byte [edi + 0x24]
push ecx
push ebx
push eax
push 0x11
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 3], 0
je 0x46191b
movzx eax, byte [edi + 0x25]
push ecx
push ebx
push eax
push 0x12
mov ecx, edi
call fcn.00461ac6
cmp byte [esi + 4], 0
je 0x461931
movzx eax, byte [edi + 0x29]
push ecx
push ebx
push eax
push 0x5b
mov ecx, edi
call fcn.00461ac6
mov ecx, edi
call fcn.004604d4
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x461941
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [ebp + 8]
test esi, esi
js 0x4619c6
jne 0x461955
push 0
jmp 0x4619c0
cmp esi, 0xf
jae 0x4619bf
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x4619bf
mov dword [ebp + 8], esi
fild dword [ebp + 8]
test esi, esi
jns 0x461978
fadd qword [0x4bcac8]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fstp qword [ebp - 0x28]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
sbb eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
fild qword [ebp - 0x18]
fstp qword [ebp - 0x20]
call fcn.00420932
fdivr qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
test ah, 5
jnp 0x461981
jmp 0x4619c6
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
xor eax, eax
mov dword [esi + 4], eax
mov byte [esi + 0xa], al
mov eax, dword [ebp + 8]
mov dword [esi], 0xff
mov word [esi + 8], ax
test ax, ax
jne 0x461b44
xor al, al
jmp 0x461b89
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
movzx eax, ax
cmp ax, 0xffff
je 0x461b40
push ebx
mov ebx, eax
mov byte [esi], al
push 0
movzx eax, al
push eax
sar ebx, 8
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov byte [esi + 7], al
test bl, 1
je 0x461b74
mov byte [esi + 1], 1
test bl, 2
je 0x461b7d
mov byte [esi + 3], 1
test bl, 4
pop ebx
je 0x461b87
mov byte [esi + 4], 1
mov al, 1
pop esi
pop ebp
ret 4

Function at 0x46394d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
call fcn.0046384c
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 4]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x463b64
Capabilities:
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x20030
call fcn.00431b70
push ebx
push esi
lea eax, [esp + 0x10038]
mov esi, edx
push eax
mov edx, 0x7fff
call fcn.00464bc3
lea eax, [esp + 0x3c]
mov edx, 0x7fff
push eax
mov ecx, esi
call fcn.00464bc3
pop ecx
pop ecx
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x463bf2
cmp byte [ebp + 8], al
je 0x463beb
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call fcn.0042377c
pop ecx
pop ecx
test eax, eax
je 0x463be4
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x1003c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov al, 1
jmp 0x463c9e
xor al, al
jmp 0x463c9e
lea ecx, [esp + 0x10038]
call fcn.00464fec
test al, al
je 0x463beb
lea ecx, [esp + 0x38]
call fcn.00464fec
test al, al
je 0x463ca4
cmp byte [ebp + 8], 0
je 0x463beb
lea eax, [esp + 0x10038]
push str..
push eax
call fcn.00422fbd
lea eax, [esp + 0x10040]
push eax
call fcn.00422e2c
xor ecx, ecx
mov word [esp + eax*2 + 0x10046], cx
lea eax, [esp + 0x44]
push eax
call fcn.00422e2c
xor ecx, ecx
mov dword [esp + 0x1c], 2
add esp, 0x10
mov word [esp + eax*2 + 0x3a], cx
lea eax, [esp + 0x10038]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov eax, 0x614
mov word [esp + 0x18], ax
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
neg eax
sbb al, al
inc al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x2c]
call fcn.00411a36
lea ecx, [esp + 0x28]
call fcn.00463f1d
mov bl, al
lea ecx, [esp + 0x28]
neg bl
sbb bl, bl
call fcn.00411cb6
inc bl
jne 0x463beb
lea ecx, [esp + 0x38]
call fcn.00464fec
test al, al
jmp 0x463c17