joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430250
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], 0
jne 0x430276
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x1c]
call fcn.0042c880
xor al, al
jmp 0x430372
mov ecx, dword [ebp - 0x1c]
call fcn.0042f800
mov ecx, dword [ebp - 0x1c]
add ecx, 4
call fcn.00408a50
mov dword [ebp - 4], 0
push 2
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCR80.dll_ftell]
add esp, 4
mov dword [ebp - 4], eax
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.MSVCR80.dll_fseek]
add esp, 0xc
cmp dword [ebp - 4], 0
jne 0x4302df
push 0
push 0
push 0
push 0xd
mov ecx, dword [ebp - 0x1c]
call fcn.0042c880
xor al, al
jmp 0x430372
mov eax, dword [ebp - 4]
add eax, 1
push eax
call sub.MSVCR80.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
mov byte [edx], 0
mov eax, dword [ebp + 8]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x10
cmp eax, 1
je 0x43033f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
push 0
push 0
push 0
push 2
mov ecx, dword [ebp - 0x1c]
call fcn.0042c880
xor al, al
jmp 0x430372
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00430090
mov byte [ebp - 5], al
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [ebp - 0xc], 0
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret 8

Function at 0x433380
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4348d5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x441040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
call fcn.00403ec0
mov ecx, eax
call fcn.004039f0
test eax, eax
je 0x4333f6
lea eax, [ebp - 0x10]
push eax
call fcn.00403f90
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
call fcn.00408910
push eax
push 9
mov ecx, dword [ebp - 0x1c]
call fcn.004047a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00408960
mov ecx, dword [ebp - 0x14]
call fcn.00408910
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x433d30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
call fcn.00401440
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00401440
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00401460
test eax, eax
jne 0x433d71
push str.http:__tl.ws.ijinshan.com_upload
mov ecx, dword [ebp - 4]
add ecx, 4
call fcn.00401440
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x10], eax
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0x433d00
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
je 0x433db3
xor eax, eax
jmp 0x433db8
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1039f00c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1039f016
pushal
call 0x1039f01c
pop ebp
sub ebp, 0x10
sub ebp, 0x39f00c
mov al, byte [esp + 0x28]
cmp al, 1
je 0x1039f040
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x1039f049
mov eax, 0x39f00c
add eax, ebp
add eax, 0x63
mov ecx, 0x60d
mov edx, 0x4c31403c
xor byte [eax], dl
inc eax
dec ecx
jne 0x1039f060
jmp 0x1039f073
mov bh, 0xf1
mov bh, 0xb5
add byte [esp + edi], bh
cmp al, 0xbd
std
les edi, [esp + edi]
cmp al, 0x3f
int1
test byte [edi], bh
cmp al, 0x3c
cmp al, 0x86
adc al, 0x3c
cmp al, 0x3c
retf
Function at 0x1068a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1068a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1068a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1068a06a
add dl, dl
jne 0x1068a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1068a0dc
xor eax, eax
add dl, dl
jne 0x1068a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1068a17d
add dl, dl
jne 0x1068a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1068a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1068a075
mov eax, 1
add dl, dl
jne 0x1068a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1068a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1068a0e1
sub eax, ebx
mov ebx, 1
jne 0x1068a128
mov ecx, 1
add dl, dl
jne 0x1068a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1068a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1068a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1068a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1068a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1068a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1068a136
cmp eax, 0x7d00
jae 0x1068a16d
cmp eax, 0x500
jb 0x1068a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1068a075
cmp eax, 0x7f
ja 0x1068a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1068a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1068a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1068a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1005958c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jb 0x10057c94
push 0x6f9ccd01
cmp byte [edi - 1], 0
mov word [esp], bp
push ebx
lea esp, [esp + 8]
jne 0x1005f4ab
sub edi, 0xdf238a52
shl di, 0xa
shl di, cl
adc edi, 0x3e1837dc
mov edi, dword [edx + 0x24]
pushal
push dword [esp + 4]
add edi, eax
cmp cl, 0x30
movzx ecx, word [edi + ecx*2]
or edi, eax
shld di, dx, 9
ror edi, 2
mov edi, dword [edx + 0x1c]
cmp dh, 0xc7
mov byte [esp + 4], bl
cmc
pushfd
add edi, eax
call fcn.100483ac
cmc
bt ax, bp
stc
clc
rol al, 5
pushal
test sp, cx
cmp al, byte [edi]
lahf
lea edi, [edi + 1]
lea eax, [esi - 0x5d0d74f0]
mov eax, dword [esp + 0x20]
jmp 0x1005eefd
mov byte [esp], 0x5c
jmp 0x10049156
mov dword [esp + 0x28], eax
jmp 0x10033ad4
add edi, eax
not si
lea esi, [ebx*2 - 0x6a760239]
movsx esi, bl
not si
mov esi, dword [ebp + 0xc]
push 0x49f998e
mov byte [esp], 0x6d
pushfd
jmp 0x10046fe6
lodsb al, byte [esi]
test ch, dh
stc
cmp cl, 0xe6
cmp ch, 0x6c
xor al, 0xf5
stc
mov dword [esp + 8], edi
bt si, 8
ror al, 2
pushfd
mov byte [esp + 4], 0xa6
cmc
xor al, 0x13
lea esp, [esp + 0x2c]
jae 0x100320fb
clc
rol al, 5
clc
stc
cmp al, byte [edi]
setae al
lea edi, [edi + 1]
lahf
lahf
pop eax
call fcn.10047760
invalid
add ebx, eax
movzx ecx, dl
shld ecx, ebp, 0xd
mov dword [ebp - 8], 0
rcr cx, 0xa
bswap ecx
neg cl
sbb cx, bp
mov ecx, dword [edx + 0x18]
stc
bt bx, sp
pushal
cmp ecx, dword [ebp - 8]
lea esp, [esp + 0x44]
jne 0x1005de88
pushfd
mov byte [esp], bl
push 0xceffef16
lea esp, [esp + 8]
jbe fcn.1003465f
pushfd
bts si, si
pushal
sub ecx, 1
movsx di, bl
ror di, cl
add di, bp
bt edx, 0x13
mov dword [ebp - 4], ecx
xor di, cx
shrd di, si, 8
bsf si, di
mov ecx, dword [ebp - 8]
bswap si
mov si, ax
add ecx, dword [ebp - 4]
rcr si, 9
sbb di, 0xed88
shr ecx, 1
sbb edi, ebp
mov edi, dword [ebx + ecx*4]
jmp 0x10048fdd
adc ebx, esp
add edi, eax
shr ecx, cl
mov ebx, dword [edx + 0x20]
jmp 0x10058848
lea esp, [esp + 0x24]
ja 0x10057a15
jmp 0x100311e0
Function at 0x8b9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.008b91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x8b907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b906a
add dl, dl
jne 0x8b9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b90dc
xor eax, eax
add dl, dl
jne 0x8b9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x8b917d
add dl, dl
jne 0x8b90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x8b90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x8b9075
mov eax, 1
add dl, dl
jne 0x8b90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x8b90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b90e1
sub eax, ebx
mov ebx, 1
jne 0x8b9128
mov ecx, 1
add dl, dl
jne 0x8b910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8b9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x8b913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x8b914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x8b9136
cmp eax, 0x7d00
jae 0x8b916d
cmp eax, 0x500
jb 0x8b9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b9075
cmp eax, 0x7f
ja 0x8b9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x8b9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x8b919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x8b9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x402ae8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402b80
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402b60
xor eax, eax
push ebp
push 0x402b59
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 0x402b9c
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 0x402b60
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x404ebc
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 0x405078
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x404f1d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x405094
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404f8f
xor eax, eax
push ebp
push 0x404f88
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]
call fcn.00404d14
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404f71
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4050b4
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 0x404f8f
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 0x405070
cmp byte [ebp - 0xd], 0
jne 0x404fd1
cmp byte [ebp - 0x12], 0
je 0x405070
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404fea
dec ebx
cmp byte [ebx], 0x2e
je 0x404ff9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404fe9
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405070
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405026
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 0x405070
cmp byte [ebp - 0xd], 0
je 0x405070
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 0x405070
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 0x407e10
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00403d3c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x407e32
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x408804
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 0x40883d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004039e0
jmp 0x408846
mov eax, ebx
mov edx, esi
call fcn.0040394c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x413d60
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 0x413d66
ret

Function at 0x416150
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 0x4161a1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x416188
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x416178
jmp 0x4161a1
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 0x416189
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x421850
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 - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x44c778], 0
sete dl
or al, dl
jne 0x421990
mov eax, dword [0x44c77c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x44c778]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x42195f
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x44c778]
call fcn.0040d524
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x421957
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x421957
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x421957
mov eax, dword [ebp - 0x14]
call fcn.00429b58
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x421957
push ebp
call fcn.0042180c
pop ecx
test al, al
jne 0x421957
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x421913
mov eax, dword [ebp - 0x14]
call fcn.004284e4
dec eax
jle 0x421957
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00402e4c
cmp byte [ebp - 1], 0
je 0x421957
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x421957
mov edx, dword [ebp - 0x14]
mov eax, dword [0x44c77c]
call fcn.00421058
inc edi
dec esi
jne 0x4218a6
mov eax, dword [0x44c77c]
cmp dword [eax + 8], 0
jle 0x421977
mov eax, dword [0x44c77c]
call fcn.004210e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x421990
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00421674
pop ecx
test al, al
jne 0x421990
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 0x4274f0
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 0x427521
je 0x42757b
sub eax, 7
je 0x427542
dec eax
je 0x42756c
sub eax, 0x17
je 0x427620
jmp 0x42765e
add eax, 0xffffff00
sub eax, 9
jb 0x42760c
add eax, 0xffffff09
sub eax, 0xb
jb 0x4275d4
jmp 0x42765e
mov eax, ebx
call fcn.0043941c
mov edi, eax
test edi, edi
je 0x4276be
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x4276c7
jmp 0x4276be
test byte [ebx + 0x44], 0x20
jne 0x4276c7
jmp 0x4276be
mov edx, esi
mov eax, ebx
call fcn.00424af0
cmp dword [esi + 0xc], 0xffffffff
jne 0x4276c7
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406980
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042362c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004273c8
test eax, eax
je 0x4276c7
mov dword [esi + 0xc], 1
jmp 0x4276c7
mov edx, esi
mov eax, ebx
call fcn.0042745c
test al, al
je 0x4276be
cmp dword [esi + 0xc], 0
jne 0x4276c7
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00429b58
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x4276c7
mov eax, ebx
call fcn.0042418c
test al, al
jne 0x4276c7
jmp 0x4276be
mov eax, ebx
call fcn.00429b58
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4276be
cmp dword [0x44b6dc], 0
je 0x4276be
mov eax, dword [0x44b6dc]
cmp ebx, dword [eax + 0x24]
jne 0x4276be
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x44b6dc]
call fcn.00424a24
jmp 0x4276be
mov eax, dword [0x44c740]
cmp byte [eax + 0x20], 0
je 0x4276be
mov eax, dword [0x44c740]
cmp dword [eax + 0x1c], 0
je 0x4276be
mov eax, dword [esi]
mov edx, dword [0x44c740]
cmp eax, dword [edx + 0x1c]
jne 0x4276be
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.00439360
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, 0xffb7
call fcn.00402e4c
jmp 0x4276c7
mov edx, esi
mov eax, ebx
call fcn.00424af0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427b88
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 0x427ba4
cmp dword [esi + 4], 0
je 0x427bd1
test byte [ebx + 0x45], 1
jne 0x427bc3
mov eax, ebx
call fcn.00426ac0
test eax, eax
jne 0x427bc3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x427ce1
mov edx, esi
mov eax, ebx
call fcn.00427800
jmp 0x427ce1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x427cda
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429b58
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.00424a24
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00427b88
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.00429b58
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427ce1
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 0x431740
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.004038f8
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43178f
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403b28
pop ebx
mov esp, ebp
pop ebp
ret