joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404154
Capabilities:
Terminate process

Disassembly:
push eax
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
xor edx, edx
mov al, byte [esi]
mov dl, byte [esi + 1]
cmp al, 0xa
je 0x40419b
cmp al, 0xb
je 0x4041b5
cmp al, 0xc
je 0x4041cc
cmp al, 0xd
je 0x4041db
cmp al, 0xe
je 0x4041f9
cmp al, 0xf
je 0x40420f
cmp al, 0x11
je 0x40421e
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402734
cmp ecx, 1
mov eax, ebx
jg 0x4041ac
call fcn.00403910
jmp 0x40422d
mov edx, ecx
call fcn.00403934
jmp 0x40422d
cmp ecx, 1
mov eax, ebx
jg 0x4041c3
call fcn.00403edc
jmp 0x40422d
mov edx, ecx
call fcn.00403ef4
jmp 0x40422d
mov eax, ebx
add ebx, 0x10
call fcn.0040498c
dec edi
jg 0x4041cc
jmp 0x40422d
push ebp
mov ebp, edx
mov edx, dword [esi + ebp + 0xa]
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov ecx, dword [esi + ebp + 6]
mov edx, dword [edx]
call fcn.00404154
dec edi
jg 0x4041de
pop ebp
jmp 0x40422d
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404128
dec edi
jg 0x4041fc
pop ebp
jmp 0x40422d
mov eax, ebx
add ebx, 4
call fcn.00404fe4
dec edi
jg 0x40420f
jmp 0x40422d
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404b80
dec edi
jg 0x40421e
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x404234
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.00404154

Function at 0x404240
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
xor eax, eax
mov al, byte [ecx + 1]
lea edi, [ecx + eax + 0xa]
mov ebp, dword [edi - 4]
xor eax, eax
mov ecx, dword [edi - 8]
push ecx
mov ecx, dword [edi + 4]
sub ecx, eax
jle 0x40426c
mov edx, eax
add eax, esi
add edx, ebx
call fcn.004027c0
mov eax, dword [edi + 4]
mov edx, dword [edi]
mov edx, dword [edx]
mov cl, byte [edx]
cmp cl, 0xa
je 0x4042ab
cmp cl, 0xb
je 0x4042bc
cmp cl, 0xc
je 0x4042cd
cmp cl, 0xd
je 0x4042de
cmp cl, 0xe
je 0x4042fe
cmp cl, 0xf
je 0x404317
cmp cl, 0x11
je 0x404328
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403964
mov eax, 4
jmp 0x404339
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403f18
mov eax, 4
jmp 0x404339
lea edx, [esi + eax]
add eax, ebx
call fcn.004045d8
mov eax, 0x10
jmp 0x404339
xor ecx, ecx
mov cl, byte [edx + 1]
push dword [edx + ecx + 2]
push dword [edx + ecx + 6]
mov ecx, dword [edx + ecx + 0xa]
mov ecx, dword [ecx]
lea edx, [esi + eax]
add eax, ebx
call fcn.0040435c
pop eax
jmp 0x404339
xor ecx, ecx
mov cl, byte [edx + 1]
mov ecx, dword [edx + ecx + 2]
push ecx
mov ecx, edx
lea edx, [esi + eax]
add eax, ebx
call fcn.00404240
pop eax
jmp 0x404339
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404ffc
mov eax, 4
jmp 0x404339
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404bbc
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x40425a
pop ecx
sub ecx, eax
jle 0x404355
lea edx, [ebx + eax]
add eax, esi
call fcn.004027c0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40435c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov esi, edx
mov edi, ecx
mov ebp, dword [esp + 0x14]
mov cl, byte [edi]
cmp cl, 0xa
je 0x4043a2
cmp cl, 0xb
je 0x4043b9
cmp cl, 0xc
je 0x4043cd
cmp cl, 0xd
je 0x4043e1
cmp cl, 0xe
je 0x404402
cmp cl, 0xf
je 0x40441f
cmp cl, 0x11
je 0x404433
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov eax, ebx
mov edx, dword [esi]
call fcn.00403964
add ebx, 4
add esi, 4
dec ebp
jne 0x4043a2
jmp 0x404447
mov eax, ebx
mov edx, dword [esi]
call fcn.00403f18
add ebx, 4
add esi, 4
dec ebp
jne 0x4043b9
jmp 0x404447
mov eax, ebx
mov edx, esi
call fcn.004045d8
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4043cd
jmp 0x404447
xor ecx, ecx
mov cl, byte [edi + 1]
lea edi, [edi + ecx + 2]
mov eax, ebx
mov edx, esi
mov ecx, dword [edi + 8]
push dword [edi + 4]
call fcn.0040435c
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x4043ea
jmp 0x404447
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404240
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x404402
jmp 0x404447
mov eax, ebx
mov edx, dword [esi]
call fcn.00404ffc
add ebx, 4
add esi, 4
dec ebp
jne 0x40441f
jmp 0x404447
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404bbc
add ebx, 4
add esi, 4
dec ebp
jne 0x404433
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x4045d8
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402734
cmp eax, edx
je 0x40466f
cmp word [eax], 8
jb 0x404610
push eax
push edx
cmp word [eax], 0x100
je 0x404606
cmp word [eax], 0x101
je 0x4045fe
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40460e
call dword [0x4433e4]
jmp 0x40460e
add eax, 8
call fcn.00403910
pop edx
pop eax
cmp word [edx], 8
jae 0x404627
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
je 0x404642
cmp word [edx], 0x101
jne 0x40465b
push eax
call 0x404616
pop eax
jmp dword [0x4433ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x404652
mov ecx, dword [edx - 8]
inc ecx
jle 0x404652
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x40458c
ret
Function at 0x404c38
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404df0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404c99
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404e0c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404d06
xor eax, eax
push ebp
push 0x404cff
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404ce8
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404e2c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404d06
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404de7
cmp byte [ebp - 0xd], 0
jne 0x404d48
cmp byte [ebp - 0x12], 0
je 0x404de7
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404d61
dec ebx
cmp byte [ebx], 0x2e
je 0x404d70
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404d60
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404de7
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404d9d
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404de7
cmp byte [ebp - 0xd], 0
je 0x404de7
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404de7
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4085e0
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 0x408619
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039f4
jmp 0x408622
mov eax, ebx
mov edx, esi
call fcn.004039a8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40862c
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 0x40864d
mov al, byte [esp]
jmp 0x40864f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411e74
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x411e89
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x413b70
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 0x413b76
ret

Function at 0x414a38
Capabilities:
Contain obfuscated stackstrings
Enumerate pe sections

Disassembly:
movzx eax, word [edi + 0x14]
lea esi, [eax + edi + 0x18]
mov dword [ebp - 0x44], esi
call fcn.00414837
dec eax
lcall 0x647, 0xb70f1b4e
lea eax, [eax + eax*4]
shl eax, 3
invalid
inc ebp

Function at 0x414c84
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00414847
push eax
push esi
push dword [ebp + 8]
call fcn.004147fc
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00414837
xlatb
mov eax, eax
cld
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
mov byte [ebp - 0x71], 0x57
mov byte [ebp - 0x70], 0x16
call fcn.00414837
mov ebx, esp
cmp edx, dword [edi - 0x837a73]
invalid

Function at 0x4150b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax - 0x3a]
test dword [esp + edi*8 - 0x39bb0001], edi
test dword [ebp + 0x55fffffc], edi
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00414847
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004147fc
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
Function at 0x4151d8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00414847
pop ecx
push eax
push dword [ebp + 0x18]
jne 0x4151f2
push dword [ebp + 0x14]
call fcn.004147fc
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
mov byte [ebp - 0x3ea], 0x11
and byte [ebp - 0x3e9], 0
mov byte [ebp - 0x3e8], 0xa9
mov byte [ebp - 0x3e7], 0x8b
mov byte [ebp - 0x3e6], 0x9a
mov byte [ebp - 0x3e5], 0xa3
mov byte [ebp - 0x3e4], 0x81
mov byte [ebp - 0x3e3], 0x8a
mov byte [ebp - 0x3e2], 0x9b
mov byte [ebp - 0x3e1], 0x82
mov byte [ebp - 0x3e0], 0x8b
mov byte [ebp - 0x3df], 0xa6
mov byte [ebp - 0x3de], 0x8f
mov byte [ebp - 0x3dd], 0x80
invalid
test dword [esp + edi*8], esp
invalid
cld
invalid

Function at 0x415454
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x5125b], al
inc dword [eax]
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
invalid
test eax, esi
cli
invalid
invalid

Function at 0x4154ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x41552b

