joyce8/EMBER2024-capa huggingface dataset:
Function at 0x475c90
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x290
mov eax, dword [0x4d6390]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x84]
push edi
push 0x80
push 0
push eax
call fcn.00479790
push 0x80
lea eax, [ebp - 0x84]
push eax
push esi
call fcn.00475150
lea ecx, [ebp - 0x188]
mov edi, esi
mov eax, ecx
add esp, 0x18
mov edx, 0x104
sub edi, eax
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x475cfa
mov al, byte [edi + ecx]
test al, al
je 0x475cfa
mov byte [ecx], al
inc ecx
sub edx, 1
jne 0x475ce1
lea eax, [ecx - 1]
test edx, edx
cmovne eax, ecx
mov ecx, 0x104
mov byte [eax], 0
lea eax, [ebp - 0x188]
cmp byte [eax], 0
je 0x475d1b
inc eax
sub ecx, 1
jne 0x475d10
mov edx, 0x104
mov edi, ecx
mov eax, edx
sub eax, ecx
neg edi
sbb edi, edi
and edi, eax
test ecx, ecx
je 0x475d70
lea ecx, [ebp - 0x188]
lea ecx, [ecx + edi]
sub edx, edi
je 0x475d65
lea edi, [ebp - 0x84]
mov eax, 0x7fffffff
sub edi, ecx
push ebx
nop dword [eax + eax]
test eax, eax
je 0x475d64
mov bl, byte [edi + ecx]
test bl, bl
je 0x475d64
mov byte [ecx], bl
dec eax
inc ecx
sub edx, 1
jne 0x475d50
pop ebx
test edx, edx
lea eax, [ecx - 1]
cmovne eax, ecx
mov byte [eax], 0
push 0x100
lea eax, [ebp - 0x288]
mov dword [ebp - 0x290], 1
push 0
push eax
call fcn.00479790
add esp, 0xc
mov dword [ebp - 0x28c], 0x100
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x290]
push eax
push 0x4b9d3c
push str.SoftwareComMaster
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueA]
test eax, eax
jne 0x475e2a
lea eax, [ebp - 0x288]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x475df4
test cl, cl
je 0x475df0
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x475df4
add eax, 2
add esi, 2
test cl, cl
jne 0x475dd4
xor eax, eax
jmp 0x475df9
sbb eax, eax
or eax, 1
test eax, eax
je 0x475e2a
lea ecx, [ebp - 0x288]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x475e06
sub ecx, edx
lea eax, [ebp - 0x288]
push ecx
push eax
push 1
push str.mid_old
push str.SoftwareComMaster
push 0x80000002
call edi
lea ecx, [ebp - 0x188]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x475e33
sub ecx, edx
lea eax, [ebp - 0x188]
push ecx
push eax
push 1
push 0x4b9d3c
push str.SoftwareComMaster
push 0x80000002
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004582e2
mov esp, ebp
pop ebp
ret
Function at 0x477610
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a461b
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x4d6390]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
push 0x20000
push 0
push esi
call fcn.00479790
add esp, 0xc
lea eax, [ebx + 0x20014]
push 0
push eax
push 0x20000
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4777da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x10], esi
test eax, eax
je 0x477797
cmp eax, 0xffffffff
je 0x477797
call fcn.00433d90
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x477797
cmp dword [ebx + 0x2005c], 8
lea eax, [ebx + 0x20048]
mov dword [ebp - 0x14], eax
jb 0x4776c5
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0x61
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.0040a100
push 3
push 0x4abab4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0040a100
mov byte [ebp - 4], 1
call fcn.00433d90
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x95
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00405130
mov esi, eax
push str.RecvData_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.004060d0
add esp, 8
mov ecx, esi
push dword [ebp - 0x10]
call fcn.00405f30
push str.__channel_name:
push esi
call fcn.004060d0
mov ecx, dword [ebp - 0x14]
mov eax, 0x4ab884
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.004043f0
mov eax, dword [edi]
add esp, 0x10
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.00406330
lea ecx, [ebp - 0x2c]
call fcn.00405aa0
lea ecx, [ebp - 0x44]
call fcn.00405aa0
mov esi, dword [ebp - 0x10]
mov dword [ebx + 0xc], 6
cmp esi, 0xe8
je 0x4777b8
cmp esi, 0xe9
je 0x4777b8
cmp esi, 0x6d
je 0x4777b8
cmp esi, 6
jne 0x47780e
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
mov dword [ecx + 4], eax
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x20014]
test eax, eax
je 0x477807
test esi, esi
je 0x477807
push dword [ebp - 0x10]
add eax, esi
push eax
push esi
push dword [ecx + 4]
call fcn.0043f330
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x498363
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00498023
Function at 0x1001af23
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1001af62
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1001af62
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1001af62
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1001af62
cmp dword [ecx + 0x74], 0xe
jbe 0x1001af62
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1001dbdf
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001dc7c
push ebx
push esi
call fcn.1001dba8
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001db3c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001dc29
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001dc7b
push edi
push eax
call fcn.1001eb9a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001dc49
call fcn.1001c684
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001dc7a
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001db3c
add esp, 0x20
test eax, eax
jne 0x1001dc68
push edi
call fcn.1001c684
jmp 0x1001dc70
push ebx
call fcn.1001c684
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1001dee9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cc8
push 0x10025cc0
push str.FlsAlloc
push 0x1f
call fcn.1001de05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001df1d
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
jmp 0x1001df23
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1001df67
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025cd8
push 0x10025cd0
push str.FlsGetValue
push 0x21
call fcn.1001de05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001df9e
push dword [ebp + 8]
mov ecx, esi
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1001dfa6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10025ce0
push 0x10025cd8
push str.FlsSetValue
push 0x22
call fcn.1001de05
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1001dfe0
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10024150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10023670
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002369d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002369d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40601c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x406082
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040434c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402cf0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x40606c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406089
lea eax, [ebp - 0x10]
call fcn.004040dc
ret

