joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44457b
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
push esi
mov esi, dword [esp + 0x18]
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test al, 0x10
je 0x444660
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4445cd
push 1
push esi
push eax
call fcn.00436eca
mov eax, dword [esi]
add esp, 0xc
pop esi
add esp, 0xc
ret 0xc
mov dword [esi], 0
mov eax, dword [esi]
pop esi
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x1c]
push 0
lea ecx, [esp + 8]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x44463b
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0xc
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x444610
cmp eax, 0xffffffff
jne 0x4445b8
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 1
push accept
push 0x48219c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4445cd
test eax, eax
je 0x4445cd
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00436eca
push esi
call fcn.00436efa
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0xc
test al, 1
je 0x4445fd
mov eax, dword [esi]
test eax, eax
je 0x4445dc
pop esi
add esp, 0xc
ret 0xc

Function at 0x444675
Capabilities:
Create pipe

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
push esi
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
test al, 0x10
je 0x44475c
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4446ca
push 1
push esi
push eax
call fcn.00436eca
mov eax, dword [esi]
add esp, 0xc
pop esi
add esp, 0xc
ret 0x14
mov dword [esi], 0
mov eax, dword [esi]
pop esi
add esp, 0xc
ret 0x14
mov edx, dword [esp + 0x24]
push 0
lea ecx, [esp + 8]
push ecx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x444737
or eax, 0xffffffff
pop esi
add esp, 0xc
ret 0x14
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
test eax, eax
je 0x44470c
cmp eax, 0xffffffff
jne 0x4446b5
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 2
push 0x40000000
push 0x48219c
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4446ca
test eax, eax
je 0x4446ca
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00436eca
push esi
call fcn.00436efa
mov eax, dword [esp + 0x30]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0x14
test dword [esp + 0x18], eax
je 0x4446fa
mov eax, dword [esi]
test eax, eax
je 0x4446d9
pop esi
add esp, 0xc
ret 0x14

Function at 0x444786
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x444798
push eax
call fcn.004443d5
mov eax, dword [esi + 0x24]
pop esi
test eax, eax
je 0x4447a9
mov dword [esp + 4], eax
jmp fcn.004443d5
ret 4
Function at 0x4447ac
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x20], 0
jne 0x4447d6
push esi
call fcn.00436f5c
test al, al
je 0x4447d6
mov eax, dword [esi + 8]
push eax
call fcn.00444442
add esp, 4
push eax
mov dword [esi + 0x20], eax
call fcn.00436ea1
cmp dword [esi + 0x24], 0
jne 0x444809
push esi
call fcn.00436f40
test al, al
je 0x444809
push esi
call fcn.00436f30
test al, al
jne 0x444809
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00444442
add esp, 4
mov dword [esi + 0x24], eax
pop esi
mov dword [esp + 4], eax
jmp fcn.00436ea1
pop esi
ret 4

Function at 0x444834
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
xor edx, edx
push ecx
mov dword [esp + 0x18], edx
call fcn.00436f14
test al, al
je 0x444886
test ebx, ebx
je 0x444886
test edi, edi
je 0x444886
push esi
push edx
lea eax, [esp + 0x1c]
push eax
lea esi, [ecx + 0x18]
mov ecx, dword [esi]
push edi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44487c
push esi
call fcn.00436efa
add esp, 4
mov eax, dword [esp + 0x18]
pop esi
pop edi
pop ebx
ret 0xc
pop edi
mov eax, edx
pop ebx
ret 0xc