Function at 0x415c1c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add ebx, esp
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004147a8
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x415c44
invalid
test dword [eax], eax
stc
invalid
Function at 0x41d1d0
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 - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], edx
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x44375c], 0
sete dl
or al, dl
jne 0x41d314
mov eax, dword [0x443760]
mov bx, 0xffff
call fcn.00402ee0
mov eax, dword [0x44375c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x41d2e3
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x44375c]
call fcn.0040d1d0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x41d2db
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x41d2db
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x41d2db
mov eax, dword [ebp - 0x10]
call fcn.00424f7c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x41d2db
push ebp
call fcn.0041d18c
pop ecx
test al, al
jne 0x41d2db
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x41d297
mov eax, dword [ebp - 0x10]
call fcn.004238c0
dec eax
jle 0x41d2db
mov byte [ebp - 0x15], 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x15]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bx, 0xffc2
call fcn.00402ee0
cmp byte [ebp - 0x15], 0
je 0x41d2db
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x41d2db
mov edx, dword [ebp - 0x10]
mov eax, dword [0x443760]
call fcn.0041ca3c
inc edi
dec esi
jne 0x41d22a
mov eax, dword [0x443760]
cmp dword [eax + 8], 0
jle 0x41d2fb
mov eax, dword [0x443760]
call fcn.0041cacc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x41d314
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0041d044
pop ecx
test al, al
jne 0x41d314
xor eax, eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422a4c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x422a7d
je 0x422ad7
sub eax, 7
je 0x422a9e
dec eax
je 0x422ac8
sub eax, 0x17
je 0x422b58
jmp 0x422b96
add eax, 0xffffff00
sub eax, 9
jb 0x422b44
add eax, 0xffffff09
sub eax, 0xb
jb 0x422b2e
jmp 0x422b96
mov eax, ebx
call fcn.00432ad8
mov edi, eax
test edi, edi
je 0x422bf6
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x422bff
jmp 0x422bf6
test byte [ebx + 0x44], 0x20
jne 0x422bff
jmp 0x422bf6
mov edx, esi
mov eax, ebx
call fcn.00420408
cmp dword [esi + 0xc], 0xffffffff
jne 0x422bff
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0040665c
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0041eec8
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004228fc
test eax, eax
je 0x422bff
mov dword [esi + 0xc], 1
jmp 0x422bff
mov edx, esi
mov eax, ebx
call fcn.004229c0
test al, al
jne 0x422bff
jmp 0x422bf6
mov eax, ebx
call fcn.0041fa80
test al, al
jne 0x422bff
jmp 0x422bf6
mov eax, ebx
call fcn.00424f7c
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x422bf6
cmp dword [0x442704], 0
je 0x422bf6
mov eax, dword [0x442704]
cmp ebx, dword [eax + 0x24]
jne 0x422bf6
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x442704]
call fcn.00420324
jmp 0x422bf6
mov eax, dword [0x443724]
cmp byte [eax + 0x20], 0
je 0x422bf6
mov eax, dword [0x443724]
cmp dword [eax + 0x1c], 0
je 0x422bf6
mov eax, dword [esi]
mov edx, dword [0x443724]
cmp eax, dword [edx + 0x1c]
jne 0x422bf6
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004329ec
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00402ee0
jmp 0x422bff
mov edx, esi
mov eax, ebx
call fcn.00420408
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423090
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x4230ac
cmp dword [esi + 4], 0
je 0x4230d9
test byte [ebx + 0x45], 1
jne 0x4230cb
mov eax, ebx
call fcn.00422170
test eax, eax
jne 0x4230cb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4231e9
mov edx, esi
mov eax, ebx
call fcn.00422d08
jmp 0x4231e9
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4231e2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00424f7c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00420324
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00423090
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00424f7c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4231e9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403910
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42c53d
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42c53d
cmp byte [ebp - 0x102], 0
je 0x42c53d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403b3c
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4327bc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4437d8
cmp dword [edi], 0
jne 0x432838
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4437d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x442890
mov ecx, 2
call fcn.004027c0
mov edx, 0x432794
lea eax, [esi + 5]
call fcn.004327b4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004327b4
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 0x43280d
mov dword [0x4437d4], 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 0x43295c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4329ac]
test si, 4
je 0x432970
or bl, 1
test si, 8
je 0x43297a
or bl, 4
test si, 1
je 0x432984
or bl, 8
test si, 2
je 0x43298e
or bl, 0x10
test si, 0x10
je 0x432998
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4329a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4329b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4329e8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4329c9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4329d8
or bl, 4
test esi, 0x20000000
je 0x4329e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret