joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42bee0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8430
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x30], vtable.StringStorage.0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
mov edi, dword [ebp + 8]
push eax
push edi
call fcn.0042b150
lea eax, [ebp - 0x30]
push eax
push edi
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x4c]
push dword [esi + 4]
call fcn.0041ed90
mov ecx, dword [ebp - 0x48]
test ecx, ecx
jne 0x42bfe2
xor bl, bl
mov dword [ebp - 0x4c], vtable.RegistryKey.0
jmp 0x42c036
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x10], 3
mov eax, dword [esi]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42c00e
xor bl, bl
jmp 0x42c015
mov eax, dword [ebp + 8]
mov bl, 1
mov dword [esi], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x4c], vtable.RegistryKey.0
test eax, eax
je 0x42c036
cmp eax, dword [ebp - 0x44]
je 0x42c02f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42c080
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b83b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], vtable.StringStorage.0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov dword [ebp - 4], 1
mov dword [ebp - 0x2c], vtable.StringStorage.0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x1c]
push eax
push edi
mov byte [ebp - 4], 3
call fcn.0042b150
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.0042b200
push ecx
push 0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
push dword [esi + 4]
call fcn.0041ed90
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x42c182
xor bl, bl
mov dword [ebp - 0x48], vtable.RegistryKey.0
jmp 0x42c1ba
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 3
push 0
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov dword [ebp - 0x48], vtable.RegistryKey.0
mov eax, dword [ebp - 0x44]
sete bl
test eax, eax
je 0x42c1ba
cmp eax, dword [ebp - 0x40]
je 0x42c1b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x3c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x2c], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x1c], vtable.StringStorage.0
call fcn.00403b90
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42dcc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8708
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46e520
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [edi + 4], eax
mov dword [edi], vtable.GuiThread.0
mov dword [edi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [edi + 0x10], eax
mov eax, dword [ebp + 8]
lea esi, [edi + 0x18]
mov dword [ebp - 4], 0
mov dword [edi], vtable.DesktopSrvDispatcher.0
mov dword [edi + 0x14], eax
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0042e0c0
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x24], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4308c0
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8b5e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
lea eax, [edi + 0x28]
mov dword [edi], vtable.WindowsUserInput.0
mov dword [edi + 8], vtable.WindowsDisplays.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
push eax
mov dword [edi + 0x24], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov esi, dword [ebp + 0x10]
lea ecx, [edi + 0x4c]
push esi
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.0046f050
mov byte [ebp - 4], 2
push 0x34
mov byte [edi + 0x58], 0
mov dword [edi + 0x5c], esi
call fcn.004971c4
mov edi, dword [edi + 0x5c]
mov ebx, eax
mov ecx, dword [0x4fee98]
push str.Tvnserver.Clipboard.MessageWindow
mov dword [ebp + 0x10], ebx
mov dword [ebx], vtable.MessageWindow.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], 0
call fcn.004ac6a2
add esp, 8
mov dword [ebx + 0x10], eax
lea esi, [ebx + 0x14]
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push eax
push 4
push esi
push 0x46e520
push 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [esi + 4], eax
mov dword [esi], vtable.GuiThread.0
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov dword [ebx], vtable.WindowsClipboard.0
mov dword [esi], vtable.WindowsClipboard.1.0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], eax
mov dword [ebx + 0x30], edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4315a0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8cfa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x20
mov dword [ebx], vtable.DesktopConfigLocal.0
call fcn.004971c4
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.InputBlocker.0
lea esi, [edi + 4]
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46e520
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0x400001cf
push 1
push 0
mov dword [esi + 4], eax
mov dword [esi], vtable.GuiThread.0
mov dword [esi + 0x10], 0
call dword [sym.imp.USER32.dll_OpenInputDesktop]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, 0x4fb504
mov byte [ebp - 4], 2
mov dword [edi], vtable.WindowsInputBlocker.0
mov dword [esi], vtable.WindowsInputBlocker.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], eax
mov eax, dword [vtable.LocalMutex.0]
mov dword [ebp - 0x18], vtable.AutoLock.0
mov dword [ebp - 0x14], 0x4fb504
call dword [eax + 4]
mov byte [ebp - 4], 3
cmp dword [0x4fee58], 0
jne 0x4316bc
mov dword [0x4fee58], edi
mov byte [ebp - 4], 4
mov ecx, 0x4fb504
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, ebx
mov dword [ebx + 4], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
push str.The_only_one_instance_ofWindowsInputBlocker_is_allowed
push eax
call fcn.00404e00
add esp, 8
lea eax, [ebp - 0x2c]
push 0x4f7790
push eax
call fcn.00498928
int3
Function at 0x434500
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b92b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
mov edi, dword [ebp + 8]
xor edx, edx
mov esi, edi
mov dword [ebp - 4], 1
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x434587
sub esi, ecx
mov ecx, edx
sar esi, 1
je 0x4345b2
nop word [eax + eax]
cmp word [edi + ecx*2], 0xa
lea eax, [edx + 1]
cmovne eax, edx
inc ecx
mov edx, eax
cmp ecx, esi
jb 0x4345a0
lea eax, [edx + 1]
xor ecx, ecx
add eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00497402
add esp, 4
xor ecx, ecx
xor edx, edx
mov ebx, eax
test esi, esi
je 0x434609
nop word [eax + eax]
movzx eax, word [edi + edx*2]
mov edi, eax
cmp eax, 0xa
jne 0x4345fc
mov eax, 0xd
mov word [ebx + ecx*2], ax
inc ecx
mov eax, dword [ebp + 8]
movzx edi, word [eax + edx*2]
mov word [ebx + ecx*2], di
inc edx
mov edi, dword [ebp + 8]
inc ecx
cmp edx, esi
jb 0x4345e0
xor eax, eax
mov word [ebx + ecx*2], ax
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x20]
push ebx
call dword [eax + 4]
push ebx
call fcn.004973fd
mov eax, dword [ebp - 0x10]
add esp, 4
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43467a
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x1c]
and esi, 0xfffffffe
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x434674
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push dword [ebp - 0x1c]
push eax
call fcn.0049a3f0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.00403b90
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4346a0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push 0x4cb34c
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 4]
push 0xd
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4346fd
push dword [esi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4346fd
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x4346f7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4346f7
mov edx, dword [edi]
mov ecx, edi
push eax
call dword [edx + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
ret 4
Function at 0x435960
Capabilities:
Resume thread

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov edi, ecx
push dword [edi + 0x60]
call esi
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x68], al
push dword [edi + 0x100]
call esi
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x108], al
push dword [edi + 0x218]
call esi
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x220], al
push dword [edi + 0x260]
call esi
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x268], al
push dword [edi + 0x2a8]
call esi
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x2b0], al
pop edi
pop esi
ret
Function at 0x4381a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b98c8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0x78]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x438203
push str.nobody_is_ready_for_updates
push dword [esi + 0x84]
call fcn.00405710
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x5c]
call fcn.00431e10
mov dword [ebp - 4], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438223
cmp dword [eax + 4], 0
je 0x438242
push str.set_full_update_request_to_UpdateHandler
push dword [esi + 0x84]
call fcn.00405710
mov ecx, dword [esi + 0x3c]
lea eax, [esi + 0x10]
add esp, 8
mov edx, dword [ecx]
push eax
call dword [edx + 8]
push str.extracting_updates_from_UpdateHandler
push dword [esi + 0x84]
call fcn.00405710
mov ecx, dword [esi + 0x3c]
lea edx, [ebp - 0x5c]
add esp, 8
mov eax, dword [ecx]
push edx
call dword [eax + 4]
jmp 0x438290
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x4382f2
cmp dword [eax + 4], 0
jne 0x4382f2
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4382f2
cmp dword [eax + 4], 0
jne 0x4382f2
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4382f2
cmp dword [eax + 4], 0
jne 0x4382f2
cmp byte [ebp - 0x2c], 0
jne 0x4382f2
cmp byte [ebp - 0x2b], 0
jne 0x4382f2
cmp byte [ebp - 0x2a], 0
jne 0x4382f2
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4382f2
cmp dword [eax + 4], 0
jne 0x4382f2
push str.UpdateContainer_is_empty
push dword [esi + 0x84]
call fcn.004056e0
add esp, 8
jmp 0x43835a
push str.UpdateContainer_is_not_empty._Updates_will_be_given_to_all.
push dword [esi + 0x84]
call fcn.00405740
mov ecx, dword [esi + 0x78]
add esp, 8
mov eax, dword [esi + 0x3c]
add eax, 0x48
mov edx, dword [ecx]
push eax
lea eax, [ebp - 0x5c]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x20]
call dword [eax + 4]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x438336
cmp dword [eax], 0
je 0x438336
push eax
call fcn.0049f585
add esp, 4
movzx eax, word [esi + 0x14]
mov word [esi + 0x18], ax
movzx eax, word [esi + 0x16]
mov word [esi + 0x1a], ax
mov dword [esi + 0x1c], 0x4fee7c
mov byte [ebp - 4], 3
lea ecx, [esi + 0x20]
mov eax, dword [esi + 0x20]
call dword [eax + 8]
lea ecx, [ebp - 0x5c]
call fcn.00431ec0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4385f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9967
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x46e520
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [edi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [edi], vtable.DesktopServerWatcher.0
mov dword [edi + 0x10], 0
mov dword [edi + 0x18], eax
mov dword [ebp - 0x34], vtable.StringStorage.0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
add esp, 0xc
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0041cae0
mov dword [ebp - 0x24], vtable.StringStorage.0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.00403cc0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x4cb34c
push ecx
call fcn.0049a3f0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x24]
push dword [ebp - 0x30]
push str.__s_
push eax
call fcn.00403a90
mov byte [ebp - 4], 5
add esp, 0x18
mov eax, dword [vtable.LocalMutex.0]
mov ecx, 0x4fb558
call dword [eax + 4]
mov esi, dword [0x4fee84]
mov byte [ebp - 4], 6
mov ecx, 0x4fb558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 5
lea ecx, [esi + 0x2c]
mov eax, dword [esi + 0x2c]
call dword [eax + 4]
mov al, byte [esi + 0xc6]
mov byte [ebp + 0xb], al
mov byte [ebp - 4], 7
lea ecx, [esi + 0x2c]
mov eax, dword [esi + 0x2c]
call dword [eax + 8]
push 0x48
mov byte [ebp - 4], 5
call fcn.004971c4
mov esi, eax
add esp, 4
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 8
mov ecx, esi
mov ebx, dword [edi + 0x18]
push 0
push dword [ebp - 0x20]
call fcn.0041c490
mov al, byte [ebp + 0xb]
lea ecx, [ebp - 0x20]
mov dword [esi], vtable.CurrentConsoleProcess.0
mov dword [esi + 0x40], ebx
mov byte [esi + 0x44], al
mov dword [edi + 0x10], esi
mov dword [ebp - 0x24], vtable.StringStorage.0
call fcn.00403b90
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], vtable.StringStorage.0
call fcn.00403b90
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43a8d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
push esi
push 0x43a960
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
mov dword [esi + 8], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.USER32.dll_EnumWindows]
lea edi, [esi + 0x28]
lea ecx, [esi + 0x20]
cmp ecx, edi
je 0x43a921
mov eax, dword [edi]
push eax
push dword [eax]
call fcn.0043aba0
mov ecx, edi
call fcn.0043ab40
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 8]
pop edi
mov dword [ecx + 4], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0x10]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x10], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
mov dword [ecx], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 4], eax
pop esi
pop ebp
ret 8

Function at 0x43ad90
Capabilities:
Access peb ldr_data
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9d39
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.ScreenDriver.0
lea esi, [edi + 4]
mov dword [ebp - 4], 0
lea eax, [esi + 8]
mov dword [esi], vtable.Thread.0
push eax
push 4
push esi
push 0x46e520
push 0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
mov eax, dword [0x4fee6c]
mov dword [edi], vtable.WinVideoRegionUpdaterImpl.0
mov dword [esi], vtable.WinVideoRegionUpdaterImpl.1.0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], vtable.Region.0
mov dword [edi + 0x24], eax
mov eax, dword [0x4fee70]
mov dword [edi + 0x28], eax
mov dword [edi + 0x2c], 0x4fee7c
lea eax, [edi + 0x34]
mov dword [edi + 0x30], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 8]
push ecx
mov byte [ebp - 4], 3
lea ecx, [edi + 0x50]
mov dword [edi + 0x4c], eax
call fcn.0041d1d0
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43bf30
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9f3b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4fa008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.00441f30
push ecx
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x1c]
mov dword [ebx], vtable.HooksUpdateDetector.0
call fcn.0041d1d0
lea esi, [ebx + 0x2c]
mov dword [ebx + 0x24], 0
lea eax, [esi + 8]
mov dword [ebx + 0x28], 0
push eax
push 4
push esi
push 0x46e520
mov dword [ebp + 0xc], esi
push 0
mov dword [esi], vtable.Thread.0
mov byte [esi + 0xc], 0
push 0
mov byte [esi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
push ecx
mov byte [ebp - 4], 2
lea ecx, [esi + 0x10]
mov dword [esi], vtable.HookUpdateTimer.0
call fcn.0041d1d0
push ecx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.0041d1d0
push dword [esi + 4]
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [esi + 0xc], al
push 0x4cb34c
push 0x4cb34c
lea ecx, [ebx + 0x50]
mov byte [ebp - 4], 4
call fcn.0041c490
mov eax, dword [ebp + 0x10]
push 0x4d6ad8
mov byte [ebp - 4], 5
push eax
mov dword [ebx + 0x90], eax
call fcn.00405740
push 0x10
mov byte [ebp - 4], 6
call fcn.004971c4
mov esi, eax
add esp, 0xc
mov dword [ebp + 0xc], esi
mov byte [ebp - 4], 7
mov ecx, esi
push str.screenhooks32.dll
mov dword [esi], vtable.DynamicLibrary.0
mov dword [esi + 4], 0
call fcn.0041f7e0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [ebx + 0x24], esi
mov dword [ebp - 4], 5
jmp 0x43c0a1
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x14
mov esi, eax
call fcn.004971c4
mov edi, eax
mov dword [ebp + 0xc], edi
push str.HookTargetWinClassName
mov dword [edi], vtable.MessageWindow.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
call fcn.004ac6a2
mov dword [edi + 0x10], eax
add esp, 8
mov dword [ebx + 0x28], edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x43c920
Capabilities:
Resume thread

Disassembly:
push edi
mov edi, ecx
push dword [edi + 0x60]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x68], al
push dword [edi + 0x100]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0x108], al
pop edi
ret