joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441ee1
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x214
push ebx
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x34]
push edx
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
je 0x441fab
mov ecx, dword [0x4a839c]
xor eax, eax
cmp byte [ecx + 0x2a], al
je 0x441f36
mov eax, 0x100
lea edx, [esp + 0x14]
push edx
or eax, 0x20019
push eax
push 0
lea eax, [esp + 0x2c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x441fb7
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00441ee1
mov edx, dword [esp + 0x18]
add esp, 4
push edx
mov bl, al
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x441fb7
lea eax, [esp + 0x20]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x441fb7
lea ecx, [esp + 0x18]
push ecx
push eax
push eax
push eax
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push esi
mov dword [esp + 0x30], 0xff
call edi
cmp eax, 0x103
jne 0x441f24
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x214
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x214
ret
Function at 0x442635
Capabilities:
Download and write a file
Query remote server for available data
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push 0
push 0
lea eax, [esp + 0x1c]
push eax
push ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 1
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
cmp dword [esp + 0x14], 0
jne 0x44248b
mov dword [esp + 0x14], 0x400
cmp dword [esp + 0x10], 0
je 0x4424e4
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043433e
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push eax
push edi
push ebx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x442512
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4424db
push eax
push edi
lea ecx, [esi + 0x44]
push ecx
call fcn.004342d0
mov eax, dword [esp + 0x10]
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x442492
jmp 0x4424e4
push edi
call fcn.0041109f
add esp, 4
mov edx, dword [esi + 8]
or edx, dword [esi + 0xc]
jne 0x442500
push edx
push 0xdeadbeef
push 0x21
push esi
call fcn.0044241e
pop edi
pop esi
pop ebx
ret 8
push 1
push 0
push 0
push esi
call fcn.0044241e
pop edi
pop esi
pop ebx
ret 8
push edi
call fcn.0041109f
add esp, 4
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044241e
pop edi
pop esi
pop ebx
ret 8
sub esp, 0x40c
push ebx
push esi
mov esi, dword [esp + 0x418]
mov eax, dword [esi + 0x34]
push edi
push 0x486714
push eax
mov dword [esp + 0x1c], fcn.00414c44
call fcn.00414bb6
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
test edi, edi
jne 0x44258b
push eax
push 0xdeadbeef
push 0x1f
push esi
call fcn.0044241e
mov bl, al
lea eax, [esp + 0x10]
push eax
call fcn.004341e6
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0x420]
lea ecx, [esp + 0xc]
push ecx
push 0x400
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44260c
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4425dc
push edi
push 1
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0041447e
mov eax, dword [esp + 0x1c]
add esp, 0x10
add dword [esi + 8], eax
adc dword [esi + 0xc], 0
test eax, eax
jne 0x442593
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x442622
push eax
push 0xdeadbeef
push 0x21
push esi
call fcn.0044241e
lea ecx, [esp + 0x10]
push ecx
mov bl, al
call fcn.004341e6
pop edi
pop esi
mov al, bl
pop ebx
add esp, 0x40c
ret 8
push 0
push 0xdeadbeef
push 0x20
push esi
call fcn.0044241e
lea edx, [esp + 0x10]
push edx
jmp 0x4425f7
push 1
push 0
push 0
push esi
call fcn.0044241e
lea edx, [esp + 0x10]
push edx
jmp 0x4425f7
mov eax, dword [esp + 4]
cmp byte [eax + 0x30], 0
mov ecx, dword [esp + 8]
je 0x442650
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x442451
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
jmp 0x442530
Function at 0x4426b2
Capabilities:
Create http request

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 8
push esi
mov esi, dword [esp + 0x10]
cmp ecx, 1
jne 0x4426cc
movzx eax, word [esi + 0x8c]
jmp 0x4426d0
movzx eax, word [esi + 0x58]
cmp ecx, 1
movsx edx, ax
lea ecx, [esi + 0xb0]
je 0x4426e1
lea ecx, [esi + 0x7c]
mov eax, dword [esi + 0xc0]
push 0
cmp edx, 1
jne 0x4426f5
push 0
push 0
push edx
jmp 0x44273f
cmp edx, 2
jne 0x442739
mov ecx, dword [ecx]
push str._local_
push ecx
push 3
jmp 0x44273f
cmp byte [esi + 0xdc], 0
je 0x442730
push 8
lea eax, [esp + 8]
push eax
push 0x32
push 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov al, 1
pop esi
add esp, 8
ret 8
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
test eax, eax
jne 0x442706
xor al, al
pop esi
add esp, 8
ret 8

