joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469119
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x481dfc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 0x148]
mov dword [esp + 0xc], esi
call fcn.0046ca60
xor ebx, ebx
lea ecx, [esi + 0x168]
mov dword [esp + 0x54], ebx
call fcn.0046cb30
push ebx
mov byte [esp + 0x58], 1
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov ecx, esi
mov dword [esi + 0x13c], eax
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x34], ebx
call fcn.004685f0
xor eax, eax
mov ecx, 0xb
lea edi, [esi + 0x2cc]
rep stosd dword es:[edi], eax
mov eax, dword [0x487778]
push 0x104
lea edi, [esi + 0x43c]
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
push edi
call fcn.0046d0f0
push edi
call fcn.0046d120
push edi
lea ecx, [esi + 0x38]
push 0x43943c
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
xor eax, eax
push 0x40d820
lea edx, [esp + 0x30]
mov ecx, 0xf
lea edi, [esp + 0x14]
rep stosd dword es:[edi], eax
push edx
mov dword [esp + 0x18], 0xfffffff5
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0x190
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], bl
mov byte [esp + 0x2e], bl
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], 3
mov byte [esp + 0x31], 2
mov byte [esp + 0x32], 1
mov byte [esp + 0x33], 0x31
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectA]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
mov dword [esi], eax
call edi
push 0x439430
mov dword [esi + 4], eax
call dword [sym.imp.USER32.dll_RegisterClipboardFormatA]
mov dword [esi + 0x308], eax
call dword [sym.imp.USER32.dll_CreatePopupMenu]
push 0x439428
push 0x1001
push ebx
mov dword [esi + 0x438], eax
push eax
mov edi, dword [sym.imp.USER32.dll_AppendMenuA]
call edi
mov edx, dword [esi + 0x438]
push 0x439420
push 0x1002
push ebx
push edx
call edi
mov ecx, dword [esp + 0x4c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x4693e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x3e0]
xor eax, eax
mov ecx, 0x16
mov edi, ebx
rep stosd dword es:[edi], eax
push 0x439460
lea edi, [esi + 0x3f8]
push edi
mov dword [ebx], 0x58
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
lea ebp, [esi + 0x168]
mov ecx, ebp
call fcn.0046caf0
test eax, eax
je 0x46945f
mov ecx, ebp
call fcn.0046cb10
push eax
call fcn.0046d0c0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x469475
push ebp
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
cmp eax, 0x34
ja 0x469475
push 0x43945c
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
jmp 0x469475
mov ebp, dword [sym.imp.KERNEL32.DLL_lstrcatA]
push 0x43945c
push edi
call ebp
push 0x43944c
push edi
call ebp
mov eax, dword [esi + 0x140]
push 0xfffffffffffffff2
push eax
mov dword [esi + 0x3e4], eax
mov dword [esi + 0x3e8], 0x2001
mov dword [esi + 0x3ec], 7
call dword [sym.imp.USER32.dll_GetClassLongA]
push ebx
push 0
mov dword [esi + 0x3f4], eax
mov dword [esi + 0x3f0], 0x1400
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
test eax, eax
jne 0x4694c0
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esi + 0x140]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x46cb00
Capabilities:
Get file size

Disassembly:
mov eax, dword [ecx + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
ret

Function at 0x46cd70
Capabilities:
Get file size
Read file on windows

Disassembly:
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0xc]
cmp eax, 0xffffffff
jne 0x46cd81
xor eax, eax
pop edi
pop ecx
ret
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
push esi
call fcn.0046ef97
add esp, 4
test eax, eax
mov dword [edi + 4], eax
jne 0x46cda3
pop esi
xor eax, eax
pop edi
pop ecx
ret
mov edx, dword [edi + 0xc]
push 0
lea ecx, [esp + 0xc]
push ecx
push esi
push eax
push edx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x46cd9d
mov dword [edi], esi
pop esi
mov eax, 1
pop edi
pop ecx
ret

Function at 0x46cdd0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xc]
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
je 0x46cdf7
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
jne 0x46cdfc
xor eax, eax
pop esi
pop ecx
ret
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi]
push 0
lea edx, [esp + 0xc]
push edx
push edi
push eax
mov eax, dword [esi + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
je 0x46ce28
cmp edi, dword [esp + 8]
jne 0x46ce28
pop edi
mov eax, 1
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x46db77
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a5d4]
jne 0x46db81
repz ret
jmp fcn.004712ac
Function at 0x47bc8e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0046ffa2
and dword [ebp - 4], 0
cmp dword [0x4886e8], 0
mov ebx, eax
jne 0x47bd3f
push 0x43bc50
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47bdf0
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x43bc44
push edi
call esi
test eax, eax
je 0x47bdf0
push eax
call fcn.0046ff30
mov dword [esp], 0x43bc34
push edi
mov dword [0x4886e8], eax
call esi
push eax
call fcn.0046ff30
mov dword [esp], 0x43bc20
push edi
mov dword [0x4886ec], eax
call esi
push eax
call fcn.0046ff30
mov dword [esp], 0x43bc04
push edi
mov dword [0x4886f0], eax
call esi
push eax
call fcn.0046ff30
pop ecx
mov dword [0x4886f8], eax
test eax, eax
je 0x47bd3f
push 0x43bbec
push edi
call esi
push eax
call fcn.0046ff30
pop ecx
mov dword [0x4886f4], eax
mov eax, dword [0x4886f4]
cmp eax, ebx
je 0x47bd97
cmp dword [0x4886f8], ebx
je 0x47bd97
push eax
call fcn.0046ffab
push dword [0x4886f8]
mov esi, eax
call fcn.0046ffab
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47bd97
test edi, edi
je 0x47bd97
call esi
test eax, eax
je 0x47bd8e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47bd8e
test byte [ebp - 0xc], 1
jne 0x47bd97
or dword [ebp + 0x10], 0x200000
jmp 0x47bdd0
mov eax, dword [0x4886ec]
cmp eax, ebx
je 0x47bdd0
push eax
call fcn.0046ffab
pop ecx
test eax, eax
je 0x47bdd0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47bdd0
mov eax, dword [0x4886f0]
cmp eax, ebx
je 0x47bdd0
push eax
call fcn.0046ffab
pop ecx
test eax, eax
je 0x47bdd0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4886e8]
call fcn.0046ffab
pop ecx
test eax, eax
je 0x47bdf0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47bdf2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x44a010
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0
push 0
push 3
push 0
push 3
push 0x40000000
push str.CONOUT_
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
lea eax, [esp + 8]
push eax
push edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
mov dword [0x64f054], esi
je 0x44a05f
mov ecx, dword [0x64fd3c]
push 0x64fa58
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleMode]
mov eax, esi
pop edi
pop esi
pop ecx
ret

Function at 0x4db7e2
Capabilities:
Encode data using xor

Disassembly:
imul edx, eax, 0x7d
cmp ecx, dword [0x198005c9]
wait
fsin
scasd eax, dword es:[edi]
leave
sbb eax, 0x5fe779e3
push esp
cmp byte [ecx - 0x4c], cl
cmpsd dword [esi], dword es:[edi]
xchg esp, eax
aam 0xe8
stosb byte es:[edi], al
add eax, 0xdf5a1d5c
sbb bh, byte [ebx + edi*8 - 0x2b]
cmp eax, 0x3c397aa2
xchg ebp, eax

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402dfc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004043cc
test esi, esi
jne 0x402e33
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.004044bc
jmp 0x402e54
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.00402c98
mov dword [esp], eax
test esi, esi
je 0x402e54
cmp dword [ebx], 0
je 0x402e54
dec esi
jmp 0x402e3b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x4034c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x454020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40355c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x40353c
xor eax, eax
push ebp
push 0x403535
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 0x403578
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40353c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov ax, word [0x454020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x454020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404248
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x45604c], 0
je 0x4042a9
cmp word [0x456220], 0xd7b2
jne 0x404271
cmp dword [0x456228], 0
jbe 0x404271
mov eax, 0x45621c
call dword [0x456238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45406c
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 0x4042d0
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x454030], 0
jne 0x4042c5
push 0
push 0x454064
push 0x45406c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret
Function at 0x406268
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 0x4062ce
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_1
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040463c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403088
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4062d5
lea eax, [ebp - 0x10]
call fcn.004043cc
ret

Function at 0x40b398
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
test eax, eax
jle 0x40b3d1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044bc
jmp 0x40b3da
mov eax, ebx
mov edx, esi
call fcn.00404420
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b3e4
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
test eax, eax
jle 0x40b405
mov al, byte [esp]
jmp 0x40b407
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c404
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 0x40c4da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404464
lea eax, [ebp - 8]
call fcn.004048dc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040488c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c4c4
mov eax, ebx
call fcn.00402a38
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c4bd
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.0040488c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c4a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c4ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c4a7
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 0x40c4c4
mov eax, dword [ebp - 0x10]
call fcn.00402a68
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c4e1
lea eax, [ebp - 8]
call fcn.004043cc
ret
Function at 0x40ca3c
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 0x40caa0
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
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040463c
mov eax, dword [ebp - 0xc]
push eax
call sub.KERNEL32.DLL_GetACP
mov edx, eax
pop eax
call fcn.00408604
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40caa7
lea eax, [ebp - 0xc]
call fcn.004043cc
ret

Function at 0x41dd44
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x456888
cmp dword [edi], 0
jne 0x41ddc0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x456884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4543f8
mov ecx, 2
call fcn.00402c58
mov edx, 0x41dd1c
lea eax, [esi + 5]
call fcn.0041dd3c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041dd3c
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 0x41dd95
mov dword [0x456884], 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 0x41efd4
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 0x41efda
ret

Function at 0x42144c
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 0x42149d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x421484
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x421474
jmp 0x42149d
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 0x421485
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42aa4c
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 0x42a998
call sub.user32.dll_EnumWindows
ret

Function at 0x42ab6c
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 0x42abe9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042a5cc
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 0x42ab91
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042a1cc
cmp dword [ebp - 4], 0
je 0x42abd3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.0040488c
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 0x42abf0
lea eax, [ebp - 4]
call fcn.004043cc
ret

Function at 0x42d88c
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 [0x456b58], 0
je 0x42d9db
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x45518c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42d9db
mov eax, dword [0x456b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x456b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42d9aa
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x456b58]
call fcn.004172fc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42d9a2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42d9a2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42d9a2
mov eax, dword [ebp - 0x14]
call fcn.004363f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42d9a2
push ebp
call fcn.0042d848
pop ecx
test al, al
jne 0x42d9a2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42d95e
mov eax, dword [ebp - 0x14]
call fcn.00434f20
dec eax
jle 0x42d9a2
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.00403860
cmp byte [ebp - 1], 0
je 0x42d9a2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42d9a2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x456b5c]
call fcn.0042d014
inc edi
dec ebx
jne 0x42d8f1
mov eax, dword [0x456b5c]
cmp dword [eax + 8], 0
jle 0x42d9c2
mov eax, dword [0x456b5c]
call fcn.0042d0a4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42d9db
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042d6b0
pop ecx
test al, al
jne 0x42d9db
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 0x430f74
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 0x430fc0
mov eax, esi
call fcn.00446424
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x430fc0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x430fc0
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 0x4310ff
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x431000
cmp eax, 0x108
ja 0x431000
mov eax, esi
call fcn.00446424
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4310f6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x4310ff
jmp 0x4310f6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x4310df
cmp eax, 0x20a
ja 0x4310df
test byte [esi + 0x50], 0x80
jne 0x431032
sub eax, 0x203
je 0x43102f
sub eax, 3
je 0x43102f
sub eax, 3
jne 0x431032
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x431046
dec eax
je 0x43105b
dec eax
je 0x431078
dec eax
je 0x43105b
jmp 0x43107f
mov ecx, ebx
mov eax, dword [0x45518c]
mov eax, dword [eax]
mov edx, esi
call fcn.0044fb68
jmp 0x4310f6
cmp byte [esi + 0x5d], 1
jne 0x431071
mov eax, esi
mov si, 0xffed
call fcn.00403860
jmp 0x4310ff
or word [esi + 0x54], 1
jmp 0x4310f6
and word [esi + 0x54], 0xfffe
jmp 0x4310f6
mov eax, dword [0x456b14]
cmp byte [eax + 0x20], 0
je 0x4310f6
mov eax, dword [0x456b14]
cmp dword [eax + 0x1c], 0
je 0x4310f6
mov eax, dword [ebx]
mov edx, dword [0x456b14]
cmp eax, dword [edx + 0x1c]
jne 0x4310f6
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.00446368
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.00403860
jmp 0x4310ff
cmp eax, 0xb00b
jne 0x4310f6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042f8dc
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 0x434580
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 0x43459c
cmp dword [esi + 4], 0
je 0x4345c9
test byte [ebx + 0x55], 1
jne 0x4345bb
mov eax, ebx
call fcn.0043318c
test eax, eax
jne 0x4345bb
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4346d9
mov edx, esi
mov eax, ebx
call fcn.004340a4
jmp 0x4346d9
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 0x4346d2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004363f0
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.00430ea8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434580
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.004363f0
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4346d9
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