joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4387ec
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00437e24
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404e60
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x43884a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x56931c]
mov dl, 1
mov eax, dword [0x437cb0]
call fcn.004106cc
call fcn.004042f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x438854
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404e60
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4388ac
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x569618]
mov dl, 1
mov eax, dword [0x437cb0]
call fcn.004106cc
call fcn.004042f0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00437e54
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438f58
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41a9f4]
call fcn.004056dc
xor eax, eax
push ebp
push 0x43909c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x564b7c], 0
jne 0x438fab
mov ecx, dword [0x569008]
mov dl, 1
mov eax, dword [0x4097dc]
call fcn.00410690
call fcn.004042f0
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030d0
mov eax, ebx
call fcn.00405304
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4390ac
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004069c0
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405314
test eax, eax
jle 0x439043
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x43903c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c28
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404bf4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040a7bc
test eax, eax
jne 0x43903c
mov ebx, 0x15
jmp 0x439048
mov ebx, 0x10
jmp 0x439048
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x564b7c]
call fcn.00438eb0
mov eax, dword [ebp - 8]
call fcn.00438eb0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004069d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4390a3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404998
lea eax, [ebp - 0x10]
mov edx, dword [0x41a9f4]
call fcn.004057ac
ret

Function at 0x43ac44
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ac9e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x569090]
cmp byte [eax], 0
je 0x43ac6e
push ebx
call sub.kernel32.dll_GetFileAttributesW
mov ebx, eax
jmp 0x43ac88
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404bac
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43aca5
lea eax, [ebp - 4]
call fcn.00404974
ret
Function at 0x43acac
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43ad24
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x569090]
cmp byte [eax], 0
je 0x43acdc
push esi
push ebx
call sub.kernel32.dll_MoveFileW
mov ebx, eax
jmp 0x43ad09
lea eax, [ebp - 4]
mov edx, esi
call fcn.00404bac
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404bac
mov eax, dword [ebp - 8]
call fcn.00404e60
push eax
call sub.kernel32.dll_MoveFileA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ad2b
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404998
ret

Function at 0x43b290
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
mov edi, eax
xor esi, esi
mov eax, ebx
call fcn.004084f4
cmp ax, 0xffff
jne 0x43b2b1
neg ebx
mov eax, ebx
shr eax, 4
and eax, 0xffff
inc eax
and ebx, 0xf
push 6
push eax
push edi
call sub.kernel32.dll_FindResourceA
test eax, eax
je 0x43b33d
push eax
push edi
call sub.kernel32.dll_LoadResource
mov edi, eax
test edi, edi
je 0x43b33d
push edi
call sub.kernel32.dll_LockResource
mov dword [ebp - 8], eax
mov eax, ebx
dec eax
test eax, eax
jl 0x43b2fe
inc eax
mov edx, dword [ebp - 8]
movzx edx, word [edx]
add edx, edx
add edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 8], edx
dec eax
jne 0x43b2ea
mov eax, dword [ebp - 8]
movzx esi, word [eax]
add dword [ebp - 8], 2
cmp dword [ebp - 4], 0
je 0x43b33d
cmp dword [ebp + 8], 0
jle 0x43b33d
mov eax, dword [ebp + 8]
dec eax
mov edx, esi
call fcn.004281f8
mov esi, eax
test esi, esi
jle 0x43b334
mov ecx, esi
add ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00408508
mov eax, dword [ebp - 4]
mov word [eax + esi*2], 0
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x441aa4
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x441b0f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x56e71c], 0
je 0x441ad2
mov eax, ebx
call fcn.00405304
push eax
call sub.kernel32.dll_GetFileAttributesW
jmp 0x441aea
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404c28
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x441af3
test al, 0x10
je 0x441af7
xor ebx, ebx
jmp 0x441af9
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441b16
lea eax, [ebp - 4]
call fcn.00404974
ret
Function at 0x442264
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e50
xor eax, eax
push ebp
push 0x4422eb
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x408]
xor ecx, ecx
mov edx, 0x400
call fcn.004030d0
push 0
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x400
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 4]
call fcn.00404e60
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, ebx
lea edx, [ebp - 0x408]
mov ecx, 0x400
call fcn.00404bf4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4422f2
lea eax, [ebp - 4]
call fcn.00404974
ret

Function at 0x4422f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x442383
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00405254
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00441818
mov edx, dword [ebp - 0x10c]
mov eax, ebx
call fcn.00404c28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44238a
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.004050c8
ret

Function at 0x443540
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4435d0
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test bl, bl
jne 0x443599
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404bf4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040b084
mov ebx, eax
jmp 0x4435b5
lea eax, [ebp - 0x10]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404bf4
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.0040b084
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4435d7
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404998
ret