Function at 0x40b78c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b7c5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004041cc
jmp 0x40b7ce
mov eax, ebx
mov edx, esi
call fcn.00404130
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b7d8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b7f9
mov al, byte [esp]
jmp 0x40b7fb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40be80
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bcf8
mov eax, dword [0x489d64]
cmp byte [eax], 0
je 0x40befc
mov eax, dword [0x4899e4]
call fcn.00402b5c
call fcn.00402864
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408ddc
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bf44
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf32
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x489950]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48a668]
call fcn.00405530
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c804
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c8da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404174
lea eax, [ebp - 8]
call fcn.004045ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040459c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c8c4
mov eax, ebx
call fcn.004026fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c8bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040459c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c8a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c8a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8c4
mov eax, dword [ebp - 0x10]
call fcn.0040271c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8e1
lea eax, [ebp - 8]
call fcn.004040dc
ret

Function at 0x40ce58
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cebc
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040434c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408788
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cec3
lea eax, [ebp - 0xc]
call fcn.004040dc
ret

Function at 0x421ce4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00421b3c
dec esi
jne 0x421d06
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x422e48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x48a88c
cmp dword [edi], 0
jne 0x422ec4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x48a888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x488524
mov ecx, 2
call fcn.004028f8
mov edx, 0x422e20
lea eax, [esi + 5]
call fcn.00422e40
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00422e40
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x422e99
mov dword [0x48a888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424448
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x42444e
ret

Function at 0x426b14
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x426b65
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x426b4c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x426b3c
jmp 0x426b65
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x426b4d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4452a4
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x4451f0
call sub.user32.dll_EnumWindows
ret

Function at 0x4453c4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x445441
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00444e24
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x4453e9
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00444a24
cmp dword [ebp - 4], 0
je 0x44542b
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040459c
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445448
lea eax, [ebp - 4]
call fcn.004040dc
ret

Function at 0x44898c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x48ab6c], 0
je 0x448adb
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x489cac]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x448adb
mov eax, dword [0x48ab70]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x48ab6c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x448aaa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x48ab6c]
call fcn.00418fa8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x448aa2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x448aa2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x448aa2
mov eax, dword [ebp - 0x14]
call fcn.00451624
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x448aa2
push ebp
call fcn.00448948
pop ecx
test al, al
jne 0x448aa2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x448a5e
mov eax, dword [ebp - 0x14]
call fcn.00450154
dec eax
jle 0x448aa2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.004034c4
cmp byte [ebp - 1], 0
je 0x448aa2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x448aa2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x48ab70]
call fcn.00448114
inc edi
dec ebx
jne 0x4489f1
mov eax, dword [0x48ab70]
cmp dword [eax + 8], 0
jle 0x448ac2
mov eax, dword [0x48ab70]
call fcn.004481a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x448adb
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004487b0
pop ecx
test al, al
jne 0x448adb
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c0bc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x44c108
mov eax, esi
call fcn.00461e54
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44c108
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x44c108
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x44c247
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x44c148
cmp eax, 0x108
ja 0x44c148
mov eax, esi
call fcn.00461e54
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x44c23e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x44c247
jmp 0x44c23e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x44c227
cmp eax, 0x20a
ja 0x44c227
test byte [esi + 0x50], 0x80
jne 0x44c17a
sub eax, 0x203
je 0x44c177
sub eax, 3
je 0x44c177
sub eax, 3
jne 0x44c17a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x44c18e
dec eax
je 0x44c1a3
dec eax
je 0x44c1c0
dec eax
je 0x44c1a3
jmp 0x44c1c7
mov ecx, ebx
mov eax, dword [0x489cac]
mov eax, dword [eax]
mov edx, esi
call fcn.0046b6a8
jmp 0x44c23e
cmp byte [esi + 0x5d], 1
jne 0x44c1b9
mov eax, esi
mov si, 0xffed
call fcn.004034c4
jmp 0x44c247
or word [esi + 0x54], 1
jmp 0x44c23e
and word [esi + 0x54], 0xfffe
jmp 0x44c23e
mov eax, dword [0x48ab28]
cmp byte [eax + 0x20], 0
je 0x44c23e
mov eax, dword [0x48ab28]
cmp dword [eax + 0x1c], 0
je 0x44c23e
mov eax, dword [ebx]
mov edx, dword [0x48ab28]
cmp eax, dword [edx + 0x1c]
jne 0x44c23e
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00461d98
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004034c4
jmp 0x44c247
cmp eax, 0xb00b
jne 0x44c23e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0044a9dc
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x461d5c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x461d94]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461d75
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x461d84
or bl, 4
test esi, 0x20000000
je 0x461d8f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46843c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46844e
add esp, 0xfffffff0
call fcn.0040362c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00421db8
mov eax, dword [0x489964]
mov dword [eax + 4], ebx
mov dword [eax], 0x4687e0
mov eax, dword [0x489974]
mov dword [eax + 4], ebx
mov dword [eax], 0x4687ec
mov eax, ebx
call fcn.004687f8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x416650]
call fcn.00403298
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x464c14
push eax
push 0
push 0
mov eax, dword [0x489bd4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42381c]
call fcn.00424f90
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42381c]
call fcn.00424f90
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42381c]
call fcn.00424f90
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00468c18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468af4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468af4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x468af4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46858b
call fcn.00403684
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret