joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410180
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x507d28
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x4102b1
cmp byte [ebx + 0x45], 0
je 0x4102b1
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x4101cf
xor al, al
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [ebp - 0x28], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], ecx
cmp ecx, 0x10
movq qword [ebp - 0x28], xmm0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 8
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 8], 0
push esi
mov dword [ebp - 4], 0
push edi
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x40]
lea edi, [ebp - 0x28]
cmovae edi, dword [ebp - 0x28]
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
push eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41023b
dec eax
je 0x41023f
sub eax, 2
je 0x41028b
xor bl, bl
jmp 0x41028d
mov byte [ebx + 0x45], 0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
cmp ecx, 0x10
mov esi, dword [ebp - 0x10]
cmovae eax, edx
sub esi, eax
je 0x410271
push dword [ebx + 0x50]
cmp ecx, 0x10
lea eax, [ebp - 0x28]
push esi
cmovae eax, edx
push 1
push eax
call fcn.004d1ffb
add esp, 0x10
cmp esi, eax
jne 0x410237
cmp byte [ebx + 0x45], 0
je 0x41028b
test esi, esi
jne 0x410201
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.0040dfe0
jmp 0x410201
mov bl, 1
cmp dword [ebp - 0x14], 0x10
pop edi
pop esi
jb 0x4102a0
push dword [ebp - 0x28]
call fcn.004cf489
add esp, 4
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4154a0
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], 0
call fcn.004220d0
cmp word [eax], 0
je 0x4154fd
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0x20
movdqu xmmword [ebp - 0x24], xmm0
call fcn.004220d0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4154fd
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x656e0c]
test al, 1
jne 0x41551b
or eax, 1
mov dword [0x656e0c], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x656e08], eax
jmp 0x415520
mov eax, dword [0x656e08]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x415540
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push dword [0x656e08]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
push 0x51394c
push 0x15
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x415571
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, 0xffffffff
je 0x41557d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x415590
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], 0
call fcn.004220d0
cmp word [eax], 0
je 0x4155ed
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0x20
movdqu xmmword [ebp - 0x24], xmm0
call fcn.004220d0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4155ed
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x656e14]
test al, 1
jne 0x41560b
or eax, 1
mov dword [0x656e14], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x656e10], eax
jmp 0x415610
mov eax, dword [0x656e10]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x415630
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push dword [0x656e10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
push 0x51395c
push 0x15
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x415661
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, 0xffffffff
je 0x41566d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415680
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], 0
call fcn.004220d0
cmp word [eax], 0
je 0x4156dd
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0x20
movdqu xmmword [ebp - 0x24], xmm0
call fcn.004220d0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4156dd
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x656e04]
test al, 1
jne 0x4156fb
or eax, 1
mov dword [0x656e04], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x656e00], eax
jmp 0x415700
mov eax, dword [0x656e00]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x415720
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push dword [0x656e00]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
push 0x51393c
push 0x15
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x415751
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, 0xffffffff
je 0x41575d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x415770
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], 0
or esi, 0xffffffff
mov dword [edi], 0
call fcn.004220d0
cmp word [eax], 0
je 0x4157cd
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], 0x20
movdqu xmmword [ebp - 0x24], xmm0
call fcn.004220d0
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CreateActCtxW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4157cd
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [0x656dfc]
test al, 1
jne 0x4157eb
or eax, 1
mov dword [0x656dfc], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x656df8], eax
jmp 0x4157f0
mov eax, dword [0x656df8]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x415810
push eax
call dword [sym.imp.ole32.dll_CoInitialize]
push 1
push dword [0x656df8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_CLSIDFromProgID]
push edi
push 0x51392c
push 0x15
push 0
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 4]
test eax, eax
je 0x415841
push eax
push 0
call dword [sym.imp.KERNEL32.dll_DeactivateActCtx]
cmp esi, 0xffffffff
je 0x41584d
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseActCtx]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x417300
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5082b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CManagedPointingDeviceList.0
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], 0
test eax, eax
je 0x41733c
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x41734b
push eax
mov ecx, esi
call fcn.00431520
mov eax, dword [esi + 0x38]
test eax, eax
je 0x41735a
push eax
mov ecx, esi
call fcn.00431520
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x417369
push eax
mov ecx, esi
call fcn.00431520
mov eax, dword [esi + 0x44]
test eax, eax
je 0x417378
push eax
mov ecx, esi
call fcn.00431520
mov ecx, esi
call fcn.0041bd50
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00416c80
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x425940
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x508988
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
mov dword [ebp - 0x10], 0
push edi
lea ecx, [ebp - 0x48]
call fcn.00402b50
mov dword [ebp - 0x48], vtable.CMultiLevelRegistryKey.0
push 0
push 1
push 0
push str.SoftwareSynapticsSynTPEnh
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
call fcn.004bd990
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0x5114dc
lea ecx, [ebp - 0x48]
call fcn.004baa70
xor eax, eax
mov dword [esi + 0x30], 0
cmp dword [ebp - 0x10], eax
mov ecx, esi
push 4
setne al
mov dword [esi + 0x2c], eax
call fcn.0042a420
mov edi, eax
mov dword [ebp - 0x1c], SysStringLen
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], str.Control_PanelMouse
push eax
push esi
push 0x41b7a0
mov ecx, esi
call fcn.0042abf0
mov dword [esi + 0x34], eax
cmp dword [0x658600], 0
je 0x425a2e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], SysStringLen
push eax
push esi
push 0x429460
mov ecx, esi
mov dword [ebp - 0x18], str.SoftwareMicrosoftWindowsCurrentVersionPrecisionTouchPadStatus
call fcn.0042abf0
mov dword [esi + 0x38], eax
mov ecx, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], str.SoftwareMicrosoftWindowsCurrentVersionPrecisionTouchPad
push eax
push esi
push 0x429410
call fcn.0042abf0
mov dword [esi + 0x3c], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], reloc.OLEAUT32.dll_SysReAllocString
push eax
push esi
push fcn.004314a0
mov ecx, esi
mov dword [ebp - 0x18], str.SYSTEMCurrentControlSetServicesIBMPMSVCParameters2Type20Notification
call fcn.0042abf0
push esi
push 0
mov dword [esi + 0x44], eax
call fcn.004314a0
add esp, 8
lea eax, [ebp - 0x14]
push eax
push 0
push esi
push 0x4284a0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x48]
mov dword [esi + 0x40], eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x48], vtable.CMultiLevelRegistryKey.0
call fcn.00402cb0
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x427ea0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x6579c8], 0
push esi
mov esi, ecx
je 0x427ebe
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
xor eax, eax
pop esi
pop ebp
ret 8
push 0x10
call fcn.004cf48e
mov edx, eax
add esp, 4
test edx, edx
je 0x427ed7
xorps xmm0, xmm0
movdqu xmmword [edx], xmm0
jmp 0x427ed9
xor edx, edx
mov ecx, dword [0x6579c4]
xorps xmm0, xmm0
mov eax, dword [ebp + 8]
movdqu xmmword [edx], xmm0
mov dword [edx], eax
mov eax, dword [ebp + 0xc]
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [edx + 0xc], esi
cmp dword [esi + 0x50], 0
jne 0x427f3d
cmp dword [0x6579c8], 0
jne 0x427f3d
lea eax, [ebp + 8]
push eax
push 0
push edx
push 0x427f50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x50], eax
test byte [0x652fc0], 8
je 0x427f3d
push eax
push str.LaunchNewProfileDlgThread_handle_is__x_n
push 4
push str.CManagedPointingDevice::LaunchNewProfileDlgThread
call fcn.004cb3a0
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x436cc0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push 0x30
lea eax, [ebp - 0x30]
push 0
push eax
call fcn.004cf600
add esp, 0xc
mov dword [ebp - 0x30], 0x30
lea eax, [ebp - 0x30]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
push 0
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov edx, dword [0x5da9b4]
mov ecx, eax
shr ecx, 0x10
xor eax, eax
test edx, edx
jle 0x436d1f
lea esp, [esp]
cmp cx, word [eax*8 + 0x5da988]
je 0x436d22
inc eax
cmp eax, edx
jl 0x436d10
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret

Function at 0x436e90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push 0
call fcn.004c7a40
add esp, 4
cmp eax, 0xb
jge 0x436eae
xor al, al
mov esp, ebp
pop ebp
ret
push esi
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x206]
push eax
call fcn.004cf600
add esp, 0xc
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, eax
lea eax, [ebp - 0x208]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0x208], 0
je 0x436f2a
push dword [0x5da974]
push esi
call fcn.004cc970
add esp, 8
test al, al
je 0x436f2a
push 0x208
lea eax, [ebp - 0x208]
push eax
push dword [0x5da970]
call fcn.004d277f
add esp, 0xc
test eax, eax
jne 0x436f2a
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x436f40
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push 0
mov esi, ecx
call fcn.004c7a40
add esp, 4
cmp eax, 0xa
jl 0x436f97
mov ecx, esi
call fcn.00436cc0
mov dword [esi + 0x18], eax
cmp eax, 0xffffffff
je 0x436f97
push esi
push 0x436dc0
mov word [esi + 0x14], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [esi + 0x1c], 0
je 0x436f84
mov al, 1
pop esi
ret
cmp byte [esi + 0x14], 0
je 0x436f97
mov eax, dword [esi + 0x18]
cmp byte [eax*8 + 0x5da98a], 0
jne 0x436f80
xor al, al
pop esi
ret
Function at 0x437c70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
lea eax, [ebp - 0x208]
push ebx
push edi
push 0x208
push 0
push eax
mov ebx, ecx
call fcn.004cf600
add esp, 0xc
lea eax, [ebp - 0x208]
push 0x104
push eax
mov eax, dword [ebp + 0x10]
lea eax, [eax + eax*2]
add eax, eax
push dword [ebx + eax*8 + 0x2990]
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push dword [ebp + 0xc]
lea ecx, [ebx + 0x28b8]
push dword [ebp + 8]
call fcn.00439200
push dword [ebp + 8]
lea ecx, [ebx + 0x28b8]
call fcn.00438b20
test eax, eax
je 0x437d1c
cmp word [ebp - 0x208], 0
je 0x437d30
push 0x517e38
mov ecx, ebx
call fcn.00437da0
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.00437da0
cmp dword [ebp + 0xc], 1
mov edx, str._UP
mov eax, 0x517e3c
mov ecx, ebx
cmovne eax, edx
push eax
call fcn.00437da0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 1
jne 0x437d30
lea eax, [ebp - 0x208]
mov ecx, ebx
push eax
call fcn.00437da0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x438c30
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push 0
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ebx, eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx eax, ax
mov ecx, ebx
mov edx, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
and edx, 0xfff
cmp edx, 0x412
sete dl
and ecx, 0xfff
cmp ecx, 0x412
mov byte [ebp - 1], dl
sete byte [ebp - 2]
cmp eax, 0x100
ja 0x438cb7
je case.0x438cd7.260
mov ecx, eax
sub ecx, 0x7b
je 0x438daf
sub ecx, 0xc
jne case.0x438cd7.259
mov eax, dword [esi + 0x5988]
neg eax
pop edi
sbb eax, eax
and eax, 4
pop esi
or eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x111
ja 0x438e02
je case.0x438cd7.258
lea ecx, [eax - 0x101]
cmp ecx, 5
ja case.0x438cd7.259
jmp dword [ecx*4 + 0x438e28]
test byte [0x652fc0], 4
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
je 0x438d10
mov eax, dword [ebp - 8]
push ebx
push edi
movzx eax, ax
push eax
push dword [ebp - 0xc]
push str.ulLocale0x_8x__ulLang0x_8x__wParam0x_2x__lParam0x_2x_n
push 3
push str.CMacroDialog::MyEditProc
call fcn.004cb3a0
mov dl, byte [ebp - 1]
add esp, 0x1c
cmp byte [ebp - 2], 0
jne 0x438d1a
test dl, dl
je 0x438d26
cmp edi, 0xe5
jne 0x438d26
test ebx, ebx
js case.0x438cd7.258
push dword [ebp - 8]
mov ecx, esi
push dword [ebp - 0xc]
push 0
push ebx
push edi
call fcn.00439120
test eax, eax
je 0x438d60
lea ecx, [esi + 0x28b8]
call fcn.00437fd0
dec eax
mov ecx, esi
push eax
push 0
push edi
call fcn.00437c70
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x5988], 0
mov edi, dword [ebp + 0x10]
jne 0x438dba
cmp edi, 0xd
je 0x438d8c
cmp edi, 9
jne 0x438dba
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
shr eax, 0xf
push 0
and eax, 1
push eax
push 0x28
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 1
push edi
mov ecx, esi
call fcn.00439230
test eax, eax
je case.0x438cd7.258
push dword [ebp - 8]
mov ecx, esi
push ebx
push 1
push dword [ebp + 0x14]
push edi
call fcn.00439120
test eax, eax
je 0x438d60
lea ecx, [esi + 0x28b8]
call fcn.00437fd0
dec eax
mov ecx, esi
push eax
push 1
push edi
call fcn.00437c70
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x205
je 0x438daf
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
push dword [esi + 0x5984]
call dword [sym.imp.USER32.dll_CallWindowProcW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x439120
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov edi, ecx
cdq
push 0x14
mov dword [edi + 0x2968], eax
mov ax, word [ebp + 0x18]
mov dword [edi + 0x296c], edx
mov word [edi + 0x2970], ax
mov dword [edi + 0x28d8], 1
mov dword [edi + 0x2964], 2
call esi
and eax, 1
push 0x10
mov dword [ebp + 0x18], eax
call esi
shr eax, 0xf
and eax, 1
mov dword [edi + 0x28d0], eax
je 0x439189
cmp dword [ebp + 0x10], 0
jne 0x439189
mov dword [edi + 0x28d0], 0
lea ecx, [edi + 0x28b8]
call fcn.00437fd0
mov esi, dword [ebp + 8]
test eax, eax
jne 0x4391a7
cmp dword [ebp + 0x10], 0
jne 0x4391a7
cmp si, 0xd
je 0x4391f3
movzx eax, si
add eax, 0xffffffa5
cmp eax, 2
jbe 0x4391f3
cmp dword [edi + 0x5988], 0
je 0x4391f3
lea ecx, [edi + 0x28b8]
call fcn.00438380
test eax, eax
jne 0x4391f3
push 1
push dword [ebp + 0x18]
lea ecx, [edi + 0x28b8]
push dword [edi + 0x28d0]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00437890
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x14
Function at 0x43ab20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43ab91
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x43ab5f
cmp eax, 2
jne 0x43ab7b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x43ab8b
test ecx, ecx
je 0x43ab86
test cl, 1
jne 0x43ab7b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x43ab8b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x43b540
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x43b555
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x43b560
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43b560
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x440b20
Capabilities:
Access peb ldr_data
Find taskbar
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50922f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi + 4], 2
push 0x200
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CPluginAction.0
call fcn.004408c0
lea ecx, [edi + 0x98]
mov dword [edi + 0x80], 4
call fcn.00440880
lea eax, [edi + 0xc4]
mov dword [edi + 0x98], vtable.CPluginAction::CActionTrackerList.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0xdc]
mov byte [ebp - 4], 2
call fcn.00434070
push 0
push str.Shell_TrayWnd
mov byte [ebp - 4], 3
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x440bf4
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
push 0x519678
push eax
mov dword [edi + 0x10], eax
call fcn.00412bd0
add esp, 8
test eax, eax
jne 0x440bd2
mov dword [edi + 0x10], eax
test byte [0x652fc0], 4
je 0x440bfb
push dword [edi + 0x10]
push str.m_hwndStartButton0x_08X_n
push 3
push str.CPluginAction::CPluginAction
call fcn.004cb3a0
add esp, 0x10
jmp 0x440bfb
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0xc], 0
call fcn.00447e00
push 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x38], 0x4b
mov dword [edi + 0x34], 0x1f4
mov dword [edi + 0x3c], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0x3e89374c
mov dword [edi + 0x7c], 0xc
mov dword [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x94], 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x84], eax
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x447d80
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esi + 0x1c], eax
test eax, eax
jne 0x447db4
test byte [0x652fc0], 1
je 0x447dad
push str.Failed_to_init_zoom_window._n
push 1
push str.CPluginAction::Init
call fcn.004cb3a0
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 4
mov dword [eax + 0xc], 1
mov ecx, dword [esi + 0x1c]
push 0
call fcn.004a9790
mov eax, dword [esi + 0x1c]
push 0
push dword [eax + 0xb8]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
pop esi
pop ebp
ret 4