joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1571045
Capabilities:
Authenticate hmac

Disassembly:
lea esp, [esp + 8]
jne 0x1571276
call 0x1573652
add byte [eax], al
dec ecx
jae 0x157109d
bound esi, qword gs:[ebp + 0x67]
jb 0x15710b1
jb 0x15710c8
jae 0x15710ca
outsb dx, byte [esi]
je 0x1571068
add byte [eax], al
inc edi
je 0x15710b1
outsd dx, dword [esi]
outsb dx, byte [esi]
jae 0x15710e1
insb byte es:[edi], dx
dec edi
jne 0x15710eb
jo 0x15710ee
je 0x15710be
push eax
add byte [eax], al
add byte [ecx + 0x73], cl
push esi
popal
insb byte es:[edi], dx
imul esp, dword [ebx + eax*2 + 0x6f], 0x61506564
add byte gs:[bx + si], bh
ror byte [edi], 0xba
in al, 2
cmp byte [edi], 0x23
jmp 0x15738d6
add byte [eax], al
dec esp
outsd dx, dword [esi]
arpl word [ebx + 0x52], bp
jae 0x1571116
jne 0x157111b
arpl word [ebp], sp
add byte [eax], al
push edx
popal
inc esi
imul ebp, dword [ebp], 0x531c5317
xor ecx, dword [ebx + 0x68eb1852]
xor ebx, edx
idiv eax
sbb bl, ch
push 0xf8f7d331
call 0xfb993601
inc edx
cli
push 0x217d3d1c
cmp dword [0x35593969], esi
xor eax, 0xf194959
inc eax
jl 0x1571136
dec eax
adc al, 0x4d
je 0x157112d
dec ebx
leave
sbb byte [edx + 0x4a1c9d8b], 0x42
or bl, byte [edx + 0x46]
pop edx
inc esi
sahf
push es
pop ds
mov dword [0x1c48c413], eax
dec esp
xor eax, 0x30174c18
cmp al, 0xc4
invalid
invalid
xchg ebp, eax
mov edx, 0xe08dc5ce
je 0x15710ed
jb 0x15710f0
xchg edi, eax
mov dh, 0x9e
mov eax, dword [0x9ff6eac2]
mov ah, 0xdc
xor al, 0xf1
invalid
sub al, 0x95
invalid
pushal
lea esp, [esp + 0x24]
jne 0x1572dd8
cwde
sub edx, edx
sar ah, 3
btr ax, bx
pushfd
mov eax, edx
shl al, cl
inc al
bt bx, 4
add edi, 1
push 0x94dc2f6b
sal al, 6
test ah, 1
rol al, 6
mov al, byte [edi]
bt si, sp
cmc
push ebp
jmp 0x1575c7b
jmp 0x15731d4
test al, al
mov byte [esp + 8], 0xb4
pushal
lea esp, [esp + 0x2c]
je 0x1572ead
test dl, bl
jmp 0x1577170
stc
test dl, 0xfe
sub al, 0x30
clc
cmp al, 9
call fcn.01572f83
Function at 0x1574311
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add ah, ch
bt edi, edi
shl ax, cl
mov dword [esp], ebp
aad 0xba
aad 0xa6
push esi
rcr eax, cl
push edi
das
push ebx
and ah, 0x65
sal eax, 0xa
push edx
btc ax, 0xa
movzx bp, dl
push edx
add ax, cx
ror eax, cl
lea ebp, [esp + 0x1c]
stc
mov eax, dword [ebp]
pushal
clc
test ah, dl
test eax, eax
pushfd
lea esp, [esp + 0x24]
je 0x1577089
clc
jmp 0x157516b
rol edx, cl
setle dh
mov esi, dword [eax + 0x3c]
mov dx, bp
movzx edx, dl
add esi, eax
neg dx
shl dl, cl
and dl, dl
mov edx, dword [esi + 0x78]
jmp 0x1573746

Function at 0x1576f30
Capabilities:
Encode data using xor

Disassembly:
inc edi
je 0x1576f4a
inc ebx
jne 0x1576f7b
jb 0x1576f70
outsb dx, byte [esi]
je 0x1576f5e
jb 0x1576f7f
arpl word [ebp + 0x73], sp
jae 0x1576f5e
add cl, ch
inc edi
call 0xfac06f1d
inc edx
cmp byte [esi - 0x18], cl
xchg esi, eax
sub eax, 0x39fc0000
movsd dword es:[edi], dword [esi]
aam 0x4a
add di, cx
mov edi, eax
bsr cx, ax
mov ecx, 0x104
pushfd
add esp, 8
jno 0x15770a6
clc
clc
xor al, al
call fcn.01575d33
int 1
push 0x403642f9
call fcn.015786fb
outsd dx, dword [esi]
push 0x81d5490d
loope 0x1576f06
invalid
dec ebp
loope 0x1576f03
jmp 0x58a142b0
bound esi, qword [edx - 0x36]
movq mm2, mm7
outsd dx, dword [esi]
xlatb
xchg dword [edi - 0x7d540f88], ebp
salc
clc
invalid

