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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov edx, dword [ebp + 8]
xor eax, eax
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
push esi
xor esi, esi
inc ebx
push edi
mov dword [ebp - 0xc], esi
cmp dword [edx + 4], eax
je 0x41a983
mov ecx, dword [ebp + 0x1c]
xor edx, edx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], 0x23
mov byte [ecx], dl
mov ecx, dword [ebp + 0x18]
mov dword [edi], edx
mov edi, dword [ebp + 8]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x14]
mov byte [ecx], dl
mov ecx, dword [ebp + 0x10]
mov byte [ecx], dl
push eax
mov ecx, edi
call fcn.00405563
push 0x2b
pop ecx
push 0x5e
movzx eax, word [eax]
cmp ax, cx
pop ecx
push 0x21
pop edx
je 0x458414
cmp ax, cx
je 0x458414
cmp ax, dx
je 0x458414
cmp ax, word [ebp - 8]
je 0x458414
lea eax, [esi + 1]
mov ecx, edi
push esi
mov dword [ebp + 0x1c], eax
call fcn.00405563
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp + 0xc]
movzx eax, word [eax]
cmp eax, 0x7b
jne 0x4584c1
push 0x40
lea ecx, [ebp - 0x1c]
call fcn.00407a14
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x1c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x7d
pop eax
mov ecx, eax
call fcn.0041a987
pop ecx
pop ecx
test al, al
je 0x41a97f
push dword [ebp - 0x1c]
push dword [esi*4 + 0x4b21b0]
call fcn.00424db8
pop ecx
pop ecx
test eax, eax
je 0x41a94c
inc esi
cmp esi, 0x63
jl 0x41a931
cmp esi, 0x63
je 0x458450
cmp byte [esi + 0x4b2148], 0
jne 0x41a97f
movzx eax, byte [esi + str._f_b_b..__reepqrstuvwxyz________t___]
mov dword [edi], eax
lea ecx, [ebp - 0x1c]
call fcn.0040bd2c
mov eax, dword [edi]
movzx ecx, al
mov al, bl
mov dword [edi], ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
xor bl, bl
jmp 0x41a967
xor al, al
jmp 0x41a978
push 0x2b
pop esi
cmp ax, si
jne 0x458421
mov eax, dword [ebp + 0x10]
jmp 0x458440
cmp ax, cx
jne 0x45842b
mov eax, dword [ebp + 0x14]
jmp 0x458440
cmp ax, dx
jne 0x458435
mov eax, dword [ebp + 0x18]
jmp 0x458440
push 0x23
pop ecx
cmp ax, cx
jne 0x458442
mov eax, dword [ebp + 0x1c]
mov byte [eax], bl
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov esi, eax
jmp 0x41a8b3
cmp dword [ebp + 0x1c], 2
jne 0x45846b
mov ecx, dword [ebp + 8]
push 2
call fcn.00405563
push 0x7d
pop ecx
cmp word [eax], cx
jne 0x45846b
push ecx
jmp 0x458479
push 0
lea ecx, [ebp - 0x1c]
call fcn.0040627c
movzx eax, word [eax]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x458494
lea ecx, [ebp - 0x1c]
call fcn.0040bd2c
jmp 0x41a983
test eax, 0x200
je 0x4584a0
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x4584ac
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x41a967
mov eax, dword [ebp + 0x10]
mov byte [eax], bl
jmp 0x41a967
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
cwde
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x41a983
test eax, 0x200
je 0x4584e0
mov ecx, dword [ebp + 0x14]
mov byte [ecx], bl
test eax, 0x400
je 0x4584ec
mov ecx, dword [ebp + 0x18]
mov byte [ecx], bl
test eax, 0x100
je 0x41a971
mov ecx, dword [ebp + 0x10]
mov byte [ecx], bl
jmp 0x41a971
Function at 0x41c08e
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov al, byte [0x4d2363]
push ebx
push esi
push edi
mov edi, ecx
mov byte [ebp - 1], al
push 0x8000
push edi
mov esi, edx
call fcn.0042dce5
pop ecx
push eax
call fcn.0042db06
cmp dword [esi + 0xc], 0xb
mov ebx, eax
pop ecx
pop ecx
je 0x4590a1
lea ecx, [ebp - 0x18]
call fcn.0041c170
mov ecx, esi
call fcn.00408e70
mov ecx, dword [esi + 8]
lea edx, [ebp - 0x18]
call fcn.0041f9e2
push dword [ebp - 0x18]
push 0x49e1b8
push edi
call fcn.0041c19e
add esp, 0xc
mov dword [ebp - 8], eax
cmp byte [ebp - 1], 0
jne 0x4590c1
lea ecx, [ebp - 0x18]
call fcn.0040bd2c
mov esi, dword [ebp - 8]
push edi
call fcn.0042e129
push edi
call fcn.0042dce5
pop ecx
pop ecx
cmp ebx, 0xffffffff
jne 0x41c11e
mov ebx, 0x4000
push ebx
push eax
call fcn.0042db06
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push edi
mov ecx, esi
call fcn.004727da
push eax
push 1
call fcn.0047276a
push eax
call fcn.0042df43
add esp, 0x10
mov esi, eax
jmp 0x41c106
mov ecx, esi
call fcn.00408e70
mov eax, dword [esi + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x41c0fb
Function at 0x41fbd4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x45fb5d
mov ecx, dword [0x4d291c]
push esi
push edi
cmp ecx, 0xffffffff
je 0x41fc86
mov eax, dword [0x4d2910]
xor edx, edx
mov eax, dword [eax + ecx*4]
mov esi, dword [eax]
mov ecx, dword [esi]
mov dword [ebp + 0xc], ecx
cmp byte [esi + 0x3a], dl
je 0x41fc17
mov byte [esi + 0x3a], dl
cmp dword [esi + 0x18c], edx
jge 0x45fb77
mov edi, dword [ebp + 8]
cmp edi, 8
jg 0x45fbd1
je 0x41fc47
test edi, edi
je 0x45fbc0
cmp edi, 1
je 0x41fc47
cmp edi, 2
je 0x41fc7d
cmp edi, 3
je 0x41fc74
jle 0x41fc6b
cmp edi, 5
jg 0x45fb9f
cmp byte [esi + 0x38], 0
jne 0x41fc86
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp edi, 8
je 0x41fc67
cmp edi, 4
je 0x41fc67
mov ecx, dword [ebp + 0xc]
call fcn.0041fc8a
mov byte [esi + 0x38], 1
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 8
mov byte [esi + 0x38], 1
jmp 0x45fc2c
mov byte [esi + 0x38], 1
jmp 0x45fba8
xor eax, eax
jmp 0x41fc6e
push dword [ebp + 0xc]
mov ecx, 0x4d28b0
call fcn.00402441
mov ecx, eax
mov dword [0x4d291c], ecx
jmp 0x41fbe7
cmp byte [esi + 0x198], dl
je 0x41fc17
push dword [esi + 0x194]
push esi
call fcn.00498b3a
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov byte [esi + 0x198], dl
jmp 0x41fc17
cmp edi, 6
jne 0x41fc6b
cmp byte [esi + 0x38], 0
je 0x41fc86
push 6
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41fc6b
push edx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [esi + 0x38], 0
jmp 0x41fc6b
mov eax, edi
sub eax, 9
je 0x45fc2c
sub eax, 0x37
je 0x45fc1e
sub eax, 1
je 0x45fc1b
sub eax, 1
je 0x45fc0b
sub eax, 1
jne 0x41fc6b
push edx
mov byte [esi + 0x39], dl
call dword [sym.imp.USER32.dll_LockWindowUpdate]
push 1
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x41fc6b
push ecx
mov byte [esi + 0x39], 1
call dword [sym.imp.USER32.dll_LockWindowUpdate]
jmp 0x41fc6b
push edx
jmp 0x45fc20
push 1
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41fc6b
cmp byte [esi + 0x38], 0
je 0x41fc86
push edi
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp + 0xc]
call fcn.0041fc8a
jmp 0x41fc6b
Function at 0x41fc8a
Capabilities:
Find taskbar
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov ebx, ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
cmp ebx, esi
jne 0x45fc4b
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
push edi
xor edi, edi
test esi, esi
jne 0x45fc60
push edi
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
push ebx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x45fc74
push 9
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
mov dword [ebp - 0x10], edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x45fd4f
push edi
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call esi
mov edi, eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push ebx
mov dword [ebp - 4], eax
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
push 1
push eax
push dword [ebp - 4]
mov dword [ebp - 8], eax
call esi
push 1
push edi
push dword [ebp - 4]
call esi
push 1
push dword [ebp - 8]
push edi
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x45fd2b
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push eax
push eax
push 0x12
call edi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
xor eax, eax
push eax
push eax
push eax
push 0x12
call edi
push eax
push 0x12
call esi
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call esi
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov edi, dword [ebp - 0xc]
test eax, eax
je 0x45fd30
push 4
jmp 0x45fd2d
push 3
pop ebx
jmp 0x45fd33
mov ebx, dword [ebp - 0x10]
push 0
push dword [ebp - 8]
push dword [ebp - 4]
call esi
push 0
push edi
push dword [ebp - 4]
call esi
push 0
push dword [ebp - 8]
push edi
call esi
jmp 0x45fd52
push 2
pop ebx
mov eax, ebx
pop edi
jmp 0x41fca7

