joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101baed0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x14
call fcn.10043800
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
lea ebp, [eax - 1]
push edi
lea ecx, [ebp - 0x29]
cmp esi, ecx
jle 0x101baf0f
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.101923d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp ebp, 0x29
jge 0x101baf33
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.101923d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov ebx, dword [esp + 0x28]
push 0
lea edx, [ebx + 1]
mov byte [ebx], 0
mov dword [esp + 0x30], edx
add ebx, 0x15
call fcn.1018c5a0
mov ecx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push 0
push ebx
push eax
push ecx
call fcn.1018c2f0
mov ecx, ebp
xor eax, eax
sub ecx, esi
lea edi, [ebx + 0x14]
sub ecx, 0x29
push 0x14
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
mov ecx, esi
sub eax, esi
mov esi, dword [esp + 0x4c]
add eax, ebp
mov edx, ecx
shr ecx, 2
lea edi, [eax - 0x14]
mov byte [eax - 0x15], 1
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x48]
push esi
call fcn.10188f60
add esp, 0x20
test eax, eax
jg 0x101bafb6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x14
ret
add ebp, 0xffffffec
push 0x48
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.10191910
mov edi, eax
add esp, 0xc
test edi, edi
mov dword [esp + 0x2c], edi
jne 0x101baff2
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.101923d0
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
call fcn.1018c5a0
push eax
push 0x14
push esi
push ebp
push edi
call fcn.101bb2a0
add esp, 0x14
test ebp, ebp
jle 0x101bb01c
mov eax, ebx
sub edi, ebx
mov ecx, ebp
mov dl, byte [edi + eax]
xor byte [eax], dl
inc eax
dec ecx
jne 0x101bb00f
mov edi, dword [esp + 0x2c]
call fcn.1018c5a0
push eax
push ebp
push ebx
lea eax, [esp + 0x1c]
push 0x14
push eax
call fcn.101bb2a0
lea ecx, [esp + 0x24]
add esp, 0x14
mov eax, esi
sub ecx, esi
mov esi, 0x14
mov dl, byte [ecx + eax]
mov bl, byte [eax]
xor bl, dl
mov byte [eax], bl
inc eax
dec esi
jne 0x101bb040
push edi
call fcn.10191b90
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x101bb780
Capabilities:
Check for software breakpoints

Disassembly:
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, edx
push esi
jne 0x101bb855
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x101bb7a3
cmp al, 0x6b
jne 0x101bb855
cmp al, 0x6b
lea esi, [ecx + 1]
jne 0x101bb811
lea eax, [edx - 3]
xor edx, edx
test eax, eax
jle 0x101bb7c5
mov cl, byte [esi]
inc esi
cmp cl, 0xba
je 0x101bb7c5
cmp cl, 0xbb
jne 0x101bb7ee
inc edx
cmp edx, eax
jl 0x101bb7b3
sub eax, edx
test edx, edx
jne 0x101bb814
push 0x8a
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.101923d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x81
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.101923d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
lea eax, [edx - 2]
cmp byte [eax + esi], 0xcc
je 0x101bb83d
push 0x93
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.101923d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
mov ecx, eax
push edi
mov edi, dword [esp + 0xc]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
push 0x72
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.101923d0
add esp, 0x14
or eax, 0xffffffff
pop esi
ret

Function at 0x101c5760
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov ecx, dword [eax + 4]
push edi
cmp ecx, dword [ebx + 4]
jge 0x101c5779
mov edi, ebx
mov ebx, eax
jmp 0x101c577b
mov edi, eax
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 4]
cmp eax, dword [esi + 8]
jg 0x101c578b
mov eax, esi
jmp 0x101c5795
push eax
push esi
call fcn.1018e470
add esp, 8
test eax, eax
jne 0x101c579d
pop edi
pop esi
pop ebx
ret
mov ecx, dword [ebx + 4]
xor eax, eax
test ecx, ecx
jle 0x101c57c1
push ebp
mov edx, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [edx + eax*4]
mov ebp, dword [ecx + eax*4]
mov ecx, dword [esi]
xor edx, ebp
mov dword [ecx + eax*4], edx
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
jl 0x101c57a7
pop ebp
cmp eax, dword [edi + 4]
jge 0x101c57d8
mov edx, dword [edi]
mov ecx, dword [esi]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x101c57c6
mov edi, dword [edi + 4]
test edi, edi
mov dword [esi + 4], edi
jle 0x101c57fe
mov eax, dword [esi]
lea eax, [eax + edi*4 - 4]
mov ecx, dword [eax]
sub eax, 4
test ecx, ecx
jne 0x101c57fe
mov edx, dword [esi + 4]
dec edx
mov ecx, edx
mov dword [esi + 4], edx
test ecx, ecx
jg 0x101c57e8
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x101cd600
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101fa2fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x101ff094]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
mov dword [esp + 0x228], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.1005c7b0
lea eax, [esp + 8]
push 1
push eax
mov ecx, esi
call fcn.1005ea90
mov ecx, dword [eax]
push 0x1023b44c
push ecx
call fcn.10043744
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.1005c4d0
test edi, edi
je 0x101cd6a0
push 0x1023b44c
mov ecx, esi
call fcn.1005d110
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret

