joyce8/EMBER2024-capa huggingface dataset:
Function at 0x626498
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x62666b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x24], 0
jne 0x626587
cmp dword [ebx + 0x20], 0
jne 0x626587
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x2c]
cmp eax, 0x3e8
jbe 0x626645
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x2c], eax
call fcn.0062638c
test al, al
je 0x626645
mov eax, ebx
call fcn.00626120
test al, al
je 0x626645
mov eax, ebx
call fcn.006261c4
mov esi, eax
test esi, esi
je 0x626645
cmp byte [ebp - 1], 0
je 0x62652f
lea eax, [ebp - 8]
mov edx, esi
call fcn.00406028
mov eax, dword [ebp - 8]
lea edx, [ebx + 0x18]
call fcn.004079c0
jmp 0x626553
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00406028
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0xc]
mov dx, 0x4e4
call fcn.00496e44
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x18]
call fcn.004056d8
mov eax, esi
call fcn.00402fe4
lea eax, [ebx + 0x18]
mov edx, 0x626680
call fcn.0040597c
lea eax, [ebx + 0x18]
call fcn.00405bcc
mov dword [ebx + 0x1c], eax
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x62657e
sub ecx, 4
mov ecx, dword [ecx]
mov eax, ecx
cdq
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
cmp dword [ebx + 0x24], 0
jne 0x626597
cmp dword [ebx + 0x20], 0
je 0x626645
mov eax, dword [ebx + 4]
cmp dword [eax + 0x3a4], 0
jne 0x6265b1
cmp dword [eax + 0x3a0], 9
jae 0x6265b7
jmp 0x626645
jl 0x626645
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
add eax, 5
adc edx, 0
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
mov ecx, dword [ebx + 4]
mov eax, dword [ecx + 0x3a0]
mov edx, dword [ecx + 0x3a4]
cmp edx, dword [ebx + 0x24]
jne 0x6265e4
cmp eax, dword [ebx + 0x20]
jae 0x62661d
jmp 0x6265e6
jge 0x62661d
mov esi, dword [ecx + 0x3a0]
sub esi, 5
mov eax, dword [ebx + 0x1c]
push eax
xor edx, edx
mov eax, ecx
mov ecx, esi
call fcn.006251d8
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x24]
push edx
push eax
mov eax, esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], edx
add dword [ebx + 0x1c], esi
jmp 0x626645
mov eax, dword [ebx + 0x1c]
push eax
mov eax, dword [ebx + 0x20]
sub eax, 5
mov dl, 1
xchg ecx, eax
call fcn.006251d8
mov dword [ebx + 0x20], 0
mov dword [ebx + 0x24], 0
lea eax, [ebx + 0x18]
call fcn.00405684
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x626672
lea eax, [ebp - 0x10]
call fcn.00405ebc
lea eax, [ebp - 0xc]
call fcn.00405684
lea eax, [ebp - 8]
call fcn.00405ebc
ret
Function at 0x62e244
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62e448
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
call fcn.00405ebc
mov eax, dword [ebp - 8]
call fcn.00405ebc
mov eax, dword [ebp - 0xc]
call fcn.00405ebc
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.004060b4
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x62e418
mov eax, dword [ebp - 0x14]
call fcn.00402fc8
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x62e3e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push esi
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x62e458
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x62e354
push 0x62e47c
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
mov edx, 4
call fcn.0040c3cc
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov edx, 4
call fcn.0040c3cc
push dword [ebp - 0x30]
push 0x62e498
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00405a34
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 4]
call fcn.004060a4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
mov ecx, 0x62e4a0
mov edx, dword [ebp - 4]
call fcn.00406130
mov eax, dword [ebp - 0x34]
call fcn.004060b4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x62e392
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x24]
call fcn.00406028
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x38]
mov ecx, 0x62e4c4
mov edx, dword [ebp - 4]
call fcn.00406130
mov eax, dword [ebp - 0x38]
call fcn.004060b4
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x62e3cb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
call fcn.00406028
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62e3e8
mov eax, dword [ebp - 0x1c]
call fcn.00402fe4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62e44f
lea eax, [ebp - 0x40]
mov edx, 4
call fcn.00405ed4
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.004056a8
lea eax, [ebp - 4]
call fcn.00405ebc
ret
Function at 0x62e6b4
Capabilities:
Check for time delay via gettickcount

Disassembly:
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [0x68fb68]
cmp eax, 0xea60
jbe 0x62e6da
mov eax, dword [0x68fb64]
mov edx, dword [eax]
call dword [edx + 8]
call sub.kernel32.dll_GetTickCount_1
mov dword [0x68fb68], eax
ret
Function at 0x643efc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
test dl, dl
je 0x643f11
add esp, 0xfffffff0
call fcn.00404aac
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x643fb8
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.00404718
xor eax, eax
mov dword [esi + 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x2c], eax
xor eax, eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
xor eax, eax
mov dword [esi + 0x44], eax
xor eax, eax
mov dword [esi + 0x4c], eax
mov byte [esi + 8], 2
mov dword [esi + 0xc], 6
mov dword [esi + 0x10], 9
xor eax, eax
mov dword [esi + 0x38], eax
lea edx, [ebp - 8]
xor eax, eax
call fcn.00479fb0
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00527fb0
mov edx, dword [ebp - 4]
lea eax, [esi + 0x50]
call fcn.004056d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x643fbf
lea eax, [ebp - 8]
call fcn.00405ebc
lea eax, [ebp - 4]
call fcn.00405684
ret

Function at 0x648ca4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
jmp 0x648cc4
mov eax, dword [0x691520]
mov eax, dword [eax]
call fcn.004582b0
push 0
call sub.kernel32.dll_Sleep_2
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp esi, eax
ja 0x648cb1
pop esi
pop ebx
ret
Function at 0x65396c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.00406478
xor eax, eax
push ebp
push 0x653a4e
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x653a2b
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.004061e8
je 0x653a2b
dec ebx
jne 0x6539c2
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx]
call fcn.004061e8
je 0x653a2b
xor eax, eax
push ebp
push 0x653a16
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00517208
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00405938
push 3
push 0x653a5c
push 0x653a5c
lea eax, [ebp - 0xc]
call fcn.00405bcc
push eax
push 0x653a60
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x653a20
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.00405ef8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x653a55
lea eax, [ebp - 0xc]
call fcn.00405684
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405ed4
ret
Function at 0x659624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
xor edx, edx
mov dword [ebp - 0x1a8], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x65972a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x65973c
call fcn.00405ef8
lea eax, [ebp - 0x10d]
xor ecx, ecx
mov edx, 0x105
call fcn.00403cb4
lea eax, [ebp - 0x1a4]
xor ecx, ecx
mov edx, 0x94
call fcn.00403cb4
mov dword [ebp - 0x1a4], 0x94
lea eax, [ebp - 0x1a4]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x659709
cmp dword [ebp - 0x1a0], 4
jbe 0x6596f8
lea eax, [ebp - 4]
push eax
call sub.shell32.dll_SHGetMalloc
test eax, eax
jne 0x659709
lea eax, [ebp - 8]
push eax
push 5
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
lea eax, [ebp - 0x1a8]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00405904
mov edx, dword [ebp - 0x1a8]
mov eax, ebx
call fcn.004060a4
jmp 0x659709
mov ecx, ebx
mov edx, 0x65973c
mov eax, 0x659748
call fcn.0051271c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x659731
lea eax, [ebp - 0x1a8]
call fcn.00405684
lea eax, [ebp - 4]
call fcn.00407660
ret

Function at 0x65f4dc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, dword [0x691920]
cmp dword [eax], 0
je 0x65f54d
cmp byte [ebx + 0x278], 0
je 0x65f50d
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebx + 0x270]
mov edx, dword [ebx + 0x274]
add edx, 0x64
cmp eax, edx
jbe 0x65f54d
mov byte [ebx + 0x278], 1
call sub.kernel32.dll_GetTickCount_1
mov dword [ebx + 0x270], eax
mov dword [esp], 0x10
mov dword [esp + 4], 3
mov eax, dword [ebx + 0x274]
mov dword [esp + 0xc], eax
mov eax, ebx
call fcn.00467e90
mov dword [esp + 8], eax
push esp
mov eax, dword [0x691920]
mov eax, dword [eax]
call eax
add esp, 0x10
pop ebx
ret

Function at 0x65f5d8
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
cmp ebx, dword [ebp + 8]
jg 0x65f62b
push 0xcc0020
push 0
push 0
mov eax, dword [esi + 0x270]
call fcn.004337bc
call fcn.0042eb88
push eax
push 0xc8
mov eax, dword [ebp - 4]
push eax
push ebx
push 0
mov eax, edi
call fcn.0042eb88
push eax
call sub.gdi32.dll_BitBlt
add ebx, 0xc8
cmp ebx, dword [ebp + 8]
jle 0x65f5ed
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4
Function at 0x660fbc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov byte [ebp - 5], cl
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [0x690f5c]
cmp dword [eax], 0
je 0x66116c
test edi, edi
je 0x66116c
test bl, bl
je 0x660ff4
cmp byte [ebp - 5], 0
je 0x66116c
cmp edi, dword [ebp - 4]
jne 0x66101d
cmp byte [0x68fc9c], 0
je 0x66100e
cmp bl, byte [0x68fc94]
je 0x66116c
mov byte [0x68fc9c], 1
mov byte [0x68fc94], bl
jmp 0x66104a
mov eax, dword [ebp - 4]
cmp edi, dword [eax + 0x3bc]
jne 0x66104a
cmp byte [0x68fca0], 0
je 0x66103d
cmp bl, byte [0x68fc98]
je 0x66116c
mov byte [0x68fca0], 1
mov byte [0x68fc98], bl
push 0xffffffffffffffec
mov eax, edi
call fcn.00467e90
push eax
call sub.user32.dll_GetWindowLongA
mov esi, eax
mov eax, esi
test bl, bl
je 0x661069
or esi, 0x80000
jmp 0x66106f
and esi, 0xfff7ffff
cmp esi, eax
je 0x66116c
test bl, bl
jne 0x6610a1
push esi
push 0xffffffffffffffec
mov eax, edi
call fcn.00467e90
push eax
call sub.user32.dll_SetWindowLongA
push 0
push 0xffffffffffffffeb
mov eax, edi
call fcn.00467e90
push eax
call sub.user32.dll_SetWindowLongA
jmp 0x66116c
push 0
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x668e68]
call fcn.0044ff70
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00451848
mov eax, dword [ebx + 0x50]
or eax, dword [0x661178]
mov dword [ebx + 0x50], eax
push 0x10
mov eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x48]
push eax
mov eax, edi
call fcn.004506c8
push eax
mov eax, edi
call fcn.004506a8
push eax
push 0xffffffffffffffff
mov eax, ebx
call fcn.00467e90
push eax
call sub.user32.dll_SetWindowPos
push 4
mov eax, ebx
call fcn.00467e90
push eax
call sub.user32.dll_ShowWindow
push esi
push 0xffffffffffffffec
mov eax, edi
call fcn.00467e90
push eax
call sub.user32.dll_SetWindowLongA
cmp byte [ebp + 8], 0
jne 0x661128
push 0xffffffffffffffec
push 0xffffffffffffffeb
mov eax, edi
call fcn.00467e90
push eax
call sub.user32.dll_SetWindowLongA
push 2
push 0xff
push 0
mov eax, edi
call fcn.00467e90
push eax
mov eax, dword [0x690f5c]
mov eax, dword [eax]
call eax
mov eax, edi
call fcn.004607c8
mov eax, ebx
call fcn.00404748
push 0x13
push 0
push 0
push 0x64
push 0xc8
push 0xffffffffffffffff
mov eax, dword [0x691484]
mov eax, dword [eax]
push eax
call sub.user32.dll_SetWindowPos
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x661f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov ebx, eax
lea eax, [esp + 9]
movzx edx, byte [ebx + 0x3f4]
call fcn.0066900c
fld xword [ebx + 0x360]
call fcn.00403610
mov esi, eax
push esp
call sub.user32.dll_GetCursorPos
push dword [esp + 4]
push dword [esp + 4]
call sub.user32.dll_WindowFromPoint
mov edi, eax
lea eax, [esp + 0x19]
push eax
push edi
call sub.user32.dll_GetWindowRect
lea edx, [esp + 0x3c]
mov eax, dword [ebx + 0x3bc]
call fcn.0045faf4
lea ecx, [esp + 0x3c]
mov edx, dword [esp + 4]
mov eax, dword [esp]
call fcn.00497388
mov byte [esp + 8], al
cmp esi, dword [esp + 0x11]
jl 0x661fa5
xor edx, edx
mov eax, ebx
call fcn.00660674
push 0
mov eax, dword [ebx + 0x4c]
push eax
mov ecx, dword [ebx + 0x3dc]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x88]
jmp 0x662044
mov eax, dword [esp + 9]
cmp esi, eax
jge 0x662003
mov ecx, esi
sub ecx, eax
mov edx, dword [ebx + 0x40c]
cmp ecx, dword [edx + 0x40]
jle 0x661fc8
mov eax, esi
sub eax, dword [esp + 9]
xchg edx, eax
call fcn.0045f864
mov eax, dword [ebx + 0x40c]
mov eax, dword [eax + 0x48]
add eax, esi
mov ebp, dword [esp + 9]
sub eax, ebp
push eax
mov eax, dword [ebx + 0x4c]
push eax
mov ecx, dword [ebx + 0x3dc]
mov edx, ebp
mov eax, ebx
mov ebp, dword [eax]
call dword [ebp + 0x88]
mov edx, esi
sub edx, dword [esp + 9]
mov eax, dword [ebx + 0x40c]
call fcn.0045f864
jmp 0x66203b
xor edx, edx
mov eax, dword [ebx + 0x40c]
call fcn.0045f864
mov edx, dword [esp + 0x11]
sub edx, esi
mov eax, dword [ebx + 0x40c]
mov eax, dword [eax + 0x48]
call fcn.0049707c
push eax
mov eax, dword [ebx + 0x4c]
push eax
mov ecx, dword [ebx + 0x3dc]
mov edx, esi
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x88]
mov dl, 1
mov eax, ebx
call fcn.00660674
call fcn.00611a94
test al, al
je 0x662066
call fcn.00611a68
mov edx, ebx
mov ecx, dword [eax]
call dword [ecx + 0x114]
mov eax, dword [0x613598]
call fcn.006148f8
mov esi, dword [ebx + 0x3bc]
mov eax, esi
call fcn.004506a8
mov edx, eax
mov eax, dword [ebx + 0x3bc]
mov ecx, dword [eax + 0x3cc]
mov eax, esi
call fcn.00666f90
lea eax, [esp + 0x29]
push eax
push edi
call sub.user32.dll_GetWindowRect
mov esi, dword [esp + 0x29]
sub esi, dword [esp + 0x19]
test esi, esi
setne al
and al, byte [esp + 8]
je 0x6620ee
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0xff
jne 0x6620ee
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0xff
jne 0x6620ee
mov esi, dword [ebx + 0x3bc]
mov eax, dword [esi + 0x3cc]
add eax, dword [esi + 0x3e8]
push eax
mov eax, dword [ebx + 0x3bc]
call fcn.004506a8
add eax, dword [esi + 0x3e4]
push eax
call sub.user32.dll_SetCursorPos
mov eax, dword [ebx + 0x424]
test eax, eax
je 0x66211b
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x66211b
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [ebx + 0x424]
call fcn.0066d870
xor edx, edx
call fcn.0066a5a4
inc edi
dec esi
jne 0x662103
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x663ba4
Capabilities:
Check os version

Disassembly:
push ebx
add esp, 0xffffff6c
mov byte [0x68fcc8], 1
mov dword [eax + 0x3c], 1
mov dword [eax + 0x40], 1
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 4], 5
ja 0x663be2
cmp dword [esp + 4], 5
jne 0x663be9
cmp dword [esp + 8], 0
jbe 0x663be9
mov ebx, 0xa
jmp 0x663beb
xor ebx, ebx
add ebx, 0x65
push ebx
mov eax, dword [0x6957f8]
push eax
call sub.user32.dll_LoadIconA
mov dword [0x68fccc], eax
add esp, 0x94
pop ebx
ret

Function at 0x666cd8
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
call fcn.0065f310
mov edx, dword [eax]
call dword [edx + 0x104]
test al, al
jne 0x666dd2
cmp byte [ebx + 0x57], 0
je 0x666dd2
cmp byte [ebx + 0x3d0], 0
jne 0x666dd2
push 1
call sub.user32.dll_GetKeyState
movsx eax, ax
test ah, 0x80
jne 0x666d3a
mov byte [0x68fce4], 0
mov byte [0x68fce8], 0
xor edx, edx
mov eax, dword [ebx + 0x3f0]
call fcn.004487f8
jmp 0x666dd2
cmp byte [0x68fce4], 0
jne 0x666d71
mov byte [0x68fce4], 1
push esp
call sub.user32.dll_GetCursorPos
push dword [esp + 4]
push dword [esp + 4]
call sub.user32.dll_WindowFromPoint
mov esi, eax
mov eax, ebx
call fcn.00467e90
cmp esi, eax
setne byte [0x68fce8]
jmp 0x666dd2
cmp byte [0x68fce8], 0
je 0x666dd2
push esp
call sub.user32.dll_GetCursorPos
push dword [esp + 4]
push dword [esp + 4]
call sub.user32.dll_WindowFromPoint
mov esi, eax
mov eax, ebx
call fcn.00467e90
cmp esi, eax
jne 0x666dd2
mov eax, dword [ebx + 0x3f0]
cmp byte [eax + 0x40], 0
jne 0x666dcb
mov eax, dword [0x691104]
cmp byte [eax], 0
je 0x666dbe
call fcn.004d9cdc
cmp byte [eax + 0x84f], 0
je 0x666dcb
mov dl, 1
mov eax, dword [ebx + 0x3f0]
call fcn.004487f8
mov byte [0x68fce8], 0
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42f360
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483778
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, ecx
call fcn.00429ba0
test eax, eax
je 0x42f468
lea ecx, [esp + 0xc]
call fcn.00401a70
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call fcn.00429ba0
mov ecx, eax
call fcn.00427270
test eax, eax
je 0x42f44f
mov eax, dword [esp + 0x1c]
test eax, eax
mov ebp, eax
je 0x42f44f
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x42f44f
mov esi, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
neg esi
push edi
push ebx
sbb esi, esi
and esi, edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, ebp
mov edi, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
call fcn.00401c70
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
pop edi
jne 0x42f431
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x42f44f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [0x4bd730]
push ebx
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0xc], 0x48ba18
call fcn.00401c70
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0x10
Function at 0x432320
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x483a08
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x432359
inc eax
mov dword [esi + 0x10], eax
jmp 0x43246c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x43236d
mov eax, 0xffffffc7
jmp 0x43246e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x43237e
cmp dword [esi + 8], eax
jne 0x43236d
cmp dword [esi + 8], eax
jne 0x432397
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x432397
mov eax, 0xffffffc7
jmp 0x43246e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x4323ab
push eax
mov ecx, ebx
call fcn.00431b50
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00401a70
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x4323dc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00401a90
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.004312c0
test eax, eax
mov dword [esp + 0x38], eax
je 0x43240f
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48ba48
call fcn.00401c70
mov eax, dword [esp + 0x38]
jmp 0x43246e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00432180
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x432453
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.004321a0
mov esi, eax
test esi, esi
jne 0x432483
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00432180
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x432425
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48ba48
call fcn.00401c70
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x48ba48
call fcn.00401c70
mov eax, esi
jmp 0x43246e

Function at 0x436e80
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x436ee0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x436ee0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x436ee0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x436ee0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x436f20
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret