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

Disassembly:
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebp
je 0x401ecf
push 8
call fcn.00409940
add esp, 4
pop ebp
ret

Function at 0x402d30
Capabilities:
Parse pe header

Disassembly:
add byte [esi + ecx + 0x74], dh
inc ebp
cld
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x402d45
xor eax, eax
jmp 0x402d8e
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add eax, dword [edx - 0x3d]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x402d60
xor eax, eax
jmp 0x402d8e
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x18]
ret 0x10b
mov esp, ebp
pop ebp
ret

Function at 0x402fe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x466ec8
push 0x409480
mov eax, dword fs:[0xff]
adc byte [eax + eax*2 - 0x5e9c00], 0
add byte [eax], al
push eax
add esp, 0xffffffe4
push ebx
push esi
push edi
mov eax, dword [0x468004]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
pop esp
add byte [eax], al
add byte [eax], al
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
push 4
call fcn.00409940
jl 0x402feb
add al, 0xc7
inc ebp
cld
add byte [eax], al
add byte [eax], al
cmp dword [0x46965c], 0
jbe 0x40308d
mov eax, dword [0x46965c]
sub eax, 0xfffffffe
cmp dword [0x469644], eax
jne 0x40307e
call fcn.00404680
test eax, eax
jne 0x403072
push str._CrtCheckMemory__
push 0
push 0x196
push str.dbgheap.c
push 2
call fcn.00406db0
add esp, 0x14
cmp eax, 1
jne 0x403072
int3
invalid
mov edx, dword [0x469644]
add edx, 1
mov dword [0x469644], edx
pop esi
sbb al, 0x80
inc esi
add byte [ecx + 0x3d83d845], cl
and byte [eax + 0x74ff0046], al
or al, 0x8b
dec ebp
fdivr dword [ebx]
or eax, 0x468020
mov al, byte [ecx]
int3

Function at 0x407bb0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xfffffff3
mov dword [ebp - 4], 0
mov eax, dword [0x4681d4]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x407bf5
cmp dword [0x46812f], 0xffffffff
je 0x407bf5
mov ecx, dword [0x4681d0]
push ecx
mov edx, dword [0x4681d4]
push edx
call dword [0xff46c370]
call eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x407c26
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0xc], eax
jl 0x407c82
hlt
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1fc]
add byte [eax], al
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x407c2d
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 4]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
in al, dx
mov eax, dword [0x467ed0]
pop ebp
ret
Function at 0x407d00
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x45ad3b
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x407d26
call fcn.00407f10
xor eax, eax
push ss
fadd qword [ecx]
add byte [eax], al
push str.FlsAlloc
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x469664], eax
push 0x45aef3
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x469668], eax
push str.FlsSetValue
mov edx, dword [ebp + 3]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46966c], eax
push str.FlsFree
mov eax, dword [ebp - 4]
push eax
call dword [0xb9c334]
mov dword [0x469670], eax
cmp dword [0x469664], 0
je 0x407d9a
cmp dword [0x469668], 0
je 0x407d9a
add edx, 0x6c
xchg esi, eax
inc esi
add byte [eax], al
je 0x407d9a
cmp dword [0x469670], 0
jne 0x407dc6
mov dword [0x469664], 0xff407c50
mov ecx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x469668], ecx
mov edx, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x46966c], edx
mov eax, dword [0x46c37f]
add byte [ebx + 0x46c37815], cl
add byte [ecx + 0x46966c15], cl
add byte [ecx + 0x46c37f], ah
mov dword [0x469670], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x4681d4], eax
cmp dword [0x4681d4], 0
je 0x407df2
mov ecx, dword [0x469668]
push ecx
mov edx, dword [0x4681d4]
push edx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x407dea
js 0x407daf
inc esi
add byte [ebp + 0x33f875c0], al
shr cl, 9
add dword [eax], eax
add al, ch
add ah, byte [ecx + 0x64a1ffff]
xchg esi, eax
inc esi
add byte [eax - 0x18], dl
inc edi
cld
invalid
xor eax, eax
jmp 0x407f02
mov esp, ebp
pop ebp
ret

Function at 0x409490
Capabilities:
Check for software breakpoints

Disassembly:
invalid
jmp 0x409446
mov esp, ebp
pop ebp
cmp al, 0xcc
int3
add byte [ebx - 0x177cf3bb], cl
or byte [esi + 0x45], dh
loopne 0x409426
dec ebp
loopne 0x409421
rcr dword [eax], 0x89
dec ebp
call 0x8c20ea32
inc edx
adc byte [ebx], dh
add eax, 0x468004
mov dword [ebp + 0x2b], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00409640
add esp, 8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
and ecx, 0x66
invalid

Function at 0x40ad30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x469b3c]
push eax
call fcn.00407bb0
add esp, 4
mov dword [ebp - 4], eax
jl 0x40adc4
cld
add byte [esi + ecx - 0x75], dh
dec ebp
or byte [ecx - 1], dl
push ebp
cld
add esp, 4
test eax, eax
jne 0x40ad5d
xor eax, eax
jmp 0x40ad62
mov eax, 0xff01
mov esp, ebp
pop ebp
ret
inc esi
add byte [eax + esi*2 + 0x469c5805], bl
Function at 0x416170
Capabilities:
Encode data using xor

Disassembly:
cmc
mov eax, 1
pop ebp
ret
push ebp
je 0x41615f
push esi
call fcn.00408160
mov esi, dword [ebp + 8]
cmp esi, dword [eax + 0x98]
jne 0x416195
call fcn.00408160
mov ecx, dword [esi - 5]
mov dword [eax + 0x98], ecx
pop esi
pop ebp
ret
call fcn.00408160
mov eax, dword [eax + 0x98]
cmp dword [eax + 4], 0
je 0x416196
invalid
mov ecx, dword [eax + 4]
cmp esi, ecx
je 0x4161bc
mov eax, ecx
cmp dword [eax + 4], 0
jne 0x4161a6
pop esi
pop ebp
jmp fcn.00409a90
mov edx, dword [esi + 4]
jbe 0x416211
add al, 0x5e
pop ebp
ret
les esp, [ecx + ecx*4]
inc ebp
in al, dx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x39a627f1
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..pdata
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x322f3d75
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x403410
Capabilities:
Query or enumerate registry value

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

Function at 0x404190
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47c048], 0
je 0x4041f1
cmp word [0x47c21c], 0xd7b2
jne 0x4041b9
cmp dword [0x47c224], 0
jbe 0x4041b9
mov eax, 0x47c218
call dword [0x47c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47a054
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 0x404218
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47a01c], 0
jne 0x40420d
push 0
push 0x47a074
push 0x47a054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a330
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 0x40a369
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004043fc
jmp 0x40a372
mov eax, ebx
mov edx, esi
call fcn.00404360
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40aa24
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40a89c
mov eax, dword [0x47ba84]
cmp byte [eax], 0
je 0x40aa91
mov eax, dword [0x47b8b0]
call fcn.00402cd4
call fcn.00402884
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408b94
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40aad8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40aac7
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47b860]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47c714]
call fcn.00405a58
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 0x40b698
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 0x40b6fc
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.00404574
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004087f4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40b703
lea eax, [ebp - 0xc]
call fcn.0040430c
ret
Function at 0x421cd8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47ca20
cmp dword [edi], 0
jne 0x421d54
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47ca1c]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47a5cc
mov ecx, 2
call fcn.00402918
mov edx, 0x421cb0
lea eax, [esi + 5]
call fcn.00421cd0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421cd0
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 0x421d29
mov dword [0x47ca1c], 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 0x423260
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 0x423266
ret

Function at 0x4256fc
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 0x42574d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425734
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425724
jmp 0x42574d
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 0x425735
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4331f8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x43329a
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x43326d
mov edx, ebx
mov eax, dword [0x422d24]
call fcn.00426f60
test al, al
je 0x43325d
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.00426e70
call fcn.00403e18
jmp 0x4332a1
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x433228
mov ecx, dword [0x47b858]
mov dl, 1
mov eax, dword [0x4076a8]
call fcn.0040ab98
call fcn.00403d6c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4332a1
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4332a8
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x433300
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433307
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x433310
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x433365
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x5c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43336c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4333dc
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x433451
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00433134
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.00426f34
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x43343b
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x433458
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x433460
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor eax, eax
push ebp
push 0x4334d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00433134
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x60]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x4334bf
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4334dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x434fb8
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 0x434f04
call sub.user32.dll_EnumWindows
ret

Function at 0x4350dc
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 0x435159
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434b28
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 0x435101
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434780
cmp dword [ebp - 4], 0
je 0x435143
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004047bc
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 0x435160
lea eax, [ebp - 4]
call fcn.0040430c
ret
Function at 0x4381d4
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 [0x47cbb0], 0
je 0x438323
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x47ba28]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x438323
mov eax, dword [0x47cbb4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x47cbb0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4382f2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x47cbb0]
call fcn.00418f58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4382ea
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4382ea
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4382ea
mov eax, dword [ebp - 0x14]
call fcn.00440df8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4382ea
push ebp
call fcn.00438190
pop ecx
test al, al
jne 0x4382ea
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4382a6
mov eax, dword [ebp - 0x14]
call fcn.0043f98c
dec eax
jle 0x4382ea
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.0040379c
cmp byte [ebp - 1], 0
je 0x4382ea
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4382ea
mov edx, dword [ebp - 0x14]
mov eax, dword [0x47cbb4]
call fcn.00437958
inc edi
dec ebx
jne 0x438239
mov eax, dword [0x47cbb4]
cmp dword [eax + 8], 0
jle 0x43830a
mov eax, dword [0x47cbb4]
call fcn.004379e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x438323
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00437ff8
pop ecx
test al, al
jne 0x438323
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 0x43b914
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 0x43b960
mov eax, esi
call fcn.00451d98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43b960
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x43b960
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 0x43ba9f
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x43b9a0
cmp eax, 0x108
ja 0x43b9a0
mov eax, esi
call fcn.00451d98
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43ba96
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x43ba9f
jmp 0x43ba96
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x43ba7f
cmp eax, 0x20a
ja 0x43ba7f
test byte [esi + 0x50], 0x80
jne 0x43b9d2
sub eax, 0x203
je 0x43b9cf
sub eax, 3
je 0x43b9cf
sub eax, 3
jne 0x43b9d2
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x43b9e6
dec eax
je 0x43b9fb
dec eax
je 0x43ba18
dec eax
je 0x43b9fb
jmp 0x43ba1f
mov ecx, ebx
mov eax, dword [0x47ba28]
mov eax, dword [eax]
mov edx, esi
call fcn.0045b4ac
jmp 0x43ba96
cmp byte [esi + 0x5d], 1
jne 0x43ba11
mov eax, esi
mov si, 0xffed
call fcn.0040379c
jmp 0x43ba9f
or word [esi + 0x54], 1
jmp 0x43ba96
and word [esi + 0x54], 0xfffe
jmp 0x43ba96
mov eax, dword [0x47cb6c]
cmp byte [eax + 0x20], 0
je 0x43ba96
mov eax, dword [0x47cb6c]
cmp dword [eax + 0x1c], 0
je 0x43ba96
mov eax, dword [ebx]
mov edx, dword [0x47cb6c]
cmp eax, dword [edx + 0x1c]
jne 0x43ba96
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.00451cdc
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.0040379c
jmp 0x43ba9f
cmp eax, 0xb00b
jne 0x43ba96
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0043a234
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