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

Disassembly:
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]
xor ecx, ecx
cmp al, 0xa
je 0x4040df
cmp al, 0xb
je 0x4040df
cmp al, 0xc
je 0x4040e9
cmp al, 0xd
je 0x4040fc
cmp al, 0xe
je 0x40411a
cmp al, 0xf
je 0x4040df
cmp al, 0x11
je 0x4040df
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4040df
jmp 0x40412e
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4040e9
jmp 0x40412e
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 0x4040a0
dec edi
jg 0x4040ff
pop ebp
jmp 0x40412e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404074
dec edi
jg 0x40411d
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4040a0

Function at 0x404134
Capabilities:
Terminate process

Disassembly:
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]
xor ecx, ecx
cmp al, 0xa
je 0x4040df
cmp al, 0xb
je 0x4040df
cmp al, 0xc
je 0x4040e9
cmp al, 0xd
je 0x4040fc
cmp al, 0xe
je 0x40411a
cmp al, 0xf
je 0x4040df
cmp al, 0x11
je 0x4040df
mov al, 2
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov dword [ebx], ecx
add ebx, 4
dec edi
jg 0x4040df
jmp 0x40412e
mov dword [ebx], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], ecx
add ebx, 0x10
dec edi
jg 0x4040e9
jmp 0x40412e
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 0x4040a0
dec edi
jg 0x4040ff
pop ebp
jmp 0x40412e
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404074
dec edi
jg 0x40411d
pop ebp
pop edi
pop esi
pop ebx
ret
mov ecx, 1
jmp 0x4040a0
Function at 0x40416c
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 0x4041b3
cmp al, 0xb
je 0x4041cd
cmp al, 0xc
je 0x4041e4
cmp al, 0xd
je 0x4041f3
cmp al, 0xe
je 0x404211
cmp al, 0xf
je 0x404227
cmp al, 0x11
je 0x404236
pop edi
pop esi
pop ebx
pop eax
mov al, 2
jmp fcn.00402734
cmp ecx, 1
mov eax, ebx
jg 0x4041c4
call fcn.00403928
jmp 0x404245
mov edx, ecx
call fcn.0040394c
jmp 0x404245
cmp ecx, 1
mov eax, ebx
jg 0x4041db
call fcn.00403ef4
jmp 0x404245
mov edx, ecx
call fcn.00403f0c
jmp 0x404245
mov eax, ebx
add ebx, 0x10
call fcn.004049c8
dec edi
jg 0x4041e4
jmp 0x404245
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.0040416c
dec edi
jg 0x4041f6
pop ebp
jmp 0x404245
push ebp
mov ebp, edx
mov eax, ebx
add ebx, dword [esi + ebp + 2]
mov edx, esi
call fcn.00404140
dec edi
jg 0x404214
pop ebp
jmp 0x404245
mov eax, ebx
add ebx, 4
call fcn.00405020
dec edi
jg 0x404227
jmp 0x404245
mov eax, ebx
mov edx, esi
add ebx, 4
call fcn.00404bbc
dec edi
jg 0x404236
pop edi
pop esi
pop ebx
pop eax
ret

Function at 0x40424c
Capabilities:
Terminate process

Disassembly:
mov ecx, 1
jmp fcn.0040416c

Function at 0x404258
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 0x404284
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 0x4042c3
cmp cl, 0xb
je 0x4042d4
cmp cl, 0xc
je 0x4042e5
cmp cl, 0xd
je 0x4042f6
cmp cl, 0xe
je 0x404316
cmp cl, 0xf
je 0x40432f
cmp cl, 0x11
je 0x404340
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov edx, dword [esi + eax]
add eax, ebx
call fcn.0040397c
mov eax, 4
jmp 0x404351
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00403f30
mov eax, 4
jmp 0x404351
lea edx, [esi + eax]
add eax, ebx
call fcn.00404614
mov eax, 0x10
jmp 0x404351
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.00404374
pop eax
jmp 0x404351
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.00404258
pop eax
jmp 0x404351
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00405038
mov eax, 4
jmp 0x404351
mov ecx, edx
mov edx, dword [esi + eax]
add eax, ebx
call fcn.00404bf8
mov eax, 4
add eax, dword [edi + 4]
add edi, 8
dec ebp
jne 0x404272
pop ecx
sub ecx, eax
jle 0x40436d
lea edx, [ebx + eax]
add eax, esi
call fcn.004027c0
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x404374
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 0x4043ba
cmp cl, 0xb
je 0x4043d1
cmp cl, 0xc
je 0x4043e5
cmp cl, 0xd
je 0x4043f9
cmp cl, 0xe
je 0x40441a
cmp cl, 0xf
je 0x404437
cmp cl, 0x11
je 0x40444b
mov al, 2
pop ebp
pop edi
pop esi
pop ebx
jmp fcn.00402734
mov eax, ebx
mov edx, dword [esi]
call fcn.0040397c
add ebx, 4
add esi, 4
dec ebp
jne 0x4043ba
jmp 0x40445f
mov eax, ebx
mov edx, dword [esi]
call fcn.00403f30
add ebx, 4
add esi, 4
dec ebp
jne 0x4043d1
jmp 0x40445f
mov eax, ebx
mov edx, esi
call fcn.00404614
add ebx, 0x10
add esi, 0x10
dec ebp
jne 0x4043e5
jmp 0x40445f
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.00404374
add ebx, dword [edi]
add esi, dword [edi]
dec ebp
jne 0x404402
jmp 0x40445f
mov eax, ebx
mov edx, esi
mov ecx, edi
call fcn.00404258
xor eax, eax
mov al, byte [edi + 1]
add ebx, dword [edi + eax + 2]
add esi, dword [edi + eax + 2]
dec ebp
jne 0x40441a
jmp 0x40445f
mov eax, ebx
mov edx, dword [esi]
call fcn.00405038
add ebx, 4
add esi, 4
dec ebp
jne 0x404437
jmp 0x40445f
mov eax, ebx
mov edx, dword [esi]
mov ecx, edi
call fcn.00404bf8
add ebx, 4
add esi, 4
dec ebp
jne 0x40444b
pop ebp
pop edi
pop esi
pop ebx
ret 4

Function at 0x404614
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402734
cmp eax, edx
je 0x4046ab
cmp word [eax], 8
jb 0x40464c
push eax
push edx
cmp word [eax], 0x100
je 0x404642
cmp word [eax], 0x101
je 0x40463a
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x40464a
call dword [0x4483e4]
jmp 0x40464a
add eax, 8
call fcn.00403928
pop edx
pop eax
cmp word [edx], 8
jae 0x404663
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 0x40467e
cmp word [edx], 0x101
jne 0x404697
push eax
call 0x404652
pop eax
jmp dword [0x4483ec]
mov edx, dword [edx + 8]
or edx, edx
je 0x40468e
mov ecx, dword [edx - 8]
inc ecx
jle 0x40468e
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 0x4045c8
ret
Function at 0x404c74
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 0x404e2c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404cd5
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404e48
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404d42
xor eax, eax
push ebp
push 0x404d3b
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 0x404d24
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404e68
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 0x404d42
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 0x404e23
cmp byte [ebp - 0xd], 0
jne 0x404d84
cmp byte [ebp - 0x12], 0
je 0x404e23
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404d9d
dec ebx
cmp byte [ebx], 0x2e
je 0x404dac
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404d9c
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404e23
inc ebx
cmp byte [ebp - 0x12], 0
je 0x404dd9
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 0x404e23
cmp byte [ebp - 0xd], 0
je 0x404e23
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 0x404e23
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 0x4084cc
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 0x408505
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403a0c
jmp 0x40850e
mov eax, ebx
mov edx, esi
call fcn.004039c0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408518
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 0x408539
mov al, byte [esp]
jmp 0x40853b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411e58
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 0x411e6d
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x413db0
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 0x413db6
ret

Function at 0x416264
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 0x4162b5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41629c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41628c
jmp 0x4162b5
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 0x41629d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41b484
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0041b0c9
push eax
push esi
push dword [ebp + 8]
call fcn.0041b07e
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
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.0041b0c9
push eax
push esi
push dword [ebp + 8]
call fcn.0041b07e
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0041b0b9
jg 0x41b574
scasb al, byte es:[edi]
in eax, dx
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
test dword [edx - 0x3a], esi
inc ebp
xchg byte [ebx - 0x3a], ah
inc ebp
xchg dword [edx - 0x3a], edi
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
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.0041b0b9
jg 0x41b56a
fdiv dword [ecx*4 - 0x837b]
call dword [eax - 0x18]
sbb al, 0xfb
invalid

Function at 0x41b708
Capabilities:
Inspect section memory permissions

Disassembly:
jp 0x41b75f
mov eax, dword [edi + 0xa0]
or byte [edx], al

Function at 0x41bf3c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and al, 0xc8
call fcn.0041b0b9
mov esp, 0xa580a572
mov esp, 0xfffffa
push 0
call dword [ebp - 0x340]
mov dword [ebp + 8], eax
push 0x104
lea eax, [ebp - 0x334]
push eax
push 0
call dword [ebp - 0x538]
call fcn.0041b0b9
aas
jge 0x41bfde
mov al, byte [0xfdd0a580]
invalid
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
invalid
Function at 0x420640
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 [0x44875c], 0
sete dl
or al, dl
jne 0x420784
mov eax, dword [0x448760]
mov bx, 0xffff
call fcn.00402ee0
mov eax, dword [0x44875c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x420753
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x44875c]
call fcn.0040d1b4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x42074b
mov eax, dword [ebp - 0x10]
cmp byte [eax + 0x16c], 0
je 0x42074b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42074b
mov eax, dword [ebp - 0x10]
call fcn.004284bc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42074b
push ebp
call fcn.004205fc
pop ecx
test al, al
jne 0x42074b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x8c]
cmp eax, dword [ebp - 0x10]
jne 0x420707
mov eax, dword [ebp - 0x10]
call fcn.00426e00
dec eax
jle 0x42074b
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 0x42074b
push dword [ebp - 4]
push dword [ebp - 8]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42074b
mov edx, dword [ebp - 0x10]
mov eax, dword [0x448760]
call fcn.0041feac
inc edi
dec esi
jne 0x42069a
mov eax, dword [0x448760]
cmp dword [eax + 8], 0
jle 0x42076b
mov eax, dword [0x448760]
call fcn.0041ff3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420784
push ebp
mov eax, dword [ebp - 0x14]
call fcn.004204b4
pop ecx
test al, al
jne 0x420784
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 0x425f8c
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 0x425fbd
je 0x426017
sub eax, 7
je 0x425fde
dec eax
je 0x426008
sub eax, 0x17
je 0x426098
jmp 0x4260d6
add eax, 0xffffff00
sub eax, 9
jb 0x426084
add eax, 0xffffff09
sub eax, 0xb
jb 0x42606e
jmp 0x4260d6
mov eax, ebx
call fcn.0043617c
mov edi, eax
test edi, edi
je 0x426136
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x42613f
jmp 0x426136
test byte [ebx + 0x44], 0x20
jne 0x42613f
jmp 0x426136
mov edx, esi
mov eax, ebx
call fcn.00423878
cmp dword [esi + 0xc], 0xffffffff
jne 0x42613f
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.004066f8
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00422338
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00425e3c
test eax, eax
je 0x42613f
mov dword [esi + 0xc], 1
jmp 0x42613f
mov edx, esi
mov eax, ebx
call fcn.00425f00
test al, al
jne 0x42613f
jmp 0x426136
mov eax, ebx
call fcn.00422ef0
test al, al
jne 0x42613f
jmp 0x426136
mov eax, ebx
call fcn.004284bc
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x426136
cmp dword [0x4476ec], 0
je 0x426136
mov eax, dword [0x4476ec]
cmp ebx, dword [eax + 0x24]
jne 0x426136
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4476ec]
call fcn.00423794
jmp 0x426136
mov eax, dword [0x448724]
cmp byte [eax + 0x20], 0
je 0x426136
mov eax, dword [0x448724]
cmp dword [eax + 0x1c], 0
je 0x426136
mov eax, dword [esi]
mov edx, dword [0x448724]
cmp eax, dword [edx + 0x1c]
jne 0x426136
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.00436090
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 0x42613f
mov edx, esi
mov eax, ebx
call fcn.00423878
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4265d0
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 0x4265ec
cmp dword [esi + 4], 0
je 0x426619
test byte [ebx + 0x45], 1
jne 0x42660b
mov eax, ebx
call fcn.00425640
test eax, eax
jne 0x42660b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x426729
mov edx, esi
mov eax, ebx
call fcn.00426248
jmp 0x426729
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 0x426722
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004284bc
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.00423794
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004265d0
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.004284bc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x426729
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 0x42fb64
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.00403928
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42fbc5
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x42fbc5
cmp byte [ebp - 0x102], 0
je 0x42fbc5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403b54
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435e60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4487d8
cmp dword [edi], 0
jne 0x435edc
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4487d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x447878
mov ecx, 2
call fcn.004027c0
mov edx, 0x435e38
lea eax, [esi + 5]
call fcn.00435e58
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00435e58
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 0x435eb1
mov dword [0x4487d4], 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 0x436000
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436050]
test si, 4
je 0x436014
or bl, 1
test si, 8
je 0x43601e
or bl, 4
test si, 1
je 0x436028
or bl, 8
test si, 2
je 0x436032
or bl, 0x10
test si, 0x10
je 0x43603c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43604b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x436054
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x43608c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43606d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x43607c
or bl, 4
test esi, 0x20000000
je 0x436087
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret