joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60a188
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
mov edi, eax
test bl, bl
je 0x60a1a9
test edi, 0x40000
je 0x60a1c3
test bl, bl
jne 0x60a244
mov eax, 0x40000
and eax, edi
cmp eax, 0x40000
jne 0x60a244
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x60a1f6
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x60a20b
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
jmp 0x60a21a
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongW
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x60a22b
cmp byte [esp + 2], 0
je 0x60a244
cmp byte [esp + 2], 0
je 0x60a23c
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x60a244
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x60a4e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x60a50e
mov eax, esp
push eax
push 0x60a4b0
call sub.user32.dll_EnumWindows
jmp 0x60a521
mov eax, esp
push eax
push 0x60a490
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x60a5e4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov ebx, eax
movzx esi, word [0x60a634]
test bl, 4
je 0x60a5f8
or si, 1
test bl, 8
je 0x60a601
or si, 4
test bl, 1
je 0x60a60a
or si, 8
test bl, 2
je 0x60a613
or si, 0x10
test bl, 0x10
je 0x60a61c
or si, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60a62c
or si, 2
mov eax, esi
pop esi
pop ebx
ret

Function at 0x60a638
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, word [0x60a674]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60a653
or bx, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x60a663
or bx, 4
test esi, 0x20000000
je 0x60a66f
or bx, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x60a6c8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
add esp, 0xffffff00
push esp
call sub.user32.dll_GetKeyboardState
mov eax, esp
call fcn.0060a678
mov ebx, eax
mov eax, ebx
add esp, 0x100
pop ebx
ret
Function at 0x613a40
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x613a52
add esp, 0xfffffff0
call fcn.00408728
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c4bcc
mov eax, dword [0x751ea8]
mov dword [eax + 4], ebx
mov dword [eax], 0x613f0c
mov eax, dword [0x751ec0]
mov dword [eax + 4], ebx
mov dword [eax], 0x613f18
mov eax, ebx
call fcn.00613f24
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x60e410
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x505bd0]
call fcn.0050c2b0
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x505bd0]
call fcn.0050c2b0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x505bd0]
call fcn.0050c2b0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x505bd0]
call fcn.0050c2b0
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x505bd0]
call fcn.0050c2b0
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.00614500
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x614330
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x614330
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x614330
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x614330
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x614330
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x613bd2
call fcn.00408780
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x6140d0
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 0x61427b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x61425c
mov dl, 1
mov eax, dword [0x4904b8]
call fcn.004b3ffc
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409e8c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x61424b
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.00545300
test al, al
je 0x61423e
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, 0x61428c
lea eax, [ebp - 0x394]
call fcn.00425790
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x61423e
xor eax, eax
push ebp
push 0x614237
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x6142fc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x614220
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040ab80
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x614220
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040ab80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61423e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x614141
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b3f20
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x614282
lea eax, [ebp - 0x3a0]
call fcn.00409e8c
ret

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

Disassembly:
push ecx
mov eax, dword [0x75917c]
cmp byte [eax + 0xc5], 0
jne 0x614efa
cmp dword [0x7591a0], 0
jne 0x614eba
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x74ddc0]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x7591a0], eax
cmp dword [0x75919c], 0
jne 0x614ed5
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x75919c], eax
cmp dword [0x7591a4], 0
jne 0x614efa
push esp
push 0
push 0
mov eax, dword [0x74ddbc]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x7591a4], eax
pop edx
ret
Function at 0x61531c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x615333
add esp, 0xfffffff0
call fcn.00408728
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c4bcc
mov eax, dword [0x751b58]
cmp byte [eax], 0
jne 0x615360
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x752328]
cmp word [eax + 2], 0
jne 0x61537a
mov eax, dword [0x752328]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00617710
mov eax, dword [0x7525e0]
cmp word [eax + 2], 0
jne 0x615394
mov eax, dword [0x7525e0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00617914
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x505bd0]
call fcn.0050c2b0
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x617e8c
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x50ab24]
call fcn.00516680
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x615584
mov eax, dword [0x752038]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00516bac
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x618174
mov dl, 1
mov eax, dword [0x48c928]
call fcn.00408070
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x752038]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00425590
test eax, eax
je 0x6154ae
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.004253e8
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00425574
test eax, eax
je 0x6154c6
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 + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040ab80
push ebx
push 0x6170ec
call fcn.0060a5c8
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x751b58]
cmp byte [eax], 0
jne 0x615517
mov eax, ebx
call fcn.00615768
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.006183ac
mov eax, ebx
call fcn.00619034
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x61557b
call fcn.00408780
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x615aac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x615b4e
cmp dword [ebx + 0xac], 0
jne 0x615b48
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x6159e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x615b48
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 0x615b0e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x615b48
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004af480
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x615b1d
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x75917c]
cmp dword [eax + 0x188], 0
je 0x615f82
test bl, bl
jne 0x615ecd
cmp dword [esi + 0xb4], 0
jne 0x615ec2
mov eax, esi
call fcn.00618e84
push eax
push 0x615cfc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x615e93
mov eax, dword [0x75917c]
cmp byte [eax + 0xeb], 0
je 0x615e93
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x615e74
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x615e93
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x615e7c
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x615ec2
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004af480
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x615ea2
inc dword [esi + 0xb4]
jmp 0x615f82
cmp dword [esi + 0xb4], 0
jle 0x615f82
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x615f82
cmp dword [esi + 0x58], 0
je 0x615f37
mov eax, dword [0x75917c]
cmp byte [eax + 0xeb], 0
je 0x615f37
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x615f18
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x615f37
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x615f20
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x615f66
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004af480
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x615f46
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x606e0c]
call fcn.0040c814
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x616c20
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x616c7d
cmp byte [ebx + 0xeb], 0
jne 0x616c7d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040a014
mov eax, dword [esi]
test eax, eax
je 0x616c6a
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x616c8a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a26c
jmp 0x616c8a
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040a26c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x6185c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x618631
mov eax, esi
call fcn.0053edd0
test al, al
je 0x618631
mov eax, dword [ebx + 0x98]
call fcn.0053e9fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x618631
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x618622
push 0
mov eax, dword [ebx + 0x98]
call fcn.0053e9fc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005354b4
jmp 0x618631
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.006183cc
pop esi
pop ebx
ret
Function at 0x62e508
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x62e52f
push 0
push 0
mov dx, 4
mov eax, ebx
call fcn.0062d9b8
cmp dword [ebx + 0x48], 0xffffffff
jne 0x62e544
push 0xffffffffffffffff
push 0xffffffffffffffe8
mov dx, 0x18
mov eax, ebx
call fcn.0062d9b8
mov eax, dword [esi]
push eax
mov edx, edi
mov ecx, dword [ebp - 4]
xor eax, eax
call fcn.0062e4c4
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_WriteFile_1
test eax, eax
jne 0x62e57c
call sub.KERNEL32.DLL_GetLastError_2
cmp eax, 0x3e5
je 0x62e57c
xor eax, eax
jmp 0x62e57e
mov al, 1
test al, al
jne 0x62e596
call sub.KERNEL32.DLL_GetLastError_2
xor edx, edx
push edx
push eax
mov dx, 2
mov eax, ebx
call fcn.0062d9b8
mov cl, 1
mov dl, 6
mov eax, ebx
call fcn.006326c8
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4

Function at 0x62e988
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
cmp dword [esi], 0
jne 0x62e9af
push 0
push 0
mov dx, 4
mov eax, ebx
call fcn.0062d9b8
mov eax, dword [esi]
mov byte [eax + 0x14], 1
cmp dword [ebx + 0x48], 0xffffffff
jne 0x62e9ca
push 0xffffffffffffffff
push 0xffffffffffffffe8
mov dx, 0x18
mov eax, ebx
call fcn.0062d9b8
mov eax, dword [esi]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push edi
mov eax, dword [ebx + 0x48]
push eax
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x62e9f3
call sub.KERNEL32.DLL_GetLastError_2
cmp eax, 0x3e5
je 0x62e9f3
xor eax, eax
jmp 0x62e9f5
mov al, 1
test al, al
jne 0x62ea0d
call sub.KERNEL32.DLL_GetLastError_2
xor edx, edx
push edx
push eax
mov dx, 3
mov eax, ebx
call fcn.0062d9b8
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x632b7c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x632cb0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0x632cc0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
mov ebx, eax
test ebx, ebx
jne 0x632c95
mov dl, 1
mov eax, dword [0x4904b8]
call fcn.004b3ffc
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x632c8e
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov dword [ebp - 0x10], pe_nt_image_headers32
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.0040ac58
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.0040ac58
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
call fcn.0040aac4
push eax
lea eax, [ebp - 0x18]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
call fcn.0040aac4
push eax
push esi
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegEnumValueW
mov ebx, eax
test ebx, ebx
jne 0x632c4e
mov edx, dword [ebp - 0x14]
dec edx
lea eax, [ebp - 8]
call fcn.0040ac58
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
inc esi
jmp 0x632c56
cmp ebx, 0x103
jne 0x632c5a
test ebx, ebx
je 0x632be0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx + 0xa4]
mov edx, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x632c95
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, dword [ebp - 0x1c]
call fcn.004080a0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x632cb7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00409eec
ret
Function at 0x644d98
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
test dl, dl
je 0x644db7
add esp, 0xfffffff0
call fcn.00408728
mov esi, ecx
mov byte [ebp - 5], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x644e9c
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, ebx
call fcn.00408070
mov dword [ebx + 8], 0xffffffff
movzx eax, byte [0x644ec4]
mov byte [ebp - 6], al
lea eax, [ebx + 4]
mov edx, esi
call fcn.0040a26c
lea eax, [ebp - 4]
call fcn.00409e8c
lea eax, [ebp - 6]
push eax
lea eax, [ebx + 0x14]
push eax
lea eax, [ebx + 0x18]
push eax
lea ecx, [ebp - 4]
mov edx, dword [ebx + 4]
mov eax, dword [0x759260]
mov esi, dword [eax]
call dword [esi + 0x30]
mov dword [ebx + 8], eax
movzx eax, byte [ebp - 6]
call fcn.0063d1ec
mov dword [ebx + 0xc], eax
mov word [ebx + 0x38], 0xc0
lea eax, [ebx + 0x30]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebx + 0x38]
mov edx, dword [ebx + 8]
mov eax, dword [0x759260]
mov esi, dword [eax]
call dword [esi + 0x3c]
lea edx, [ebp - 0x1c]
lea eax, [ebx + 0x20]
call fcn.004359dc
lea eax, [ebx + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
mov word [ebx + 0x10], ax
lea eax, [ebx + 0x20]
call fcn.0043d55c
test al, al
jne 0x644e75
movzx eax, word [ebx + 0x10]
call fcn.00644d74
test al, al
jne 0x644e79
xor eax, eax
jmp 0x644e7b
mov al, 1
mov byte [ebx + 0x3a], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x644ea3
lea eax, [ebp - 0x1c]
call fcn.0043516c
lea eax, [ebp - 4]
call fcn.00409e8c
ret
Function at 0x64ecbc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x64ecea
mov eax, ebx
call fcn.0064f778
cmp dword [ebx + 0x40], 0
je 0x64ece3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x64ed5b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x64ed4d
cmp dword [ebx + 8], 0
je 0x64ed0c
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 0x64ed1e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x64ed4d
cmp dword [ebx + 8], 0
je 0x64ecff
cmp eax, 3
je 0x64ed31
dec eax
jne 0x64ecff
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 0x64ecff
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x64ecff
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x64ed79
cmp dword [ebx + 0x14], 0xcc
je 0x64ed79
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.0064ed84
pop ebx
ret

Function at 0x6872f0
Capabilities:
Log keystrokes via polling

Disassembly:
push 2
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x687311
push 1
call sub.user32.dll_GetAsyncKeyState
movsx eax, ax
test ah, 0x80
jne 0x687311
xor eax, eax
ret
mov al, 1
ret