Function at 0x101cd7e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x101fa33b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x210
mov eax, dword [0x101ff094]
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], eax
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
push 0x104
push ecx
mov dword [esp + 0x228], 0
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.1005c7b0
lea eax, [esp + 8]
push 1
push eax
mov ecx, esi
call fcn.1005ea90
mov ecx, dword [eax]
push 0x1023b44c
push ecx
call fcn.10043744
add esp, 8
lea ecx, [esp + 8]
mov edi, eax
call fcn.1005c4d0
test edi, edi
je 0x101cd880
push 0x1023b44c
mov ecx, esi
call fcn.1005d110
mov ecx, dword [esp + 0x218]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x21c
ret
Function at 0x101cff00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x101cff0d
xor eax, eax
ret 0xc
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x101d0010
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x102188ac]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x102188ac]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x102188ac]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x102188ac]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x102188ac]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x102188ac]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x102188ac]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x102188ac]
xor eax, edx
inc ecx
dec edi
jne 0x101cff28
pop edi
test esi, esi
je 0x101d0032
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x102188ac]
xor eax, edx
inc ecx
dec esi
jne 0x101d0014
pop esi
pop ebx
not eax
ret 0xc
Function at 0x101d0250
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x108]
push edi
mov dword [esp + 0x14], ecx
xor edx, edx
xor eax, eax
mov al, byte [edx + str.80_]
mov ecx, eax
and eax, 7
sar ecx, 3
mov bl, byte [eax*2 + 0x10218cac]
mov cl, byte [ecx + esi]
test bl, cl
setne al
mov byte [esp + edx + 0x50], al
inc edx
cmp edx, 0x38
jl 0x101d0267
mov eax, 0x1e
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x110], 1
je 0x101d02a8
lea eax, [ebx + ebx]
lea edi, [esp + eax*4 + 0x8c]
lea ebp, [esp + eax*4 + 0x88]
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 0x10218d54]
mov dword [edi], 0
mov esi, ecx
mov dword [ebp], 0
mov edx, esi
cmp edx, 0x1c
jge 0x101d02dc
mov cl, byte [esp + edx + 0x50]
jmp 0x101d02e0
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x1c
jl 0x101d02d1
mov eax, 0x1c
lea edx, [esi + 0x1c]
cmp edx, 0x38
jge 0x101d02fe
mov cl, byte [esp + edx + 0x50]
jmp 0x101d0302
mov cl, byte [esp + edx + 0x34]
mov byte [esp + eax + 0x18], cl
inc eax
inc edx
cmp eax, 0x38
jl 0x101d02f3
xor edx, edx
mov eax, 0x10218cbc
xor ecx, ecx
mov cl, byte [edx + 0x10218d64]
cmp byte [esp + ecx + 0x18], 0
je 0x101d032d
mov ecx, dword [eax]
mov esi, dword [ebp]
or esi, ecx
mov dword [ebp], esi
xor ecx, ecx
mov cl, byte [edx + 0x10218d7c]
cmp byte [esp + ecx + 0x18], 0
je 0x101d0344
mov ecx, dword [eax]
mov esi, dword [edi]
or esi, ecx
mov dword [edi], esi
add eax, 4
inc edx
cmp eax, str.80_
jl 0x101d0314
mov eax, dword [esp + 0x10]
inc ebx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x101d029b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x88]
push edx
call fcn.101d0390
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf8
ret 8
Function at 0x101d6006
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x101d6036
push edi
call ebx
push eax
call fcn.101d7732
push esi
mov esi, dword [ebp + 0xc]
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
je 0x101d6060
test byte [ebp - 4], 1
je 0x101d6060
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x101d6060
push edi
call ebx
push eax
call fcn.101d7732
cmp dword [esi + 4], edi
lea eax, [esi + 4]
je 0x101d6106
lea ecx, [ebp - 0x24]
push ecx
push eax
call fcn.101d5f53
cmp dword [esi + 8], edi
lea eax, [esi + 8]
pop ecx
pop ecx
je 0x101d6092
lea ecx, [ebp - 0x14]
push ecx
push eax
call fcn.101d5f53
pop ecx
lea eax, [ebp - 0x14]
pop ecx
mov dword [ebp - 8], eax
cmp dword [esi], edi
je 0x101d60a8
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.101d5f53
pop ecx
lea eax, [ebp - 0x1c]
pop ecx
mov dword [ebp - 0xc], eax
push edi
push 0x80
push 3
push edi
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x101d60d2
push 0
call ebx
push eax
call fcn.101d7732
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x101d60f0
push eax
call ebx
push eax
call fcn.101d7732
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x101d6104
push eax
call ebx
push eax
call fcn.101d7732
xor edi, edi
movzx eax, byte [esi + 0x10]
cmp eax, dword [ebp - 4]
pop esi
je 0x101d612d
test byte [ebp - 4], 1
jne 0x101d612d
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x101d612d
push edi
call ebx
push eax
call fcn.101d7732
pop edi
pop ebx
leave
ret 8