Function at 0x43960b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043948a

Function at 0x43d570
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043d230
Function at 0x460f6e
Capabilities:
Connect network resource
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], ebx
mov edi, edx
mov dword [ebp - 0xc], ebx
call fcn.0040bf07
lea ecx, [ebp - 0x20]
call fcn.0040bf07
lea ecx, [ebp - 0x40]
call fcn.0040bf07
push 0x4c6920
lea ecx, [ebp - 0x30]
call fcn.004084b7
push esi
lea ecx, [ebp - 0x30]
call fcn.004065a4
push str.CLSID
lea ecx, [ebp - 0x30]
call fcn.004065a4
lea ecx, [ebp - 0x20]
call fcn.0040bceb
test edi, edi
je 0x460ff1
push 0x5c
pop eax
cmp word [edi], ax
je 0x460ff1
cmp word [edi + 2], ax
je 0x460ff1
push 0x4c6954
lea ecx, [ebp - 0x20]
call fcn.004084b7
push edi
lea ecx, [ebp - 0x20]
call fcn.004065a4
cmp dword [ebp + 0xc], ebx
je 0x461042
push 0x20
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.004226d0
add esp, 0xc
mov dword [ebp - 0x5c], ebx
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x40]
push eax
call fcn.0040be6d
push str.IPC_
lea ecx, [ebp - 0x40]
call fcn.004065a4
mov eax, dword [ebp - 0x40]
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x60]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.MPR.dll_WNetAddConnection2W]
mov esi, eax
test esi, esi
js 0x4610ce
lea eax, [ebp - 0x10]
push eax
push reloc.WSOCK32.dll_bind
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
mov esi, eax
test esi, esi
jne 0x4610ce
lea eax, [ebp - 0xc]
push eax
push 0x20019
push ebx
push dword [ebp - 0x30]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x4610c9
lea eax, [ebp - 8]
mov dword [ebp - 8], 0x1fe
push eax
lea eax, [ebp - 0x26c]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4610c4
mov eax, dword [ebp - 8]
xor ecx, ecx
push dword [ebp + 8]
shr eax, 1
mov dword [ebp - 8], eax
mov word [ebp + eax*2 - 0x26c], cx
lea eax, [ebp - 0x26c]
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
mov esi, eax
push dword [ebp - 0xc]
call edi
push dword [ebp - 0x10]
call edi
lea ecx, [ebp - 0x40]
call fcn.0040bd2c
lea ecx, [ebp - 0x20]
call fcn.0040bd2c
lea ecx, [ebp - 0x30]
call fcn.0040bd2c
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x4618a4
Capabilities:
Get token privileges

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
push esi
push 0
push dword [eax]
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
test edi, edi
jne 0x4618fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4618fa
push dword [esi]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
je 0x4618fa
push esi
push dword [esi]
push eax
push 3
push ebx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov edi, eax
test edi, edi
pop edi
pop esi
setne al
pop ebx
pop ebp
ret
Function at 0x461d5e
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
test byte [ebp + 0x14], 1
mov eax, ebx
push edi
mov dword [ebp - 4], eax
mov edi, ebx
je 0x461d76
inc edi
jmp 0x461d7f
test byte [ebp + 0x14], 2
je 0x461d7f
push 2
pop edi
test byte [ebp + 0x14], 4
je 0x461dbe
push esi
lea eax, [ebp + 0x14]
mov dword [ebp + 0x14], ebx
push eax
push 0xa
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push 1
push dword [ebp + 0x14]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
push dword [ebp + 0x14]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
je 0x461dea
mov eax, dword [ebp - 4]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
or eax, 0x400
push eax
push dword [ebp + 0x1c]
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_CreateProcessWithLogonW]
test eax, eax
setne bl
cmp dword [ebp - 4], 0
je 0x461df9
push dword [ebp - 4]
call dword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
pop edi
mov al, bl
pop ebx
leave
ret 0x28

Function at 0x461ef3
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
mov word [ebp - 0xc], 0x500
lea eax, [ebp - 8]
mov dword [ebp - 0x10], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 4], eax
test eax, eax
je 0x461f4a
lea eax, [ebp - 4]
push eax
push dword [ebp - 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 8]
neg eax
sbb eax, eax
and dword [ebp - 4], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 4]
cmp eax, 1
pop ebx
sete al
leave
ret

Function at 0x462093
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push 0xc
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
push 2
push 0
push 0
push ebx
call edi
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
push 2
push 0
push 0
lea eax, [ebx + 8]
push eax
call edi
push eax
mov eax, dword [ebp + 0x10]
push dword [eax]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebx + 4], eax
xor eax, eax
push eax
push eax
push ebx
push 0x462104
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x4623bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
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]
jae 0x46245f
xor ebx, ebx
push ebx
push ebx
push 0xe
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x46245f
cmp edi, dword [ebp - 8]
jb 0x46245f
cmp edi, dword [ebp - 4]
jb 0x46245f
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.0042019b
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 0x462454
mov eax, dword [ebp - 4]
cmp eax, edi
je 0x462443
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.004084b7
mov bl, 1
push esi
call fcn.004201a4
pop ecx
mov al, bl
jmp 0x462461
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x462e32
Capabilities:
Log keystrokes

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

Function at 0x463637
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, ecx
cmp dl, 1
jne 0x463663
lea eax, [ebp - 4]
push eax
push 0x1388
push 2
push esi
push esi
push esi
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
test eax, eax
je 0x46367a
push 1
jmp 0x463664
push esi
push esi
push edi
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 edi
pop esi
leave
ret
Function at 0x464453
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push edi
call fcn.0040bceb
mov eax, dword [esi]
mov ecx, eax
mov dword [ebp - 8], eax
call fcn.00464592
test al, al
je 0x46447d
xor al, al
jmp 0x46450d
mov ecx, esi
call fcn.00464514
mov ebx, eax
test ebx, ebx
jne 0x46448f
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.0042019b
pop ecx
mov edi, eax
push edi
push esi
push 0xd
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jle 0x464504
push edi
call fcn.00429110
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x4644fb
xor ecx, ecx
test esi, esi
je 0x4644dd
mov al, byte [ecx + edi]
sub al, 0x20
cmp al, 0x5e
ja 0x4644fb
inc ecx
cmp ecx, esi
jb 0x4644cf
push edi
lea ecx, [ebp - 0x18]
call fcn.00464277
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x18]
call fcn.004086fe
lea ecx, [ebp - 0x18]
call fcn.0040bd2c
jmp 0x464504
mov ecx, dword [ebp + 8]
push edi
call fcn.004084b7
push edi
call fcn.004201a4
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x469f0d
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.0042019b
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
mov edi, eax
push esi
push ecx
push edi
call fcn.004211b0
add dword [ebx], esi
xor eax, eax
mov ecx, dword [ebp + 8]
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x469f68
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x469f5f
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x46a51a
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [ecx + 0x20]
neg eax
sbb eax, eax
and eax, 2
cmp dword [ecx], eax
jl 0x46a52a
mov eax, dword [ecx]
mov ecx, eax
jmp fcn.0046b984

Function at 0x46a531
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov eax, dword [ecx + 0x20]
neg eax
sbb eax, eax
and eax, 2
cmp dword [ecx + 4], eax
jl 0x46a543
mov eax, dword [ecx + 4]
mov ecx, eax
jmp fcn.0046b984
Function at 0x46a54a
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 0x46a5ed
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x46a6d2
mov eax, 0x80
cmp byte [ebp - 0x60], al
je 0x46a592
cmp byte [ebp - 0xf0], al
jne 0x46a59b
cmp byte [edi + 0x1a], 0
jne 0x46a59b
mov byte [esi], 1
cmp byte [ebp - 0x5f], al
jne 0x46a5aa
cmp byte [edi + 0x1b], 0
jne 0x46a5aa
mov byte [esi + 1], 1
cmp byte [ebp - 0xef], al
jne 0x46a5bc
cmp byte [edi + 0x1c], 0
jne 0x46a5bc
mov byte [esi + 2], 1
cmp byte [ebp - 0xee], al
jne 0x46a5ce
cmp byte [edi + 0x1d], 0
jne 0x46a5ce
mov byte [esi + 3], 1
cmp byte [ebp - 0xa5], al
jne 0x46a6d2
cmp byte [edi + 0x1e], 0
jne 0x46a6d2
mov byte [esi + 4], 1
jmp 0x46a6d2
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 0x46a61a
push 0xa0
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46a623
cmp byte [edi + 0x1a], 0
jne 0x46a623
mov byte [esi], 1
push 0xa1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46a649
push 0xa1
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46a653
cmp byte [edi + 0x1b], 0
jne 0x46a653
mov byte [esi + 1], 1
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46a673
push 0x11
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46a67d
cmp byte [edi + 0x1c], 0
jne 0x46a67d
mov byte [esi + 2], 1
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46a69d
push 0x12
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46a6a7
cmp byte [edi + 0x1d], 0
jne 0x46a6a7
mov byte [esi + 3], 1
push 0x5b
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x46a6c7
push 0x5b
call ebx
mov ecx, 0x8000
test cx, ax
je 0x46a6d1
cmp byte [edi + 0x1e], 0
jne 0x46a6d1
mov byte [esi + 4], 1
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 4