joyce8/EMBER2024-capa huggingface dataset:
Function at 0x62ab80
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x62ab92
add esp, 0xfffffff0
call fcn.005e90d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.005c2594
mov eax, dword [0x73087c]
mov dword [eax + 4], ebx
mov dword [eax], 0x62afdc
mov eax, dword [0x730880]
mov dword [eax + 4], ebx
mov dword [eax], 0x62afe8
mov eax, ebx
call fcn.0062aff4
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x78], eax
push 0
call sub.USER32.DLL_GetDC
mov esi, eax
push 0x5a
push esi
call sub.GDI32.DLL_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.USER32.DLL_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x625928
push eax
push 0
push 0
mov eax, dword [0x730970]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x608924]
call fcn.0060ebf8
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x608924]
call fcn.0060ebf8
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x608924]
call fcn.0060ebf8
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x608924]
call fcn.0060ebf8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x608924]
call fcn.0060ebf8
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.0062b54c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62b3bc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62b3bc
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62b3bc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62b3bc
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x62b3bc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x62ad0d
call fcn.005e9128
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x62b15c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x62b309
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x62b2ea
mov dl, 1
mov eax, dword [0x5ae114]
call fcn.005b9ffc
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.005ea584
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x62b2d9
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.006512f4
test al, al
je 0x62b2cc
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x62b318
lea eax, [ebp - 0x394]
call fcn.005d2244
push eax
push SysStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExW
test eax, eax
jne 0x62b2cc
xor eax, eax
push ebp
push 0x62b2c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x62b388
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
test eax, eax
jne 0x62b2ae
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.005ea784
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x62b2ae
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, 0x100
call fcn.005ea784
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62b2cc
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x62b1cf
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.005b9f38
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x62b310
lea eax, [ebp - 0x3a0]
call fcn.005ea574
ret

Function at 0x62be68
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x73600c]
cmp byte [eax + 0xad], 0
jne 0x62beda
cmp dword [0x736024], 0
jne 0x62be9a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x729fec]
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExW
mov dword [0x736024], eax
cmp dword [0x736020], 0
jne 0x62beb5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x736020], eax
cmp dword [0x736028], 0
jne 0x62beda
push esp
push 0
push 0
mov eax, dword [0x72a0f4]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x736028], eax
pop edx
ret
Function at 0x62c200
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x62c217
add esp, 0xfffffff0
call fcn.005e90d0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.005c2594
mov eax, dword [0x730840]
cmp byte [eax], 0
jne 0x62c244
push 0
call sub.OLE32.DLL_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x730884]
cmp word [eax + 2], 0
jne 0x62c25e
mov eax, dword [0x730884]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0062e2f8
mov eax, dword [0x730888]
cmp word [eax + 2], 0
jne 0x62c278
mov eax, dword [0x730888]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0062e508
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x608924]
call fcn.0060ebf8
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x62eab8
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x60cdbc]
call fcn.006180d0
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x62c458
mov eax, dword [0x730838]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00618564
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x62eda0
mov dl, 1
mov eax, dword [0x5abb4c]
call fcn.005e8b6c
mov dword [ebx + 0x98], eax
push 0x100
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x730838]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.005d2090
test eax, eax
je 0x62c389
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.005d1e74
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.005d2074
test eax, eax
je 0x62c3a1
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.USER32.DLL_CharNextW
push eax
call sub.USER32.DLL_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, 0x100
call fcn.005ea784
push ebx
push 0x62dcc8
call fcn.00621e08
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x730840]
cmp byte [eax], 0
jne 0x62c3f2
mov eax, ebx
call fcn.0062c5cc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0062efcc
mov eax, ebx
call fcn.0062fc00
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x62c44f
call fcn.005e9128
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x62c8a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x62c942
cmp dword [ebx + 0x94], 0
jne 0x62c93c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x62c7ec
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x62c93c
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongW
test al, 8
je 0x62c902
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x62c93c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.005b6920
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x62c911
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x62cb60
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x73600c]
cmp dword [eax + 0x170], 0
je 0x62ccc5
test bl, bl
jne 0x62cc13
cmp dword [esi + 0x9c], 0
jne 0x62cc08
mov eax, esi
call fcn.0062fa50
push eax
push 0x62ca6c
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x62cbd9
mov eax, dword [0x73600c]
cmp byte [eax + 0xd3], 0
je 0x62cbd9
mov eax, dword [esi + 0xd8]
call fcn.005ebc58
mov edi, eax
cmp edi, 0
jl 0x62cbd9
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x62cbc2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x62cc08
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.005b6920
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x62cbe8
inc dword [esi + 0x9c]
jmp 0x62ccc5
cmp dword [esi + 0x9c], 0
jle 0x62ccc5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x62ccc5
cmp dword [esi + 0x44], 0
je 0x62cc70
mov eax, dword [0x73600c]
cmp byte [eax + 0xd3], 0
je 0x62cc70
mov eax, dword [esi + 0xd8]
call fcn.005ebc58
mov edi, eax
cmp edi, 0
jl 0x62cc70
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x62cc59
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x62cc9f
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.005b6920
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x62cc7f
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x61fce0]
call fcn.005ebe18
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x62d914
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x62d97f
cmp byte [ebx + 0xd3], 0
jne 0x62d97f
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.USER32.DLL_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.005ea6c0
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x62d96c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x62d98c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.005ea584
jmp 0x62d98c
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.005ea584
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x62f1b4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x62f222
mov eax, esi
call fcn.0064b248
test al, al
je 0x62f222
mov eax, dword [ebx + 0x84]
call fcn.0064ae9c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x62f222
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x62f216
push 0
mov eax, dword [ebx + 0x84]
call fcn.0064ae9c
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00641e70
jmp 0x62f222
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0062efec
pop esi
pop ebx
ret

Function at 0x6325c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, word [0x6325fc]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x6325d8
or bx, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x6325e8
or bx, 4
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x6325f8
or bx, 2
mov eax, ebx
pop ebx
ret
Function at 0x63f4c8
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 - 0xc]
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 [0x7360d0], 0
je 0x63f609
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x730870]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x63f609
mov eax, dword [0x7360d4]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x7360d0]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x63f5d8
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x7360d0]
call fcn.005b6920
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x63f5d0
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1ea], 0
je 0x63f5d0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x5c]
test al, al
je 0x63f5d0
mov eax, dword [ebp - 0x14]
call fcn.0064ae9c
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x63f5d0
push ebp
call fcn.0063f484
pop ecx
test al, al
jne 0x63f5d0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.005e8e28
test al, al
je 0x63f5d0
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.005e8e28
cmp byte [ebp - 1], 0
je 0x63f5d0
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x28]
call fcn.005ca728
test al, al
je 0x63f5d0
mov edx, dword [ebp - 0x14]
mov eax, dword [0x7360d4]
call fcn.0063ebdc
inc edi
dec ebx
jne 0x63f52d
mov eax, dword [0x7360d4]
cmp dword [eax + 8], 0
jle 0x63f5f0
mov eax, dword [0x7360d4]
call fcn.0063ec94
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x63f609
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0063f2e8
pop ecx
test al, al
jne 0x63f609
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 0x647a48
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.USER32.DLL_GetMessagePos
call fcn.005ca710
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.00641a90
test ebx, ebx
jne 0x647a9b
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.006478c4
mov ebx, eax
test ebx, ebx
je 0x647b91
cmp esi, ebx
je 0x647ac4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x647ad9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x647b11
add eax, 0xffffff5f
sub eax, 2
jb 0x647b29
dec eax
sub eax, 2
jb 0x647b3d
dec eax
sub eax, 2
jb 0x647b33
jmp 0x647b47
add eax, 0xfffffdff
sub eax, 2
jb 0x647b29
dec eax
sub eax, 2
jb 0x647b3d
dec eax
sub eax, 2
jb 0x647b33
jmp 0x647b47
mov byte [esp + 0x120], 0
jmp 0x647b4f
mov byte [esp + 0x120], 2
jmp 0x647b4f
mov byte [esp + 0x120], 1
jmp 0x647b4f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00621eb8
mov esi, eax
call fcn.0063e37c
or si, ax
mov word [esp + 0x121], si
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00643440
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x647b93
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret

Function at 0x6561c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x6561f6
mov eax, ebx
call fcn.00656c7c
cmp dword [ebx + 0x40], 0
je 0x6561ef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x656267
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x656259
cmp dword [ebx + 8], 0
je 0x656218
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x65622a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x656259
cmp dword [ebx + 8], 0
je 0x65620b
cmp eax, 3
je 0x65623d
dec eax
jne 0x65620b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x65620b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x65620b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x656285
cmp dword [ebx + 0x14], 0xcc
je 0x656285
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00656290
pop ebx
ret
Function at 0x66c1b4
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x736168
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x66c1d6
shr eax, 1
xor eax, 0xedb88320
jmp 0x66c1d8
shr eax, 1
dec edx
jne 0x66c1c4
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x66c1bd
mov byte [0x736568], 1
pop esi
pop ebx
ret

Function at 0x66c1f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x736568], 0
jne 0x66c20b
call fcn.0066c1b4
mov eax, edi
dec eax
test eax, eax
jl 0x66c233
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x736168]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x66c215
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x66efdc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x66f076.0
jmp dword [ecx*4 + 0x66f00f]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x66f041
sub dl, 8
je 0x66f050
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ec84
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ecdc
jmp case.0x66f076.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x66f076.0
movzx ecx, byte [ecx + 0x66f07d]
jmp dword [ecx*4 + 0x66f08e]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ed88
jmp case.0x66f076.0
cmp dl, 3
jne 0x66f0bb
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ede0
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ed9c
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ee24
jmp case.0x66f076.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x66f0e6
sub dl, 8
je 0x66f0f2
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ee50
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66eebc
jmp case.0x66f076.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x66f111
sub dl, 8
je 0x66f11d
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66ef78
jmp case.0x66f076.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x66efa0
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x66f1bf
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0066e188
test eax, eax
je 0x66f1bf
mov eax, ebx
call fcn.0066f1c8
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x66f158
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x66f1c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x66f1f9
dec al
je 0x66f234
dec al
je 0x66f279
dec al
je 0x66f2e2
jmp 0x66f36c
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x66f36c
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x66f209
jmp 0x66f36c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x66f36c
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x66f244
jmp 0x66f36c
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x66f36c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x66f2a8
xor ebp, ebp
jmp 0x66f2b8
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x66f2c1
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x66f289
jmp 0x66f36c
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x66f36c
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x66f33b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.0066c23c
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x66f2f6
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret