joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a430
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a4f3
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46a4f3
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a497
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a480
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a49e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46a4e3
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x138]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46a4f3
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a510
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a5d3
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46a5d3
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a577
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a560
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a57e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46a5c3
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x140]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46a5d3
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a5f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a6b3
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46a6b3
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a657
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a640
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a65e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46a6a3
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x14c]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46a6b3
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a6d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a793
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46a793
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a737
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a720
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a73e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46a783
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x13c]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46a793
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a7b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a873
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46a873
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a817
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a800
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a81e
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46a863
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x148]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46a873
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46a890
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46a953
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46a953
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a8f7
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a8e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a8fe
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46a943
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x130]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46a953
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46a970
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
push 0
mov eax, dword [ebx + 4]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
lea ecx, [ebx + 4]
call esi
mov esi, eax
push esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46aa33
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x46aa33
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46a9d7
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46a9c0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
jmp 0x46a9de
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
cmp edi, dword [ebp - 4]
je 0x46aa23
mov ecx, dword [ebx]
mov esi, dword [ecx + 0x144]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [0x55464c]
mov esi, dword [ebp - 8]
add esp, 4
mov dword [ebx + 0x14], eax
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x46aa33
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebx + 0x14]
mov eax, 0x55ab04
pop edi
test ecx, ecx
pop esi
cmovne eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x470f90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
mov edi, ecx
cmp dword [edi + 0xa4], 0
jne 0x4710a4
mov eax, dword [edi]
push ebx
push esi
push 0
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4710a2
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [ebp + 8]
shr eax, 0x1c
and eax, 0xffffff01
mov dword [ebp - 8], eax
test esi, esi
jne 0x471007
test al, al
je 0x471007
call dword [sym.imp.USER32.dll_GetFocus]
cmp ebx, eax
jne 0x471007
push esi
push esi
push 0x28
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 7
not al
and eax, 0xffffff01
mov dword [ebp - 0xc], eax
test esi, esi
je 0x47106e
mov edx, dword [edi - 4]
push 0
mov esi, dword [edx + 0x94]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi - 4]
call esi
test eax, eax
je 0x47106e
cmp byte [ebp - 8], 0
jne 0x4710a2
cmp byte [ebp - 0xc], 0
je 0x47105c
mov eax, edi
push dword [eax + 0x10]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi - 4]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi - 4]
call esi
cmp byte [ebp - 8], 0
je 0x471090
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xc], 0
je 0x4710a2
push 0x55ab04
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 8
Function at 0x4710b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
cmp dword [edi + 0xa4], 0
jne 0x4711bf
mov eax, dword [edi]
push 0
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4711bf
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [ebp + 8]
shr eax, 0x1c
and eax, 0xffffff01
mov dword [ebp - 8], eax
test esi, esi
jne 0x47112a
test al, al
je 0x47112a
call dword [sym.imp.USER32.dll_GetFocus]
cmp ebx, eax
jne 0x47112a
push esi
push esi
push 0x28
push ebx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x87
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
shr eax, 7
not al
and eax, 0xffffff01
mov dword [ebp - 0xc], eax
test esi, esi
je 0x471188
mov edx, dword [edi - 4]
push 0
mov esi, dword [edx + 0x94]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi - 4]
call esi
test eax, eax
je 0x471188
cmp byte [ebp - 8], 0
jne 0x4711bf
cmp byte [ebp - 0xc], 0
je 0x47117d
push dword [edi + 0x10]
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4711bf
mov eax, dword [edi - 4]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x55604c]
lea ecx, [edi - 4]
call esi
cmp byte [ebp - 8], 0
je 0x4711aa
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp - 0xc], 0
je 0x4711bc
push 0x55ab04
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edi, dword [ebp - 4]
cmp dword [ebp + 0xc], 0
je 0x471275
mov eax, dword [edi - 4]
lea ebx, [edi - 4]
mov esi, dword [eax + 0x120]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
cmp dword [ebp + 8], 0
mov edi, eax
mov dword [ebp - 4], edi
je 0x47120d
mov ecx, dword [ebx]
push 0
mov esi, dword [ecx + 0x94]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
mov dword [ebp - 0xc], 1
test eax, eax
jne 0x471214
mov dword [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 8], ecx
test edi, edi
jle 0x471275
lfence
mov eax, dword [ebx]
push ecx
mov esi, dword [eax + 0x124]
mov ecx, esi
call dword [0x55604c]
mov ecx, ebx
call esi
mov edi, eax
push 0x56740c
mov ecx, dword [edi]
mov esi, dword [ecx + 0x11c]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
push dword [ebp + 0xc]
mov edi, eax
push dword [ebp - 0xc]
mov ecx, dword [edi]
mov esi, dword [ecx + 0x24]
mov ecx, esi
call dword [0x55604c]
mov ecx, edi
call esi
mov ecx, dword [ebp - 8]
inc ecx
mov dword [ebp - 8], ecx
cmp ecx, dword [ebp - 4]
jl 0x471220
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x471c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
call fcn.004372b0
mov esi, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
push 5
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x471d0c
push 0xf0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], edi
test eax, eax
je 0x471c91
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
push dword [ebp - 8]
xor esi, esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x471cf9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x471cf9
push dword [ebp - 4]
push eax
call fcn.0046fff0
add esp, 8
mov dword [ebp - 8], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov edi, eax
test edi, edi
jne 0x471cdd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
je 0x471d01
test eax, eax
je 0x471d01
push eax
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x471d01
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x471d0c
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x485470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x537eee
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x5d3b14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [esi], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 4], 0
test byte [esi + 0x3c], 1
je 0x485500
mov eax, dword [esi + 0x20]
mov ecx, dword [eax]
test ecx, ecx
je 0x4854c4
mov eax, dword [esi + 0x30]
mov eax, dword [eax]
lea ecx, [ecx + eax*2]
jmp 0x4854d1
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
mov eax, dword [esi + 0x1c]
mov eax, dword [eax]
lea ecx, [eax + ecx*2]
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
sub ecx, eax
sar ecx, 1
add ecx, ecx
cmp ecx, 0x1000
jb 0x4854f6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x485560
mov eax, edx
push ecx
push eax
call fcn.00514c00
add esp, 8
mov eax, dword [esi + 0xc]
mov dword [eax], 0
mov eax, dword [esi + 0x1c]
mov dword [eax], 0
mov eax, dword [esi + 0x2c]
mov dword [eax], 0
mov eax, dword [esi + 0x10]
mov dword [eax], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov eax, dword [esi + 0x30]
mov dword [eax], 0
and dword [esi + 0x3c], 0xfffffffe
mov dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, esi
call dword [0x554224]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call dword [0x5546a8]
int3
Function at 0x48fea0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a3b8
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5d3b14]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0xa8]
mov edi, dword [ebp + 0xc]
push 0x98
push 0
push eax
mov dword [ebp - 0xac], 0
call fcn.00515fd2
add esp, 0xc
lea ecx, [ebp - 0xa8]
push 1
call fcn.00484100
mov dword [ebp - 4], 0
lea eax, [ebp - 0xac]
push 0
push 0
push eax
push 0x409
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
push 0x568b0c
test eax, eax
lea eax, [ebp - 0xa8]
push edi
push eax
jne 0x48ff52
call fcn.004830d0
add esp, 8
push eax
call fcn.004830d0
add esp, 8
mov ecx, eax
push esi
call dword [0x55424c]
jmp 0x48ff86
call fcn.004830d0
add esp, 8
push eax
call fcn.004830d0
add esp, 8
mov ecx, eax
push 0x568b20
push esi
call dword [0x55424c]
push eax
call fcn.004830d0
push dword [ebp - 0xac]
push eax
call fcn.004830d0
add esp, 0x10
push 0x568b08
push eax
call fcn.004830d0
add esp, 8
lea eax, [ebp - 0xc8]
lea ecx, [ebp - 0xa8]
push eax
call fcn.00496460
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x48ffb2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xc8]
call fcn.00494f40
push dword [ebp - 0xac]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x58]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xa8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xa8], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xac], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xa4]
call fcn.00485470
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call dword [0x554244]
lea ecx, [ebp - 0x58]
call dword [0x554234]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005150f0
mov esp, ebp
pop ebp
ret
Function at 0x4927b0
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [ecx + 0x18]
test eax, eax
jne 0x4927c5
push str.VMListReg::Register___Invalid_key._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor al, al
ret
push 1
push dword [ecx + 0xc]
push 4
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
test eax, eax
je 0x4927ea
push str.wui::util::VMListReg::RegisterForKeyChange
push eax
call fcn.0048fea0
add esp, 8
xor al, al
ret
mov al, 1
ret

Function at 0x492d40
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53a7e9
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x5d3b14]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 8]
movq qword [ebx], xmm0
mov dword [ebx + 8], 0
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov eax, 0x2aaaaaab
mov dword [ebp - 0x14], ecx
sub ecx, esi
imul ecx
mov ecx, dword [ebx + 8]
mov eax, 0x2aaaaaab
sub ecx, dword [ebx]
sar edx, 3
mov edi, edx
shr edi, 0x1f
add edi, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jbe 0x492e05
cmp edi, 0x5555555
ja 0x492ebb
push edi
mov ecx, ebx
lfence
call fcn.00494d40
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov eax, dword [eax + 4]
jmp 0x492e08
mov eax, dword [ebp - 0x14]
cmp esi, eax
je 0x492ea5
push esi
call fcn.0048aac0
add esp, 4
test al, al
je 0x492e57
mov edi, dword [ebx + 4]
push esi
cmp edi, dword [ebx + 8]
je 0x492e4d
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004841d0
mov dword [ebp - 4], 1
lea eax, [esi + 0x18]
lea ecx, [edi + 0x18]
push eax
call fcn.004841d0
mov byte [ebp - 4], 0
add dword [ebx + 4], 0x30
jmp 0x492e96
push edi
mov ecx, ebx
call fcn.004834d0
jmp 0x492e96
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x492e61
mov eax, dword [esi]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004944b0
add esp, 8
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x492e7d
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x18]
push dword [eax + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00494f40
mov eax, dword [ebp + 0xc]
add esi, 0x30
cmp esi, dword [eax + 4]
jne 0x492e10
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 8
call fcn.00431c90
int3