Function at 0x157735f
Capabilities:
Authenticate hmac

Disassembly:
lea esp, [esp + 4]
jne 0x1572dd8
sub ah, 0x86
sar ah, 2
cmc
sub edx, edx
test bh, 0xb0
rcr ah, cl
lahf
mov eax, edx
xor al, 0x7e
cmp ah, dl
adc al, 0x1c
ror al, 1
add edi, 1
cmc
pushfd
setnp al
neg al
mov al, byte [edi]
pushfd
test al, al
call fcn.01575778
inc ecx
dec ecx
inc ebp
add eax, 0xd61595d
popal
xor eax, 0x957e090d
jge 0x1575333
bound esp, qword [edx]
cmp eax, 0x6ea33c2c
jg 0x157535b
mov ebx, 0xf52cd083
sbb eax, 0x6538d83f
cmp dword [ebx - 0x6e4a5a7f], ecx
mov ebp, 0xb271640
push edi
dec eax
js 0x1575330
inc esp
sbb dword [edx - 0x66], eax
mov bl, 0xad
pop ebx
js 0x1575355
jmp ebp
fmul dword [edi]
retf
cdq
in eax, 0xd5
mov ebp, dword [edi + esi*4]
leave
xor byte ss:[eax], bh
ja 0x1575357
inc edi
sbb al, 0x2b
cmp byte [ebx], cl
adc al, 0x37
or al, 0x90
add byte [eax], al
jmp 0x157529a
Function at 0x100029f4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.10003f80
test esi, esi
jne 0x10002a2a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.10004070
jmp 0x10002a48
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.10002908
mov edi, eax
test esi, esi
je 0x10002a48
cmp dword [ebx], 0
je 0x10002a48
dec esi
jmp 0x10002a31
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x100030b8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x10057020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x10003150
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10003130
xor eax, eax
push ebp
push 0x10003129
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x1000316c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10003130
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x10057020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x10057020], ax
mov esp, ebp
pop ebp
ret

Function at 0x10003e04
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x1005904c], 0
je 0x10003e65
cmp word [0x10059220], 0xd7b2
jne 0x10003e2d
cmp dword [0x10059228], 0
jbe 0x10003e2d
mov eax, 0x1005921c
call dword [0x10059238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x1005706c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x10003e8c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x10057030], 0
jne 0x10003e81
push 0
push 0x10057064
push 0x1005706c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x10005464
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 0xf0019
push 0
push 0x10005694
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x100054e7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x10005694
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x100054e7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x100056b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x10005570
xor eax, eax
push ebp
push 0x10005569
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.100052ac
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 0x1000554e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x100056d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x1000554e
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10005570
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
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 0x1000568a
cmp byte [ebp - 0xd], 0
jne 0x100055b7
cmp byte [ebp - 0x12], 0
je 0x1000568a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x100055d0
dec ebx
cmp byte [ebx], 0x2e
je 0x100055df
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x100055cf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x1000568a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x1000561c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x1000568a
cmp byte [ebp - 0xd], 0
je 0x1000568a
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x1000568a
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
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 0x10005d5c
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 0x10005dc2
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.100041f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.10002c7c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x10005dac
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10005dc9
lea eax, [ebp - 0x10]
call fcn.10003f80
ret

Function at 0x1000ad88
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 0x1000adc1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.10004070
jmp 0x1000adca
mov eax, ebx
mov edx, esi
call fcn.10003fd4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x1000b47c
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x1000b2f4
mov eax, dword [0x10058cd4]
cmp byte [eax], 0
je 0x1000b4f8
mov eax, dword [0x10058a3c]
call fcn.10002ae8
call fcn.10002834
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.100085c8
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 0x1000b540
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x1000b52e
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x100589d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x10059668]
call fcn.10005270
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 0x1000bddc
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 0x1000beb2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.10004018
lea eax, [ebp - 8]
call fcn.10004490
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.10004440
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x1000be9c
mov eax, ebx
call fcn.100026cc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x1000be95
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.10004440
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x1000be7f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x1000bec4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x1000be7f
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 0x1000be9c
mov eax, dword [ebp - 0x10]
call fcn.100026ec
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000beb9
lea eax, [ebp - 8]
call fcn.10003f80
ret

Function at 0x1000c3a4
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 0x1000c408
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.100041f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.10008138
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1000c40f
lea eax, [ebp - 0xc]
call fcn.10003f80
ret

Function at 0x1001d614
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x10059888
cmp dword [edi], 0
jne 0x1001d690
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x10059884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x100573fc
mov ecx, 2
call fcn.100028c8
mov edx, 0x1001d5ec
lea eax, [esi + 5]
call fcn.1001d60c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.1001d60c
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 0x1001d665
mov dword [0x10059884], 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 0x1001e8a4
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 0x1001e8aa
ret

Function at 0x10020cec
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 0x10020d3d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x10020d24
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x10020d14
jmp 0x10020d3d
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 0x10020d25
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002a2c8
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 0x1002a214
call sub.user32.dll_EnumWindows
ret

Function at 0x1002a3e8
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 0x1002a465
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.10029e48
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 0x1002a40d
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.10029a48
cmp dword [ebp - 4], 0
je 0x1002a44f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.10004440
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 0x1002a46c
lea eax, [ebp - 4]
call fcn.10003f80
ret
Function at 0x1002d108
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 [0x10059b58], 0
je 0x1002d257
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x10058c54]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x1002d257
mov eax, dword [0x10059b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x10059b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x1002d226
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x10059b58]
call fcn.10016be4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x1002d21e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x1002d21e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x1002d21e
mov eax, dword [ebp - 0x14]
call fcn.10035c6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x1002d21e
push ebp
call fcn.1002d0c4
pop ecx
test al, al
jne 0x1002d21e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x1002d1da
mov eax, dword [ebp - 0x14]
call fcn.1003479c
dec eax
jle 0x1002d21e
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.10003444
cmp byte [ebp - 1], 0
je 0x1002d21e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x1002d21e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x10059b5c]
call fcn.1002c890
inc edi
dec ebx
jne 0x1002d16d
mov eax, dword [0x10059b5c]
cmp dword [eax + 8], 0
jle 0x1002d23e
mov eax, dword [0x10059b5c]
call fcn.1002c920
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1002d257
push ebp
mov eax, dword [ebp - 0x18]
call fcn.1002cf2c
pop ecx
test al, al
jne 0x1002d257
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 0x100307f0
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 0x1003083c
mov eax, esi
call fcn.10045c0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x1003083c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x1003083c
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 0x1003097b
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x1003087c
cmp eax, 0x108
ja 0x1003087c
mov eax, esi
call fcn.10045c0c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x10030972
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x1003097b
jmp 0x10030972
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x1003095b
cmp eax, 0x20a
ja 0x1003095b
test byte [esi + 0x50], 0x80
jne 0x100308ae
sub eax, 0x203
je 0x100308ab
sub eax, 3
je 0x100308ab
sub eax, 3
jne 0x100308ae
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x100308c2
dec eax
je 0x100308d7
dec eax
je 0x100308f4
dec eax
je 0x100308d7
jmp 0x100308fb
mov ecx, ebx
mov eax, dword [0x10058c54]
mov eax, dword [eax]
mov edx, esi
call fcn.1004f3c8
jmp 0x10030972
cmp byte [esi + 0x5d], 1
jne 0x100308ed
mov eax, esi
mov si, 0xffed
call fcn.10003444
jmp 0x1003097b
or word [esi + 0x54], 1
jmp 0x10030972
and word [esi + 0x54], 0xfffe
jmp 0x10030972
mov eax, dword [0x10059b14]
cmp byte [eax + 0x20], 0
je 0x10030972
mov eax, dword [0x10059b14]
cmp dword [eax + 0x1c], 0
je 0x10030972
mov eax, dword [ebx]
mov edx, dword [0x10059b14]
cmp eax, dword [edx + 0x1c]
jne 0x10030972
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.10045b50
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.10003444
jmp 0x1003097b
cmp eax, 0xb00b
jne 0x10030972
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.1002f158
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 0x10033dfc
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 + 0x1f8], 0
je 0x10033e18
cmp dword [esi + 4], 0
je 0x10033e45
test byte [ebx + 0x55], 1
jne 0x10033e37
mov eax, ebx
call fcn.10032a08
test eax, eax
jne 0x10033e37
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x10033f55
mov edx, esi
mov eax, ebx
call fcn.10033920
jmp 0x10033f55
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 0x10033f4e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.10035c6c
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.10030724
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.10033dfc
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.10035c6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10033f55
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