Function at 0x444ae4
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x444b01
push esi
call fcn.00437e61
add esp, 4
test al, al
jne 0x444b1a
push 1
jmp 0x444b03
push 0
push 0
push esi
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
ret
Function at 0x4454b6
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x24]
push esi
push edi
xor esi, esi
xor edi, edi
mov byte [esp + 0x2c], 1
cmp word [eax], si
jne 0x4454dd
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x18
push ebp
push eax
or eax, 0xffffffff
call fcn.00411440
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebp, eax
mov eax, dword [esp + 0x30]
push ebp
mov byte [ebx], 0
mov byte [eax], 0
mov byte [ecx], 0
mov byte [edx], 0
call fcn.00414be0
inc eax
push eax
call fcn.004122b8
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x1c], ecx
mov al, byte [esi + ebp]
cmp al, 0x2b
je 0x44552e
cmp al, 0x5e
je 0x44552a
cmp al, 0x21
je 0x44552a
cmp al, 0x23
jne 0x44555e
cmp al, 0x2b
jne 0x445538
mov eax, dword [esp + 0x24]
mov byte [eax], 1
inc esi
jmp 0x445517
cmp al, 0x5e
jne 0x445546
mov edx, dword [esp + 0x28]
mov byte [edx], 1
inc esi
jmp 0x445517
cmp al, 0x21
jne 0x445554
mov eax, dword [esp + 0x2c]
mov byte [eax], 1
inc esi
jmp 0x445517
cmp al, 0x23
jne 0x44555b
mov byte [ebx], 1
inc esi
jmp 0x445517
mov al, byte [esi + ebp]
inc esi
mov byte [esp + 0x14], al
mov dword [esp + 0x10], esi
cmp al, 0x7b
jne 0x44560f
lea edx, [esp + 0x10]
push edx
push ecx
push ebp
push 0x7d
call fcn.0043940b
test eax, eax
je 0x445596
mov byte [esp + 0x30], 0
jmp 0x44564b
mov esi, dword [esp + 0x1c]
mov eax, dword [edi*4 + 0x48d6d0]
push esi
push eax
call fcn.00426b20
add esp, 8
test eax, eax
je 0x4455b5
inc edi
cmp edi, 0x62
jl 0x445596
cmp edi, 0x62
jne 0x4455f7
movzx ecx, byte [esi]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov edx, dword [esp + 0x20]
cwde
mov dword [edx], eax
test eax, 0x200
je 0x4455d9
mov ecx, dword [esp + 0x28]
mov byte [ecx], 1
test eax, 0x400
je 0x4455e7
mov edx, dword [esp + 0x2c]
mov byte [edx], 1
test eax, 0x100
je 0x44564b
mov eax, dword [esp + 0x24]
mov byte [eax], 1
jmp 0x44564b
cmp byte [edi + 0x48d858], 0
jne 0x445584
mov ecx, dword [edi*4 + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
jmp 0x44564b
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanA]
mov ecx, dword [esp + 0x20]
cwde
mov dword [ecx], eax
test eax, 0x200
je 0x44562f
mov edx, dword [esp + 0x28]
mov byte [edx], 1
test eax, 0x400
je 0x44563d
mov ecx, dword [esp + 0x2c]
mov byte [ecx], 1
test eax, 0x100
je 0x44564b
mov edx, dword [esp + 0x24]
mov byte [edx], 1
mov eax, dword [esp + 0x20]
and dword [eax], 0xff
push ebp
call fcn.00412979
mov eax, dword [esp + 0x20]
push eax
call fcn.00412979
mov al, byte [esp + 0x38]
add esp, 8
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret 0x18
Function at 0x445676
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x100
push ebx
mov bl, byte [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x118]
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp dword [ebp + 0x44], 0
mov esi, eax
je 0x44575d
cmp edi, 0x14
je 0x44575d
cmp edi, 0x90
je 0x44575d
cmp edi, 0x91
je 0x44575d
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
shl esi, 0x10
or esi, 0xc0000001
cmp bl, 1
je 0x4456ee
push edi
call fcn.0043945f
cmp al, 1
jne 0x4456f4
or esi, 0x1000000
mov eax, dword [ebp + 0x40]
test al, 1
jne 0x445707
test eax, 0x100
jne 0x445707
cmp edi, 0x12
jne 0x445725
test al, 8
jne 0x445725
test eax, 0x800
jne 0x445725
mov ecx, dword [ebp + 0x44]
or esi, 0x20000000
push esi
push edi
push 0x105
push ecx
jmp 0x445730
mov edx, dword [ebp + 0x44]
push esi
push edi
push 0x101
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
xor byte [esp + edi + 0x10], 0x80
lea eax, [esp + edi + 0x10]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_SetKeyboardState]
push ebp
call fcn.0043982e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
cmp bl, 1
je 0x445772
push edi
call fcn.0043945f
cmp al, 1
je 0x445772
push 0
push 2
jmp 0x445776
push 0
push 3
push esi
push edi
call dword [sym.imp.USER32.dll_keybd_event]
push ebp
call fcn.0043982e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc

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

Disassembly:
sub esp, 0x100
push ebx
mov bl, byte [esp + 0x110]
push ebp
mov ebp, dword [esp + 0x10c]
push esi
push edi
mov edi, dword [esp + 0x118]
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp dword [ebp + 0x44], 0
mov esi, eax
je 0x445888
cmp edi, 0x14
je 0x445888
cmp edi, 0x90
je 0x445888
cmp edi, 0x91
je 0x445888
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
or byte [esp + edi + 0x10], 0x80
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
shl esi, 0x10
or esi, 1
cmp bl, 1
je 0x445816
push edi
call fcn.0043945f
cmp al, 1
jne 0x44581c
or esi, 0x1000000
mov eax, dword [ebp + 0x40]
test al, 1
jne 0x44582f
test eax, 0x100
jne 0x44582f
cmp edi, 0x12
jne 0x445864
test al, 8
jne 0x445864
test eax, 0x800
jne 0x445864
mov edx, dword [ebp + 0x44]
or esi, 0x20000000
push esi
push edi
push 0x104
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call fcn.0043981e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
mov eax, dword [ebp + 0x44]
push esi
push edi
push 0x100
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call fcn.0043981e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
cmp bl, 1
je 0x44589d
push edi
call fcn.0043945f
cmp al, 1
je 0x44589d
push 0
push 0
jmp 0x4458a1
push 0
push 1
push esi
push edi
call dword [sym.imp.USER32.dll_keybd_event]
push ebp
call fcn.0043981e
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret 0xc
Function at 0x4458e1
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
test bl, 0x1f
je 0x445add
mov eax, dword [esi + 0x44]
push edi
test eax, eax
je 0x445a70
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x445a70
push ebp
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
mov ebp, ebx
and ebp, 1
je 0x44595c
test bl, 8
jne 0x44595c
test ebx, 0x800
jne 0x44595c
movzx ecx, byte [esi + 0x49]
mov edx, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 0xe0000001
push ecx
push 0x12
push 0x105
push edx
jmp 0x445978
test ebp, ebp
je 0x44597a
movzx eax, byte [esi + 0x49]
mov ecx, dword [esi + 0x44]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x12
push 0x101
push ecx
call edi
mov eax, ebx
and eax, 8
mov dword [esp + 0x14], eax
je 0x4459a0
movzx edx, byte [esi + 0x48]
mov eax, dword [esi + 0x44]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x11
push 0x101
push eax
call edi
mov eax, ebx
and eax, 2
mov dword [esp + 0x18], eax
je 0x4459c8
movzx ecx, byte [esi + 0x4b]
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push edx
push 0x101
push eax
call edi
mov eax, ebx
and eax, 4
mov dword [esp + 0x10], eax
je 0x4459ee
movzx ecx, byte [esi + 0x4c]
mov edx, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0x10
push 0x101
push edx
call edi
and ebx, 0x10
je 0x445a0d
movzx eax, byte [esi + 0x4d]
mov ecx, dword [esi + 0x44]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x5b
push 0x101
push ecx
call edi
mov cl, 0x80
test ebx, ebx
je 0x445a17
xor byte [esp + 0x77], cl
cmp dword [esp + 0x18], 0
je 0x445a2d
mov eax, dword [esi + 0x50]
xor byte [esp + 0x2c], cl
xor byte [esp + eax + 0x1c], cl
lea eax, [esp + eax + 0x1c]
cmp dword [esp + 0x10], 0
je 0x445a3f
xor byte [esp + 0x2c], cl
xor byte [esp + 0xbd], cl
cmp dword [esp + 0x14], 0
je 0x445a4a
xor byte [esp + 0x2d], cl
test ebp, ebp
pop ebp
je 0x445a53
xor byte [esp + 0x2a], cl
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push esi
call fcn.0043982e
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 8
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test bl, 1
je 0x445a88
movzx eax, byte [esi + 0x49]
push 0
push 2
push eax
push 0x12
call edi
test bl, 8
je 0x445a9a
movzx ecx, byte [esi + 0x48]
push 0
push 2
push ecx
push 0x11
call edi
test bl, 2
je 0x445aaf
movzx edx, byte [esi + 0x4b]
movzx eax, byte [esi + 0x50]
push 0
push 2
push edx
push eax
call edi
test bl, 4
je 0x445ac4
movzx ecx, byte [esi + 0x4c]
push 0
push 2
push ecx
push 0xa1
call edi
test bl, 0x10
je 0x445ad6
movzx edx, byte [esi + 0x4d]
push 0
push 2
push edx
push 0x5b
call edi
push esi
call fcn.0043982e
pop edi
pop esi
pop ebx
add esp, 0x10c
ret 8
Function at 0x445ae8
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x118]
push esi
mov esi, dword [esp + 0x118]
test bl, 0x1f
je 0x445cd0
mov eax, dword [esi + 0x44]
push ebp
push edi
test eax, eax
je 0x445c62
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x445c62
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov edi, ebx
and edi, 0x10
mov cl, 0x80
je 0x445b3b
or byte [esp + 0x77], cl
mov eax, ebx
and eax, 2
mov dword [esp + 0x14], eax
je 0x445b55
mov eax, dword [esi + 0x50]
or byte [esp + 0x2c], cl
or byte [esp + eax + 0x1c], cl
lea eax, [esp + eax + 0x1c]
mov eax, ebx
and eax, 4
mov dword [esp + 0x18], eax
je 0x445b6b
or byte [esp + 0x2c], cl
or byte [esp + 0xbd], cl
mov eax, ebx
and eax, 8
mov dword [esp + 0x10], eax
je 0x445b7a
or byte [esp + 0x2d], cl
mov ebp, ebx
and ebp, 1
je 0x445b85
or byte [esp + 0x2e], cl
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
test edi, edi
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
je 0x445bb2
movzx edx, byte [esi + 0x4d]
mov eax, dword [esi + 0x44]
shl edx, 0x10
or edx, 1
push edx
push 0x5b
push 0x100
push eax
call edi
cmp dword [esp + 0x14], 0
je 0x445bd3
movzx ecx, byte [esi + 0x4b]
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 1
push ecx
push edx
push 0x100
push eax
call edi
cmp dword [esp + 0x18], 0
je 0x445bf2
movzx ecx, byte [esi + 0x4c]
mov edx, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x10
push 0x100
push edx
call edi
cmp dword [esp + 0x10], 0
je 0x445c11
movzx eax, byte [esi + 0x48]
mov ecx, dword [esi + 0x44]
shl eax, 0x10
or eax, 1
push eax
push 0x11
push 0x100
push ecx
call edi
test ebp, ebp
je 0x445cc8
cmp dword [esp + 0x10], 0
jne 0x445c46
test ebx, 0x800
jne 0x445c46
movzx edx, byte [esi + 0x49]
mov eax, dword [esi + 0x44]
shl edx, 0x10
or edx, 0x20000001
push edx
push 0x12
push 0x104
push eax
jmp 0x445cc6
test ebp, ebp
je 0x445cc8
movzx ecx, byte [esi + 0x49]
mov edx, dword [esi + 0x44]
shl ecx, 0x10
or ecx, 1
push ecx
push 0x12
push 0x100
push edx
jmp 0x445cc6
mov edi, dword [sym.imp.USER32.dll_keybd_event]
test bl, 0x10
je 0x445c7a
movzx eax, byte [esi + 0x4d]
push 0
push 0
push eax
push 0x5b
call edi
test bl, 2
je 0x445c8f
movzx ecx, byte [esi + 0x4b]
movzx edx, byte [esi + 0x50]
push 0
push 0
push ecx
push edx
call edi
test bl, 4
je 0x445ca4
movzx eax, byte [esi + 0x4c]
push 0
push 0
push eax
push 0xa1
call edi
test bl, 8
je 0x445cb6
movzx ecx, byte [esi + 0x48]
push 0
push 0
push ecx
push 0x11
call edi
test bl, 1
je 0x445cc8
movzx edx, byte [esi + 0x49]
push 0
push 0
push edx
push 0x12
call edi
push esi
call fcn.0043981e
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x10c
ret 8
Function at 0x445cdb
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x100
push ebx
push esi
mov esi, dword [esp + 0x10c]
test eax, 0x200
je 0x445cf9
or dword [esi + 0x40], 8
test eax, 0x400
je 0x445d04
or dword [esi + 0x40], 1
test eax, 0x100
je 0x445d0f
or dword [esi + 0x40], 2
mov eax, dword [esi + 0x40]
test al, 8
je 0x445d23
test eax, 0x800
je 0x445d23
xor eax, 8
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test al, 1
je 0x445d37
test eax, 0x100
je 0x445d37
xor eax, 1
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test al, 2
je 0x445d4b
test eax, 0x200
je 0x445d4b
xor eax, 2
mov dword [esi + 0x40], eax
mov eax, dword [esi + 0x40]
test al, 0x10
je 0x445d5f
test eax, 0x1000
je 0x445d5f
xor eax, 0x10
mov dword [esi + 0x40], eax
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x445dbd
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, dword [esi + 0x40]
test eax, 0x800
jne 0x445d7f
mov byte [esp + 0x19], bl
test eax, 0x100
jne 0x445d8a
mov byte [esp + 0x1a], bl
test eax, 0x200
jne 0x445d9c
mov ecx, dword [esi + 0x50]
mov byte [esp + 0x18], bl
mov byte [esp + ecx + 8], bl
test eax, 0x1000
jne 0x445da7
mov byte [esp + 0x63], bl
lea edx, [esp + 8]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
pop esi
pop ebx
add esp, 0x100
ret 8
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call edi
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
mov ecx, 0x8000
test cx, ax
jne 0x445de7
push 0x11
call ebp
mov edx, 0x8000
test dx, ax
je 0x445df9
test dword [esi + 0x40], 0x800
jne 0x445df9
push ebx
push 0x11
push esi
call fcn.00445676
push 0x12
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445e15
push 0x12
call ebp
mov edx, 0x8000
test dx, ax
je 0x445e27
test dword [esi + 0x40], 0x100
jne 0x445e27
push ebx
push 0x12
push esi
call fcn.00445676
mov eax, dword [esi + 0x50]
push eax
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445e47
mov edx, dword [esi + 0x50]
push edx
call ebp
mov ecx, 0x8000
test cx, ax
je 0x445e5b
test dword [esi + 0x40], 0x200
jne 0x445e5b
mov edx, dword [esi + 0x50]
push ebx
push edx
push esi
call fcn.00445676
push 0xa1
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445e7d
push 0xa1
call ebp
mov edx, 0x8000
test dx, ax
je 0x445e92
test dword [esi + 0x40], 0x400
jne 0x445e92
push ebx
push 0xa1
push esi
call fcn.00445676
push 0x5b
call edi
mov ecx, 0x8000
test cx, ax
jne 0x445eae
push 0x5b
call ebp
mov edx, 0x8000
test dx, ax
je 0x445ec0
test dword [esi + 0x40], 0x1000
jne 0x445ec0
push ebx
push 0x5b
push esi
call fcn.00445676
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x100
ret 8
Function at 0x445f0e
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push esi
call dword [sym.imp.USER32.dll_GetKeyState]
mov bx, ax
and bl, 1
cmp byte [esp + 0x14], bl
je 0x445f75
push ebp
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push esi
call edi
mov ebp, dword [sym.imp.USER32.dll_keybd_event]
push 0
mov byte [esp + 0x20], al
mov eax, dword [esp + 0x20]
push 0
push eax
push esi
call ebp
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043981e
push 0
push esi
call edi
push 0
mov byte [esp + 0x20], al
mov edx, dword [esp + 0x20]
push 2
push edx
push esi
call ebp
mov eax, dword [esp + 0x14]
push eax
call fcn.0043982e
pop edi
pop ebp
pop esi
mov al, bl
pop ebx
ret 0xc

Function at 0x445f9a
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
lea ecx, [eax + 4]
push edi
mov edi, dword [eax + edx]
mov dword [esi], ecx
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
mov ebx, eax
mov eax, dword [esi]
add eax, dword [esp + 0x18]
lea ebp, [edi + edi]
push ebp
push eax
push ebx
call fcn.00412990
add dword [esi], ebp
xor ecx, ecx
add esp, 0x10
xor eax, eax
mov word [ebx + ebp], cx
test edi, edi
jle 0x445ff6
xor word [ebx + eax*2], di
inc eax
cmp eax, edi
jl 0x445fed
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret 8

Function at 0x4468a2
Capabilities:
Get graphical window text

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4468be
mov eax, dword [esp + 0x10]
cmp byte [eax + 5], 1
jne 0x446916
push 0
push 0
push 0xe
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
test edi, edi
jne 0x4468d6
mov edi, 0x7fff
push ebp
xor ecx, ecx
lea ebp, [edi + 1]
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004122b8
add esp, 4
mov esi, eax
push esi
push ebp
push 0xd
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ecx, ecx
mov word [esi + edi*2], cx
pop ebp
test eax, eax
jg 0x446921
push esi
call fcn.00412979
add esp, 4
pop edi
pop esi
mov eax, 1
pop ebx
ret 8
mov edi, dword [esp + 0x10]
cmp byte [edi + 0xc], 0
jne 0x44693c
push esi
call fcn.004143fa
add esp, 4
push eax
push esi
call dword [sym.imp.USER32.dll_CharUpperBuffW]
mov eax, dword [edi + 0x24]
push eax
push esi
call fcn.0041491c
add esp, 8
push esi
test eax, eax
je 0x44690e
mov byte [edi + 0xb8], 1
call fcn.00412979
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x446db4
Capabilities:
Log keystrokes

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
push edi
push 1
push eax
call fcn.00446a66
mov ebx, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0x25
call ebx
mov ebp, dword [sym.imp.USER32.dll_PostMessageW]
shl eax, 0x10
or eax, 1
cmp dword [esp + 0x18], 0
push eax
jge 0x446e17
mov ecx, dword [esi]
push 0x25
push 0x100
push ecx
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov edx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x25
push 0x101
push edx
jmp 0x446e46
mov eax, dword [esi]
push 0x27
push 0x100
push eax
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call edi
push 0
push 0x25
call ebx
mov ecx, dword [esi]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x27
push 0x101
push ecx
call ebp
push 0
call edi
mov edx, dword [esi]
push 0
push edx
call fcn.00446a66
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret 8
Function at 0x448749
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
push 0x49f310
call fcn.00435bc2
mov ecx, dword [0x49f370]
mov edx, dword [ecx + eax*4]
mov edi, dword [edx]
cmp ebx, esi
jne 0x4487d0
cmp dword [edi + 0x18c], 0
je 0x4487ac
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [edi + 0x18c]
push 0
push esi
push ecx
push edx
push 0
push eax
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
movzx edx, word [esp + 0x28]
movzx eax, word [esp + 0x24]
shl edx, 0x10
or edx, eax
push edx
push ebx
push 0x7b
push esi
call dword [sym.imp.USER32.dll_DefDlgProcW]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10
push ebx
push 0x49f310
call fcn.004436e9
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4487ac
mov ecx, dword [0x49f384]
mov edx, dword [ecx + ebp*4]
mov ecx, dword [edx]
mov al, byte [ecx + 0x78]
cmp al, 0xe
je 0x4487ac
cmp al, 0xf
je 0x4487ac
cmp al, 0x13
je 0x4487ac
cmp al, 0x10
je 0x4487ac
cmp dword [ecx + 8], 0
je 0x4487ac
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push 0
push ecx
mov ecx, dword [0x49f384]
push edx
mov edx, dword [ecx + ebp*4]
push eax
mov eax, dword [edx]
mov ecx, dword [eax + 8]
push 0
push ecx
call dword [sym.imp.USER32.dll_TrackPopupMenuEx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0x10