Function at 0x4429d3
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
sub esp, 0x254
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea eax, [esp + 0x10]
mov ebp, ecx
mov ecx, dword [esp + 0x268]
push eax
push ecx
xor bl, bl
call edi
mov esi, eax
cmp esi, 0xffffffff
je 0x442a62
lea ebx, [ebx]
lea edx, [esp + 0x3c]
push 0x486264
push edx
call fcn.00413194
add esp, 8
test eax, eax
je 0x442a52
lea eax, [esp + 0x3c]
push 0x4890a4
push eax
call fcn.00413194
add esp, 8
test eax, eax
je 0x442a52
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x26c]
push ecx
push edx
lea eax, [esp + 0x44]
push eax
call fcn.004365cc
add esp, 0xc
test al, al
je 0x442a84
mov bl, 1
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442a03
push esi
mov esi, dword [sym.imp.KERNEL32.dll_FindClose]
call esi
cmp byte [esp + 0x274], 0
jne 0x442a9a
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
lea edx, [esp + 0x10]
push edx
push 0x48909c
call edi
mov edi, eax
cmp edi, 0xffffffff
je 0x442b33
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test byte [esp + 0x10], 0x10
je 0x442b23
lea eax, [esp + 0x3c]
push 0x486264
push eax
call fcn.00413194
add esp, 8
test eax, eax
je 0x442b23
lea ecx, [esp + 0x3c]
push 0x4890a4
push ecx
call fcn.00413194
add esp, 8
test eax, eax
je 0x442b23
lea edx, [esp + 0x3c]
push edx
call ebx
mov eax, dword [esp + 0x274]
mov ecx, dword [esp + 0x270]
mov edx, dword [esp + 0x26c]
push eax
mov eax, dword [esp + 0x26c]
push ecx
push edx
push eax
mov ecx, ebp
call fcn.004429d3
test al, al
je 0x442b45
push 0x4890a4
call ebx
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x442ab7
push edi
call esi
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x254
ret 0x10
push edi
call esi
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x254
ret 0x10
Function at 0x442f71
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4a6cb8], 0
push esi
push edi
mov esi, 0x4a62e8
jne 0x442f91
push 0
call fcn.00414a9f
push eax
call fcn.00434bcb
add esp, 8
mov dword [0x49123c], 0x270
mov dword [0x4a62e4], esi
mov edx, 0xe3
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi + 0x634]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x442fa6
mov edx, 0x18c
mov edi, edi
mov ecx, dword [esi + 4]
mov edi, dword [esi]
mov al, cl
and al, 1
movzx eax, al
neg eax
sbb eax, eax
xor edi, ecx
and edi, 0x7ffffffe
xor edi, dword [esi]
and eax, 0x9908b0df
shr edi, 1
xor edi, dword [esi - 0x38c]
add esi, 4
xor edi, eax
sub edx, 1
mov dword [esi - 4], edi
jne 0x442fe1
mov ecx, dword [0x4a62e8]
mov dl, cl
and dl, 1
movzx eax, dl
mov edx, dword [esi]
neg eax
sbb eax, eax
xor edx, ecx
and edx, 0x7ffffffe
xor edx, dword [esi]
and eax, 0x9908b0df
shr edx, 1
xor edx, dword [esi - 0x38c]
pop edi
xor edx, eax
mov dword [esi], edx
pop esi
ret

Function at 0x443468
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 0x44354d
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4434ba
push 1
push esi
push eax
call fcn.00434eec
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 0x443528
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 0x4434fd
cmp eax, 0xffffffff
jne 0x4434a5
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 1
push accept
push 0x486670
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4434ba
test eax, eax
je 0x4434ba
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.00434eec
push esi
call fcn.00434f1c
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esi], eax
pop esi
add esp, 0xc
ret 0xc
test al, 1
je 0x4434ea
mov eax, dword [esi]
test eax, eax
je 0x4434c9
pop esi
add esp, 0xc
ret 0xc
Function at 0x443562
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 0x443649
push ecx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4435b7
push 1
push esi
push eax
call fcn.00434eec
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 0x443624
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 0x4435f9
cmp eax, 0xffffffff
jne 0x4435a2
push 0
push 0x80
push 3
lea eax, [esp + 0x10]
push eax
push 2
push 0x40000000
push 0x486670
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x4435b7
test eax, eax
je 0x4435b7
mov edx, dword [esi]
push 1
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.00434eec
push esi
call fcn.00434f1c
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 0x4435e7
mov eax, dword [esi]
test eax, eax
je 0x4435c6
pop esi
add esp, 0xc
ret 0x14

Function at 0x443687
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.00434f36
test al, al
je 0x4436d9
test ebx, ebx
je 0x4436d9
test edi, edi
je 0x4436d9
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 0x4436cf
push esi
call fcn.00434f1c
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 0x443b2b
Capabilities:
Log keystrokes

Disassembly:
cmp byte [esp + 8], 1
push esi
mov esi, dword [esp + 8]
jne 0x443b48
push esi
call fcn.00435d25
add esp, 4
test al, al
jne 0x443b61
push 1
jmp 0x443b4a
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 0x443dd7
Capabilities:
Create thread

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x24]
xor esi, esi
mov byte [0x496296], 0
test edi, edi
je 0x443e1e
mov byte [0x496297], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 8], eax
lea eax, [esp + 0x24]
push eax
push esi
lea ecx, [esp + 0x10]
push ecx
push 0x443cb4
push esi
push esi
mov dword [esp + 0x24], edi
call fcn.00413f0e
add esp, 0x18
mov esi, eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edi, eax
test esi, esi
je 0x443e55
push 0xffffffffffffffff
push esi
mov byte [0x496297], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x496296], 1
jne 0x443e67
pop edi
or eax, 0xffffffff
pop esi
add esp, 8
ret
mov eax, edi
pop edi
pop esi
add esp, 8
ret

Function at 0x443f7f
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call fcn.00443f62
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push 0
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 8]
add dword [esi + 0x10], eax
adc dword [esi + 0x14], 0
pop esi
ret 0xc
Function at 0x444481
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
xor edi, edi
xor ebp, ebp
mov byte [esp + 0x2c], 1
cmp word [esi], di
jne 0x4444a6
pop edi
pop esi
pop ebp
xor al, al
pop ebx
pop ecx
ret 0x18
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push esi
mov byte [ebx], 0
mov byte [eax], 0
mov byte [ecx], 0
mov byte [edx], 0
call fcn.00411085
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004114ca
mov ecx, eax
add esp, 8
mov dword [esp + 0x18], ecx
movzx eax, word [esi + edi*2]
cmp ax, 0x2b
je 0x444506
cmp ax, 0x5e
je 0x444500
cmp ax, 0x21
je 0x444500
cmp ax, 0x23
jne 0x44453c
cmp ax, 0x2b
jne 0x444510
mov eax, dword [esp + 0x20]
mov byte [eax], 1
inc edi
jmp 0x4444e4
cmp ax, 0x5e
jne 0x444520
mov edx, dword [esp + 0x24]
mov byte [edx], 1
inc edi
jmp 0x4444e4
cmp ax, 0x21
jne 0x444530
mov eax, dword [esp + 0x28]
mov byte [eax], 1
inc edi
jmp 0x4444e4
cmp ax, 0x23
jne 0x444539
mov byte [ebx], 1
inc edi
jmp 0x4444e4
movzx eax, word [esi + edi*2]
inc edi
mov dword [esp + 0x10], edi
cmp ax, 0x7b
jne 0x4445ea
lea edx, [esp + 0x10]
push edx
push ecx
push esi
push 0x7d
call fcn.00437061
test eax, eax
je 0x444571
mov byte [esp + 0x2c], 0
jmp 0x444622
mov esi, dword [esp + 0x18]
mov eax, dword [ebp*4 + 0x491b10]
push esi
push eax
call fcn.00411380
add esp, 8
test eax, eax
je 0x444590
inc ebp
cmp ebp, 0x62
jl 0x444571
cmp ebp, 0x62
jne 0x4445d2
movzx ecx, word [esi]
push ecx
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov edx, dword [esp + 0x1c]
cwde
mov dword [edx], eax
test eax, 0x200
je 0x4445b4
mov ecx, dword [esp + 0x24]
mov byte [ecx], 1
test eax, 0x400
je 0x4445c2
mov edx, dword [esp + 0x28]
mov byte [edx], 1
test eax, 0x100
je 0x444622
mov eax, dword [esp + 0x20]
mov byte [eax], 1
jmp 0x444622
cmp byte [ebp + 0x491c98], 0
jne 0x444561
movzx ecx, byte [ebp + str._f_b_b..__reepqrstuvwxyz________t___]
mov edx, dword [esp + 0x1c]
mov dword [edx], ecx
jmp 0x444622
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov ecx, dword [esp + 0x1c]
cwde
mov dword [ecx], eax
test eax, 0x200
je 0x444606
mov edx, dword [esp + 0x24]
mov byte [edx], 1
test eax, 0x400
je 0x444614
mov ecx, dword [esp + 0x28]
mov byte [ecx], 1
test eax, 0x100
je 0x444622
mov edx, dword [esp + 0x20]
mov byte [edx], 1
mov eax, dword [esp + 0x1c]
and dword [eax], 0xff
mov eax, dword [esp + 0x18]
push eax
call fcn.0041109f
mov al, byte [esp + 0x30]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
Function at 0x444645
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push edi
push ebx
xor edi, edi
xor esi, esi
call fcn.004372ff
mov byte [esp + 0x13], al
test al, al
je 0x444680
movzx eax, bl
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, eax
mov al, byte [esp + 0x13]
cmp dword [ebp + 0x18], edi
je 0x444741
cmp bl, 0x14
je 0x444741
cmp bl, 0x90
je 0x444741
cmp bl, 0x91
je 0x444741
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
shl esi, 0x10
or esi, 0xc0000001
cmp byte [esp + 0x140], 1
je 0x4446cc
push ebx
call fcn.004370be
cmp al, 1
jne 0x4446d2
or esi, 0x1000000
mov eax, dword [ebp + 0x14]
test al, 1
jne 0x4446e5
test eax, 0x100
jne 0x4446e5
cmp bl, 0x12
jne 0x444706
test al, 8
jne 0x444706
test eax, 0x800
jne 0x444706
mov edx, dword [ebp + 0x18]
movzx edi, bl
or esi, 0x20000000
push esi
push edi
push 0x105
push edx
jmp 0x444714
mov eax, dword [ebp + 0x18]
movzx edi, bl
push esi
push edi
push 0x101
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
xor byte [esp + edi + 0x30], 0x80
lea ecx, [esp + 0x30]
lea eax, [esp + edi + 0x30]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push ebp
call fcn.004374c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
test al, al
jne 0x444793
mov ax, word [esp + 0x13c]
push 0x1c
lea ecx, [esp + 0x18]
push ecx
xor edx, edx
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], dx
mov word [esp + 0x26], ax
mov dword [esp + 0x28], 6
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_SendInput]
push ebp
call fcn.004374c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
cmp byte [esp + 0x140], 1
je 0x4447ab
push ebx
call fcn.004370be
cmp al, 1
je 0x4447ab
push 2
jmp 0x4447ad
push 3
push esi
push ebx
push ebp
call fcn.00437335
push ebp
call fcn.004374c2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
Function at 0x4447c8
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x12c]
push esi
push edi
push ebx
xor edi, edi
xor esi, esi
call fcn.004372ff
mov byte [esp + 0x13], al
test al, al
je 0x444803
movzx eax, bl
push edi
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov esi, eax
mov al, byte [esp + 0x13]
cmp dword [ebp + 0x18], edi
je 0x4448d1
cmp bl, 0x14
je 0x4448d1
cmp bl, 0x90
je 0x4448d1
cmp bl, 0x91
je 0x4448d1
lea ecx, [esp + 0x30]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
movzx edi, bl
or byte [esp + edi + 0x30], 0x80
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.USER32.dll_SetKeyboardState]
shl esi, 0x10
or esi, 1
cmp byte [esp + 0x140], 1
je 0x44485f
push ebx
call fcn.004370be
cmp al, 1
jne 0x444865
or esi, 0x1000000
mov eax, dword [ebp + 0x14]
test al, 1
jne 0x444878
test eax, 0x100
jne 0x444878
cmp bl, 0x12
jne 0x4448ad
test al, 8
jne 0x4448ad
test eax, 0x800
jne 0x4448ad
mov eax, dword [ebp + 0x18]
or esi, 0x20000000
push esi
push edi
push 0x104
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call fcn.004374ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
mov ecx, dword [ebp + 0x18]
push esi
push edi
push 0x100
push ecx
call dword [sym.imp.USER32.dll_PostMessageW]
push ebp
call fcn.004374ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
test al, al
jne 0x444923
mov ax, word [esp + 0x13c]
push 0x1c
lea ecx, [esp + 0x18]
push ecx
xor edx, edx
push 1
mov dword [esp + 0x20], 1
mov word [esp + 0x24], dx
mov word [esp + 0x26], ax
mov dword [esp + 0x28], 4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_SendInput]
push ebp
call fcn.004374ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
cmp byte [esp + 0x140], 1
je 0x44493a
push ebx
call fcn.004370be
cmp al, 1
je 0x44493a
push edi
jmp 0x44493c
push 1
push esi
push ebx
push ebp
call fcn.00437335
push ebp
call fcn.004374ab
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret 0x10
Function at 0x444984
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 0x444b80
mov eax, dword [esi + 0x18]
test eax, eax
je 0x444b10
push eax
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x444b10
push ebp
push edi
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 0x4449ff
test bl, 8
jne 0x4449ff
test ebx, 0x800
jne 0x4449ff
movzx ecx, byte [esi + 0x1d]
mov edx, dword [esi + 0x18]
shl ecx, 0x10
or ecx, 0xe0000001
push ecx
push 0x12
push 0x105
push edx
jmp 0x444a1b
test ebp, ebp
je 0x444a1d
movzx eax, byte [esi + 0x1d]
mov ecx, dword [esi + 0x18]
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 0x444a43
movzx edx, byte [esi + 0x1c]
mov eax, dword [esi + 0x18]
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 0x444a6c
movzx ecx, byte [esi + 0x1f]
mov edx, dword [esi + 0x18]
shl ecx, 0x10
or ecx, 0xc0000001
push ecx
push 0xa0
push 0x101
push edx
call edi
mov eax, ebx
and eax, 4
mov dword [esp + 0x10], eax
je 0x444a91
movzx eax, byte [esi + 0x20]
mov ecx, dword [esi + 0x18]
shl eax, 0x10
or eax, 0xc0000001
push eax
push 0x10
push 0x101
push ecx
call edi
and ebx, 0x10
je 0x444ab1
movzx edx, byte [esi + 0x21]
mov eax, dword [esi + 0x18]
shl edx, 0x10
or edx, 0xc0000001
push edx
push 0x5b
push 0x101
push eax
call edi
mov al, 0x80
test ebx, ebx
je 0x444abb
xor byte [esp + 0x77], al
cmp dword [esp + 0x18], 0
je 0x444acd
xor byte [esp + 0x2c], al
xor byte [esp + 0xbc], al
cmp dword [esp + 0x10], 0
je 0x444adf
xor byte [esp + 0x2c], al
xor byte [esp + 0xbd], al
cmp dword [esp + 0x14], 0
je 0x444aea
xor byte [esp + 0x2d], al
pop edi
test ebp, ebp
pop ebp
je 0x444af4
xor byte [esp + 0x26], al
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.USER32.dll_SetKeyboardState]
push esi
call fcn.004374c2
pop esi
pop ebx
add esp, 0x10c
ret 8
test bl, 1
je 0x444b24
movzx edx, byte [esi + 0x1d]
push 2
push edx
push 0x12
push esi
call fcn.00437335
test bl, 8
je 0x444b38
movzx eax, byte [esi + 0x1c]
push 2
push eax
push 0x11
push esi
call fcn.00437335
test bl, 2
je 0x444b4f
movzx ecx, byte [esi + 0x1f]
push 2
push ecx
push 0xa0
push esi
call fcn.00437335
test bl, 4
je 0x444b66
movzx edx, byte [esi + 0x20]
push 2
push edx
push 0xa1
push esi
call fcn.00437335
test bl, 0x10
je 0x444b7a
movzx eax, byte [esi + 0x21]
push 2
push eax
push 0x5b
push esi
call fcn.00437335
push esi
call fcn.004374c2
pop esi
pop ebx
add esp, 0x10c
ret 8