Function at 0x101d9799
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x101d97d1
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.101d4e29
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.101d4e00
jmp 0x101d97dd
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x406480
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 0x4064e6
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.00404410
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d90
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064d0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064ed
lea eax, [ebp - 0x10]
call fcn.004041a0
ret

Function at 0x40bab0
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 0x40bae9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404290
jmp 0x40baf2
mov eax, ebx
mov edx, esi
call fcn.004041f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40bafc
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 0x40bb1d
mov al, byte [esp]
jmp 0x40bb1f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c1a4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c01c
mov eax, dword [0x4cf418]
cmp byte [eax], 0
je 0x40c220
mov eax, dword [0x4cf110]
call fcn.00402bc0
call fcn.00402a34
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.00409270
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 0x40c268
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c256
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4cf090]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4d0668]
call fcn.00405978
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 0x432b60
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 0x432aac
call sub.user32.dll_EnumWindows
ret

Function at 0x432c80
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 0x432cfd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004326e0
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 0x432ca5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004322e0
cmp dword [ebp - 4], 0
je 0x432ce7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404660
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 0x432d04
lea eax, [ebp - 4]
call fcn.004041a0
ret

Function at 0x435cc8
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 [0x4d0b58], 0
je 0x435e17
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4cf370]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x435e17
mov eax, dword [0x4d0b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d0b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x435de6
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d0b58]
call fcn.0041b718
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x435dde
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x435dde
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x435dde
mov eax, dword [ebp - 0x14]
call fcn.0043e960
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x435dde
push ebp
call fcn.00435c84
pop ecx
test al, al
jne 0x435dde
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x435d9a
mov eax, dword [ebp - 0x14]
call fcn.0043d490
dec eax
jle 0x435dde
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.00403584
cmp byte [ebp - 1], 0
je 0x435dde
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x435dde
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d0b5c]
call fcn.00435450
inc edi
dec ebx
jne 0x435d2d
mov eax, dword [0x4d0b5c]
cmp dword [eax + 8], 0
jle 0x435dfe
mov eax, dword [0x4d0b5c]
call fcn.004354e0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x435e17
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00435aec
pop ecx
test al, al
jne 0x435e17
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 0x4393f8
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 0x439444
mov eax, esi
call fcn.0044eba8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x439444
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x439444
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 0x439583
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x439484
cmp eax, 0x108
ja 0x439484
mov eax, esi
call fcn.0044eba8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43957a
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x439583
jmp 0x43957a
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x439563
cmp eax, 0x20a
ja 0x439563
test byte [esi + 0x50], 0x80
jne 0x4394b6
sub eax, 0x203
je 0x4394b3
sub eax, 3
je 0x4394b3
sub eax, 3
jne 0x4394b6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4394ca
dec eax
je 0x4394df
dec eax
je 0x4394fc
dec eax
je 0x4394df
jmp 0x439503
mov ecx, ebx
mov eax, dword [0x4cf370]
mov eax, dword [eax]
mov edx, esi
call fcn.00458354
jmp 0x43957a
cmp byte [esi + 0x5d], 1
jne 0x4394f5
mov eax, esi
mov si, 0xffed
call fcn.00403584
jmp 0x439583
or word [esi + 0x54], 1
jmp 0x43957a
and word [esi + 0x54], 0xfffe
jmp 0x43957a
mov eax, dword [0x4d0b14]
cmp byte [eax + 0x20], 0
je 0x43957a
mov eax, dword [0x4d0b14]
cmp dword [eax + 0x1c], 0
je 0x43957a
mov eax, dword [ebx]
mov edx, dword [0x4d0b14]
cmp eax, dword [edx + 0x1c]
jne 0x43957a
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.0044eaec
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.00403584
jmp 0x439583
cmp eax, 0xb00b
jne 0x43957a
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00437d18
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 0x44eab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44eae8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44eac9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ead8
or bl, 4
test esi, 0x20000000
je 0x44eae3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x455190
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4551a2
add esp, 0xfffffff0
call fcn.00403694
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004212c0
mov eax, dword [0x4cf0a4]
mov dword [eax + 4], ebx
mov dword [eax], 0x455534
mov eax, dword [0x4cf0b4]
mov dword [eax + 4], ebx
mov dword [eax], 0x455540
mov eax, ebx
call fcn.0045554c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x419304]
call fcn.00403350
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x419304]
call fcn.00403350
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x419304]
call fcn.00403350
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x419304]
call fcn.00403350
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x419304]
call fcn.00403350
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, 0x451968
push eax
push 0
push 0
mov eax, dword [0x4cf2a8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422cec]
call fcn.00424130
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422cec]
call fcn.00424130
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422cec]
call fcn.00424130
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045596c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455848
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455848
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455848
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4552df
call fcn.004036ec
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret