joyce8/EMBER2024-capa huggingface dataset:
Function at 0x69188f
Capabilities:
Execute anti-debugging instructions

Disassembly:
stc
std
clc
pushal
mov dl, 0x87
not al
jmp 0x6918a9
call 0x69188f
push ebx
popal
outsb dx, byte gs:[esi]
imul ebp, dword [bp + 0x65], 0x69685320
insb byte es:[edi], dx
outsb dx, byte gs:[esi]
and byte [esi + 0x32], dh
xor ebp, dword cs:[esi]
xor ch, byte [esi]
xor byte [eax], al
pushfd
cld
jmp 0x691858
neg ebx
neg bx
rcr ecx, cl
add si, 0x183c
xchg bx, si
jmp 0x691936
rdtsc
mov esi, ebp
xchg bp, ax
sete ch
cpuid
sbb esi, ecx
jmp 0x691893
lea eax, [eax + edi]
lea edi, [ebp + ebp]
push bx
mov ebp, 0x3c82fed9
or ebp, esp
jmp 0x6918df
xchg al, dh
add esp, 0x14
not si
mov dl, ch
xchg bx, ax
bsf esi, esi
jmp 0x6918b8
not al
mov bh, ch
ror al, 7
btc bp, dx
mov dh, 0x6d
btc ebx, edx
jmp 0x69190d
not edx
lea edx, [eax*4]
sub esp, 0x17
mov cx, word [esp + 3]
mov ebp, edx
xchg cx, dx
jmp 0x6918ce
mov esi, edi
pushal
mov ebp, 0x2f45113
lea ebx, [ecx*4]
mov byte [esp + 0x13], bl
setns bl
jmp 0x691963
shl ebp, 8
btc edx, edi
lea esi, [edi*4]
setle bl
setle dl
mov dl, 0x59
jmp 0x6918f5
mov ebx, 0xe172577a
bswap edx
pop dword [esp + 5]
jmp 0x691a2d
bswap esi
lea ecx, [edx*4]
sub esp, 0xe
lea edx, [ebx - 0x57]
jmp 0x69194d
pop bx
mov cl, dl
mov edx, 0xcebbb7ff
mov dx, word [esp + 0x29]
jmp 0x6919c3
mov word [esp + 0xe], bx
bswap esi
mov dl, ah
mov dword [esp + 0x24], ebx
lea eax, [eax + esi]
inc ebp
jmp 0x691984
mov ebp, edi
btr di, di
rdtsc
neg bp
pushfd
xchg word [esp], si
jmp 0x6919eb
lea edx, [esi + edi]
xchg esi, ecx
sub esp, 0x18
lea esp, [esp + 0x49]
rdtsc
add ebp, esi
jmp 0x6919ad
mov ebp, 0x297f3705
cld
mov si, word [esp]
or bh, 0x77
cpuid
jmp 0x691a10
cpuid
pop eax
mov edi, esi
mov bl, byte [esp]
mov dh, byte [esp]
rdtsc
jmp 0x6919d5
setge ah
mov ebp, 0x8b3a0f99
bsr si, cx
ror ah, 7
jmp 0x691ab9
mov bp, word [esp]
mov ebp, 0x21e54a6f
adc si, 0x5193
rcl ebx, 0x1a
xchg bh, al
rcr edi, cl
jmp 0x6919fa
lea edx, [0xe52a4b10]
mov esi, ebp
xchg si, dx
mov byte [esp + 0x22], dl
mov byte [esp + 0x11], dh
pushfd
jmp 0x69199a
mov al, 0xbf
mov eax, edi
xchg si, dx
cpuid
bsf eax, ebx
call fcn.00691a9f
mov byte [ebx], ch
inc edx
std
int3
mov al, 0x34
cld
rdtsc
not ecx
mov dl, 0xe6
sub esp, 0
jmp 0x691a46
bswap ecx
xchg dl, ch
bswap eax
btc ebx, ebp
mov ch, 0xcf
mov ebp, esp
jmp 0x691a5c
mov ax, 0x6f0
not si
stc
mov si, word [esp]
bsf ebx, esi
mov bx, 0xfdcf
jmp 0x691a7a
Function at 0x691a9f
Capabilities:
Execute anti-debugging instructions

Disassembly:
bsf eax, edi
ror eax, 1
mov dh, bl
std
xchg cx, ax
sete dl
jmp 0x691aa3
mov ah, al
jmp 0x691a89
pushfd
lea eax, [edi + 0x21]
pop edi
add esp, 2
lea ebp, [ecx + 0xdb38]
jmp 0x691b12
pop si
bsr eax, edi
add esp, 2
mov byte [esp + 1], bh
push si
rdtsc
jmp 0x691af7
bswap ecx
bts ecx, esi
sub esp, 0xf
mov dx, di
lea eax, [edi + ebp]
mov ax, cx
jmp 0x691ace
xchg di, bp
lea esp, [esp + 5]
rdtsc
shl esi, 6
mov dl, 0x4b
sub esp, 0x14
jmp 0x691b3d
lea ecx, [0x1dfca0fd]
mov byte [esp], al
pop ax
mov edi, ebp
mov ebx, 0x77233973
std
jmp 0x691ae4
mov dword [esp + 0xb], eax
xchg byte [esp + 0xa], al
rdtsc
call fcn.00691fb5
cmp eax, 0xc43552bc
or dword es:[esi - 0x75], esp
dec esp
and al, 7
mov cx, word [esp + 7]
mov word [esp + 7], bx
push word [esp + 0xd]
xchg bx, cx
inc ebx
std
jmp 0x691b27
Function at 0x692832
Capabilities:
Parse pe header

Disassembly:
invalid
call 0x692832
jns 0x6927f9
add dh, cl
sub esp, dword [ecx - 0x18]
jle 0x692823
call 0x279dad16
dec esi
invalid
lea esp, [esp + 4]
popfd
lea esp, [esp + 4]
jmp 0x6927fb
push si
pop word [esp]
lea esp, [esp + 2]
and al, 2
mov dword [esp], ecx
call fcn.00692887
cmp byte [ebx], bl
jb 0x69289f
mov word [esp + 1], si
push dword [esp + 3]
mov dword [esp + 4], eax
push sp
mov word [esp], cx
jmp 0x69281c
mov bl, 0xd6
and eax, 0x9011e6c0

Function at 0x692887
Capabilities:
Parse pe header

Disassembly:
pop word [esp]
call fcn.00692867

Function at 0x6928a6
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call 0x692063
jmp 0x6928dc
mov dword [esp], ecx
mov dword [esp + 0x3c], edi
lea esp, [esp + 0x3c]
jmp 0x6928ab
mov byte [esp], dh
jmp 0x692890
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x6928fd
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x69205e

Function at 0x6928cc
Capabilities:
Parse pe header

Disassembly:
push eax
jmp 0x69003c
call fcn.00690041
movzx ebx, word [eax + 0x3c]
jmp 0x69291e
push dword [esp]
mov word [esp], si
mov dword [esp + 0x3c], esi
call fcn.006928a6
pop eax
xor ax, ax
cmp word [eax], 0x5a4d
je 0x69209b
jne 0x692908
aam 0x4b
fstp xword [esi - 0x138545b3]
bound eax, qword [0x587941f4]
mov ebx, 0x8b008b92
inc eax
or byte [eax - 0x17], dl
push esi
idiv edi
jmp [0x10000]
sub eax, 0x10000
jmp 0x6928e0
mul cl
add ebx, eax
cmp word [ebx], 0x4550
je 0x68ff45
jne 0x692908
aaa
mov byte [0xba25730], al
jnp 0x69291c
ja 0x692949
loope 0x692993
sbb dword [eax], 0xffffff8e
jmp 0x7658da59
outsb dx, byte [esi]
jmp 0x6e74c45a
mov byte [0x28d9be28], al
retf 0x45cc
Function at 0x4028b8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x4028f5
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402915
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.0040439c
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402a7c
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.0040412c
test esi, esi
jne 0x402ab2
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.0040421c
jmp 0x402ad0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402990
mov edi, eax
test esi, esi
je 0x402ad0
cmp dword [ebx], 0
je 0x402ad0
dec esi
jmp 0x402ab9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402d34
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4f0008], 0x8088405
inc edx
mov dword [ebx + 0x4f0008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4031b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4f0024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403248
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403228
xor eax, eax
push ebp
push 0x403221
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 0x403264
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 0x403228
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x4f0024]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4f0024], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f0c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f3048], 0
je 0x403f6d
cmp word [0x4f321c], 0xd7b2
jne 0x403f35
cmp dword [0x4f3224], 0
jbe 0x403f35
mov eax, 0x4f3218
call dword [0x4f3234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f0070
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 0x403f94
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f0034], 0
jne 0x403f89
push 0
push 0x4f0068
push 0x4f0070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x4040e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f3049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4040a8
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e88
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 0x405eee
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.0040439c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402d50
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405ed8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ef5
lea eax, [ebp - 0x10]
call fcn.0040412c
ret

Function at 0x4087e4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004045ec
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4087fd
test al, 0x10
jne 0x408801
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b2e0
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 0x40b319
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040421c
jmp 0x40b322
mov eax, ebx
mov edx, esi
call fcn.00404180
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40b9d4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b84c
mov eax, dword [0x4f20c4]
cmp byte [eax], 0
je 0x40ba50
mov eax, dword [0x4f1ea8]
call fcn.00402ba0
call fcn.00402844
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.00408a04
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 0x40ba98
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40ba86
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f1e50]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f3664]
call fcn.0040539c
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 0x40c2ec
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 0x40c3c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.004041c4
lea eax, [ebp - 8]
call fcn.0040463c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.004045ec
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c3ac
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c3a5
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.004045ec
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c38f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c3d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c38f
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 0x40c3ac
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c3c9
lea eax, [ebp - 8]
call fcn.0040412c
ret

Function at 0x40c8cc
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 0x40c930
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.0040439c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408464
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c937
lea eax, [ebp - 0xc]
call fcn.0040412c
ret

Function at 0x41ac28
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041aa80
dec esi
jne 0x41ac4a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x41bd8c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f3888
cmp dword [edi], 0
jne 0x41be08
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f3884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f0470
mov ecx, 2
call fcn.00402950
mov edx, 0x41bd64
lea eax, [esi + 5]
call fcn.0041bd84
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041bd84
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 0x41bddd
mov dword [0x4f3884], 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 0x41d39c
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 0x41d3a2
ret

Function at 0x41f984
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 0x41f9d5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41f9bc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41f9ac
jmp 0x41f9d5
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 0x41f9bd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4349a0
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 0x4348ec
call sub.user32.dll_EnumWindows
ret

Function at 0x434ac0
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 0x434b3d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434520
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 0x434ae5
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434120
cmp dword [ebp - 4], 0
je 0x434b27
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004045ec
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 0x434b44
lea eax, [ebp - 4]
call fcn.0040412c
ret

Function at 0x437e64
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 [0x4f3b60], 0
je 0x437fb3
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4f205c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x437fb3
mov eax, dword [0x4f3b64]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4f3b60]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x437f82
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4f3b60]
call fcn.00414420
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x437f7a
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x437f7a
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x437f7a
mov eax, dword [ebp - 0x14]
call fcn.00440afc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x437f7a
push ebp
call fcn.00437e20
pop ecx
test al, al
jne 0x437f7a
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x437f36
mov eax, dword [ebp - 0x14]
call fcn.0043f62c
dec eax
jle 0x437f7a
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.00403534
cmp byte [ebp - 1], 0
je 0x437f7a
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x437f7a
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4f3b64]
call fcn.004375ec
inc edi
dec ebx
jne 0x437ec9
mov eax, dword [0x4f3b64]
cmp dword [eax + 8], 0
jle 0x437f9a
mov eax, dword [0x4f3b64]
call fcn.0043767c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x437fb3
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00437c88
pop ecx
test al, al
jne 0x437fb3
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 0x43b594
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 0x43b5e0
mov eax, esi
call fcn.004513c4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b5e0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43b5e0
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 0x43b71f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43b620
cmp eax, 0x108
ja 0x43b620
mov eax, esi
call fcn.004513c4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b716
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x43b71f
jmp 0x43b716
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43b6ff
cmp eax, 0x20a
ja 0x43b6ff
test byte [esi + 0x50], 0x80
jne 0x43b652
sub eax, 0x203
je 0x43b64f
sub eax, 3
je 0x43b64f
sub eax, 3
jne 0x43b652
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43b666
dec eax
je 0x43b67b
dec eax
je 0x43b698
dec eax
je 0x43b67b
jmp 0x43b69f
mov ecx, ebx
mov eax, dword [0x4f205c]
mov eax, dword [eax]
mov edx, esi
call fcn.0045ac50
jmp 0x43b716
cmp byte [esi + 0x5d], 1
jne 0x43b691
mov eax, esi
mov si, 0xffed
call fcn.00403534
jmp 0x43b71f
or word [esi + 0x54], 1
jmp 0x43b716
and word [esi + 0x54], 0xfffe
jmp 0x43b716
mov eax, dword [0x4f3b1c]
cmp byte [eax + 0x20], 0
je 0x43b716
mov eax, dword [0x4f3b1c]
cmp dword [eax + 0x1c], 0
je 0x43b716
mov eax, dword [ebx]
mov edx, dword [0x4f3b1c]
cmp eax, dword [edx + 0x1c]
jne 0x43b716
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.00451308
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.00403534
jmp 0x43b71f
cmp eax, 0xb00b
jne 0x43b716
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00439eb4
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 0x43ec8c
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 0x43eca8
cmp dword [esi + 4], 0
je 0x43ecd5
test byte [ebx + 0x55], 1
jne 0x43ecc7
mov eax, ebx
call fcn.0043d82c
test eax, eax
jne 0x43ecc7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43ede5
mov edx, esi
mov eax, ebx
call fcn.0043e7b0
jmp 0x43ede5
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 0x43edde
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440afc
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.0043b4c8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ec8c
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.00440afc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ede5
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