Function at 0x444250
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 0x44419c
call sub.user32.dll_EnumWindows
ret
Function at 0x444370
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 0x4443ed
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00443dd0
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x444395
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004439d0
cmp dword [ebp - 4], 0
je 0x4443d7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404e60
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 0x4443f4
lea eax, [ebp - 4]
call fcn.00404974
ret

Function at 0x4446e4
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x18]
xor edx, edx
push ebp
push 0x4447b6
push dword fs:[edx]
mov dword fs:[edx], esp
push ebx
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x444788
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
xor edx, edx
push ebp
push 0x444777
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, eax
mov eax, edi
mov ecx, ebx
call fcn.00402c78
mov eax, dword [ebp - 4]
call fcn.00444620
mov eax, dword [ebp - 8]
push eax
movzx eax, si
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44477e
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret

Function at 0x4447f0
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 0x444892
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x444865
mov edx, ebx
mov eax, dword [0x42974c]
call fcn.0042dca4
test al, al
je 0x444855
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.0042dbb4
call fcn.0040439c
jmp 0x444899
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x444820
mov ecx, dword [0x5690f4]
mov dl, 1
mov eax, dword [0x4097dc]
call fcn.00410690
call fcn.004042f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444899
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 0x4448a0
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 0x4448f8
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 0x4448ff
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x444908
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 0x44495d
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 0x444964
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x4449d4
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 0x444a49
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00444620
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.0042dc78
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 0x444a33
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 0x444a50
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret

Function at 0x444a58
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 0x444acd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00444620
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 0x444ab7
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 0x444ad4
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
ret
Function at 0x4701d0
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 [0x56e850], 0
je 0x47031f
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x5693cc]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x47031f
mov eax, dword [0x56e854]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x56e850]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x4702ee
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x56e850]
call fcn.0041dbb4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4702e6
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x4702e6
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x4702e6
mov eax, dword [ebp - 0x14]
call fcn.00479390
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4702e6
push ebp
call fcn.0047018c
pop ecx
test al, al
jne 0x4702e6
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x4702a2
mov eax, dword [ebp - 0x14]
call fcn.00477ec0
dec eax
jle 0x4702e6
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.00403d20
cmp byte [ebp - 1], 0
je 0x4702e6
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4702e6
mov edx, dword [ebp - 0x14]
mov eax, dword [0x56e854]
call fcn.0046f958
inc edi
dec ebx
jne 0x470235
mov eax, dword [0x56e854]
cmp dword [eax + 8], 0
jle 0x470306
mov eax, dword [0x56e854]
call fcn.0046f9e8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x47031f
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0046fff4
pop ecx
test al, al
jne 0x47031f
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 0x473a38
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 0x473a84
mov eax, esi
call fcn.00493d34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x473a84
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x473a84
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 0x473bc3
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x473ac4
cmp eax, 0x108
ja 0x473ac4
mov eax, esi
call fcn.00493d34
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x473bba
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x473bc3
jmp 0x473bba
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x473ba3
cmp eax, 0x20a
ja 0x473ba3
test byte [esi + 0x50], 0x80
jne 0x473af6
sub eax, 0x203
je 0x473af3
sub eax, 3
je 0x473af3
sub eax, 3
jne 0x473af6
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x473b0a
dec eax
je 0x473b1f
dec eax
je 0x473b3c
dec eax
je 0x473b1f
jmp 0x473b43
mov ecx, ebx
mov eax, dword [0x5693cc]
mov eax, dword [eax]
mov edx, esi
call fcn.0049dab8
jmp 0x473bba
cmp byte [esi + 0x5d], 1
jne 0x473b35
mov eax, esi
mov si, 0xffed
call fcn.00403d20
jmp 0x473bc3
or word [esi + 0x54], 1
jmp 0x473bba
and word [esi + 0x54], 0xfffe
jmp 0x473bba
mov eax, dword [0x56e80c]
cmp byte [eax + 0x20], 0
je 0x473bba
mov eax, dword [0x56e80c]
cmp dword [eax + 0x1c], 0
je 0x473bba
mov eax, dword [ebx]
mov edx, dword [0x56e80c]
cmp eax, dword [edx + 0x1c]
jne 0x473bba
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.00493c58
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.00403d20
jmp 0x473bc3
cmp eax, 0xb00b
jne 0x473bba
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004722fc
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 0x4774f8
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 0x477514
cmp dword [esi + 4], 0
je 0x477541
test byte [ebx + 0x55], 1
jne 0x477533
mov eax, ebx
call fcn.00475e10
test eax, eax
jne 0x477533
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x477651
mov edx, esi
mov eax, ebx
call fcn.0047701c
jmp 0x477651
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 0x47764a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00479390
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.0047396c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004774f8
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.00479390
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477651
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