joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45fb30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
jne 0x45fb49
pop edi
mov eax, 0x80004005
pop esi
pop ebp
ret 4
push ebx
lea ebx, [edi + 0x100]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [edi + 0xf4]
lea ecx, [edi + 0xf0]
mov edx, dword [ecx]
cmp edx, eax
je 0x45fb7f
nop dword [eax]
cmp dword [edx], esi
je 0x45fb7b
add edx, 4
cmp edx, eax
jne 0x45fb70
cmp edx, eax
jne 0x45fb8b
lea eax, [ebp + 8]
push eax
call fcn.00424e40
mov esi, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [edi + 0xfc], 0
pop ebx
jne 0x45fbbd
push 0
push 0
push edi
push 0x45fad0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xfc], eax
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
Function at 0x463a90
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x681a50]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6818b4]
lea eax, [ebp - 4]
push eax
call fcn.00464050
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x463ae2
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x128]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.00463fd0
test eax, eax
je 0x463b2b
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x463b2b
push 0
push 0
push 0x793a
push dword [edi + 0x140]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x463b40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
call dword [eax + 0x8c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x681a50]
add esi, 0x10
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6818b4]
lea eax, [ebp - 4]
push eax
call fcn.00464050
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test ebx, ebx
jne 0x463b92
pop edi
pop esi
mov eax, 0x80004005
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0x128]
mov dword [ebp - 4], eax
lea ecx, [ebx + 4]
lea eax, [ebp - 4]
push eax
call fcn.00463fd0
test eax, eax
je 0x463bb6
push 0
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x663a90]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push dword [edi + 0x38]
mov dword [edi + 0x140], esi
call ebx
test eax, eax
jne 0x463c16
sub esp, 8
mov eax, esp
push 0
push connect
push 0
push ecx
mov dword [eax], 0
mov ecx, edi
mov eax, esp
push esi
mov dword [eax], 0
call fcn.00427d60
cmp byte [ebp + 0x1c], 0
je 0x463c28
mov ecx, dword [edi + 0x30]
lea eax, [ebp + 0xc]
push eax
call fcn.004277c0
mov eax, dword [edi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, edi
call dword [eax + 0x90]
mov edx, dword [ebp + 0x10]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp + 0xc]
add eax, edx
push 1
sub eax, edx
push eax
mov eax, dword [ebp + 0x14]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
cmp dword [edi + 0xe4], 0
je 0x463cd0
mov eax, dword [edi + 0xe0]
test eax, eax
je 0x463cd0
push dword [eax + 0x38]
call ebx
test eax, eax
je 0x463cd0
lea eax, [esp + 0x1c]
xorps xmm0, xmm0
push eax
push dword [edi + 0x38]
movups xmmword [esp + 0x24], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
add eax, 7
mov ecx, dword [esp + 0x24]
sub edx, 3
mov esi, dword [esp + 0x1c]
add ecx, 5
push 1
mov dword [esp + 0x2c], eax
sub esi, 5
sub eax, edx
mov dword [esp + 0x28], ecx
push eax
mov eax, dword [edi + 0xe0]
sub ecx, esi
push ecx
push edx
push esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], edx
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_MoveWindow]
push 5
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 0x20], 0
je 0x463ceb
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x88]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, dword [0x681a50]
add esi, 0x10
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [0x6818b4]
lea eax, [esp + 0x10]
push eax
call fcn.00464050
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
test ebx, ebx
je 0x463d5a
mov edx, dword [ebx + 8]
add edi, 0x128
mov dword [esp + 0x10], edi
test edx, edx
jle 0x463d4b
mov ecx, dword [ebx + 4]
cmp dword [ecx], edi
je 0x463d46
inc eax
add ecx, 4
cmp eax, edx
jl 0x463d38
jmp 0x463d4b
cmp eax, 0xffffffff
jne 0x463d58
lea eax, [esp + 0x10]
push eax
lea ecx, [ebx + 4]
call fcn.00463f50
xor eax, eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x465070
Capabilities:
Create process on windows
Get comspec environment variable
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6e0b
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x3c
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.005a2d80
add esp, 0xc
lea eax, [ebp - 0x230]
mov ecx, esi
push eax
call fcn.00465210
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.005a2d80
add esp, 0xc
cmp dword [ebp - 0x220], 0
je 0x4651d1
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.COMSPEC
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4651d1
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x218]
mov dword [ebp - 0x25c], eax
lea ecx, [ebp - 0x270]
lea eax, [ebp - 0x230]
mov dword [ebp - 0x26c], 0x3c
cmovae eax, dword [ebp - 0x230]
xor edx, edx
mov dword [ebp - 0x264], 0
mov dword [ebp - 0x260], str.Open
mov dword [ebp - 0x258], eax
call fcn.00488cb0
mov edx, dword [ebp - 0x270]
add edx, 0xfffffff0
mov eax, dword [eax]
mov dword [ebp - 0x254], eax
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46517f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x250], 0
push eax
mov dword [ebp - 0x268], 0x40
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x4651d1
mov esi, dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0x40
push dword [ebp - 0x234]
call esi
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x4651ef
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407c00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x4653a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6e56
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x663a90]
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, ecx
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
call fcn.00488870
cmp dword [0x6813c0], 0
mov ecx, str.XDShellExtHelper.dll
mov eax, str.XDShellExtHelper64.dll
mov edx, esi
cmove eax, ecx
lea ecx, [ebp - 0x48]
push eax
call fcn.004676e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x465445
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x465428
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040dfa0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp eax, 8
jb 0x46545e
inc eax
lea ecx, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
call fcn.00407c00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465505
call fcn.00402f90
mov ecx, eax
test ecx, ecx
jne 0x46548d
push 0x80004005
call fcn.004037b0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push 0x640828
push eax
call fcn.00407e20
mov esi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
add esp, 8
mov dword [ebp - 0x30], 0
push esi
call fcn.00467b50
mov edx, dword [ebp - 0x30]
or edi, 0xffffffff
add esp, 8
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4654ec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x465505
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46551a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c00
xor eax, eax
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.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x465540
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6e8e
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ecx + 0x124]
push str.Utils_
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.004676e0
add esp, 4
mov dword [ebp - 4], 0
call fcn.00488870
cmp dword [0x6813c0], 0
lea edx, [ebp - 0x28]
mov ecx, str.MasterPdfDrv.sys
mov eax, str.MasterPdfDrv_x64.sys
cmove eax, ecx
lea ecx, [ebp - 0x40]
push eax
call fcn.004676e0
add esp, 4
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4655ec
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4655cf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040dfa0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x465605
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00407c00
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465635
mov ecx, str.MasterPdfDrv
call fcn.0049a950
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.00483d00
push edi
call fcn.00465670
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x465650
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407c00
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.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x4677c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d7173
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
xorps xmm0, xmm0
mov esi, eax
movq qword [ebp - 0x224], xmm0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0
call fcn.00424530
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 1
push eax
push esi
call fcn.00467de0
test eax, eax
je 0x467927
cmp dword [ebp - 0x220], 0
je 0x467927
mov eax, dword [ebp - 0x224]
mov esi, dword [eax]
cmp esi, eax
je 0x46792d
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
nop word [eax + eax]
push 0x208
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.005a2d80
add esp, 8
lea eax, [ebp - 0x21c]
push eax
push dword [esi + 0x10]
call fcn.00467ed0
test eax, eax
je 0x4678d1
lea eax, [ebp - 0x21c]
push eax
push dword [ebp + 8]
call fcn.005ac88b
add esp, 8
test eax, eax
jne 0x4678d1
push dword [esi + 0x10]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4678d1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x4678d1
push edi
call ebx
cmp byte [esi + 0xd], 0
jne 0x467917
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x4678fc
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x467917
nop word [eax + eax]
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x4678f0
jmp 0x467917
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x467915
cmp esi, dword [eax + 8]
jne 0x467915
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x467905
mov esi, eax
mov eax, dword [ebp - 0x224]
cmp esi, eax
jne 0x467870
jmp 0x46792d
mov eax, dword [ebp - 0x224]
push eax
push dword [eax]
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x224]
call fcn.00468390
push dword [ebp - 0x224]
call fcn.00589cce
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467972
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 4
Function at 0x4679c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d71c0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, str.MasterPDFData
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x18]
call fcn.00488d40
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
cmp word [edx], ax
jne 0x467a24
xor ecx, ecx
jmp 0x467a3f
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x467a30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.00406f90
push str.webviewcefCefView.exe
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.004676e0
add esp, 4
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x467a6c
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x14]
call fcn.004035d0
mov eax, dword [ebp - 0x38]
cmp eax, 8
jb 0x467a8a
inc eax
lea ecx, [ebp - 0x4c]
push eax
push dword [ebp - 0x4c]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x467ab3
inc eax
lea ecx, [ebp - 0x34]
push eax
push dword [ebp - 0x34]
call fcn.00407c00
xor eax, eax
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], ax
mov byte [ebp - 4], 6
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x467ae8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x467b10
push ecx
mov ecx, dword [ebp - 0x14]
mov esi, esp
mov dword [ebp - 0x1c], esi
lea ecx, [ecx - 0x10]
call fcn.00403880
add eax, 0x10
mov dword [esi], eax
call fcn.004677c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x467b2f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.00589cd3
mov esp, ebp
pop ebp
ret
Function at 0x467de0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x467e4a
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x467e4a
push 0x228
lea eax, [ebp - 0x234]
push 0
push eax
call fcn.005a2d80
add esp, 0xc
mov dword [ebp - 0x238], 0x22c
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x467e5f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
call fcn.00422b90
push edi
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
jne 0x467e94
push dword [ebp - 0x23c]
lea eax, [ebp - 0x230]
push eax
push ecx
lea eax, [ebp - 0x240]
mov ecx, ebx
push eax
call fcn.00468b10
lea eax, [ebp - 0x238]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x467e66
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 8
Function at 0x46b980
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x42c
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x424]
mov ecx, dword [ebp + 8]
push edx
push 0xf003f
push 0
push eax
push ecx
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x424], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bb2a
push ebx
push esi
push edi
push eax
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 0
push 0
push 0
push dword [ebp - 0x424]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x46ba61
push 0x20a
xor esi, esi
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.005a2d80
add esp, 0xc
cmp dword [ebp - 0x420], esi
jbe 0x46ba61
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
nop word [eax + eax]
push 0x105
lea eax, [ebp - 0x41c]
push eax
push esi
push dword [ebp - 0x424]
call ebx
test eax, eax
jne 0x46ba58
lea eax, [ebp - 0x41c]
push eax
push dword [ebp - 0x424]
call edi
inc esi
cmp esi, dword [ebp - 0x420]
jb 0x46ba30
push dword [ebp - 0x424]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call ebx
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x424], 0
push 0
push eax
call fcn.005a2d80
push dword [ebp - 0x428]
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.005b760e
lea eax, [ebp - 0x210]
push 0x5c
push eax
call fcn.005a2981
mov esi, eax
add esp, 0x20
test esi, esi
jne 0x46bad1
lea eax, [ebp - 0x210]
push 0x2f
push eax
call fcn.005a2981
mov esi, eax
add esp, 8
test esi, esi
je 0x46bb27
mov eax, esi
lea ecx, [ebp - 0x210]
sub eax, ecx
and eax, 0xfffffffe
cmp eax, 0x20a
jae 0x46bb3a
xor ecx, ecx
mov word [ebp + eax - 0x210], cx
lea eax, [ebp - 0x424]
push eax
push 0xf003f
push ecx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bb1f
lea eax, [esi + 2]
push eax
push dword [ebp - 0x424]
call edi
push dword [ebp - 0x424]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 8
call fcn.0058a4ef
int3
Function at 0x46bb40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstallMasterPDF
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x210], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46bc07
push 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.005a2d80
add esp, 0xc
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0x208
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push str.InstallLocation
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x218], 0
push eax
jmp 0x46bc0c
push 0x6363e4
mov ecx, esi
call fcn.004069d0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00589cd3
mov esp, ebp
pop ebp
ret 4
Function at 0x46d430
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d789c
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x663a90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x46d4d9
push 0x10
lea eax, [ebp - 0x230]
push eax
call fcn.0046d600
mov edi, eax
cmp esi, edi
je 0x46d4b4
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x46d48d
inc eax
mov ecx, esi
push eax
push dword [esi]
call fcn.00407c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x46d4a5
mov eax, dword [esi]
jmp 0x46d4a7
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push edi
call fcn.0040dfa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x46d4d9
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407c00
cmp dword [esi + 0x28], 0
jne 0x46d555
push 2
lea eax, [ebp - 0x230]
push eax
call fcn.0046d600
mov ebx, eax
lea edi, [esi + 0x18]
cmp edi, ebx
je 0x46d530
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x46d509
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.00407c00
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x46d521
mov eax, dword [edi]
jmp 0x46d523
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov ecx, edi
push ebx
call fcn.0040dfa0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x46d555
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00407c00
cmp dword [esi + 0x40], 0
jne 0x46d5cf
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a2d80
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp word [ebp - 0x218], 0
jne 0x46d5a4
xor ecx, ecx
jmp 0x46d5bf
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d5b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [esi + 0x30]
call fcn.00406f90
cmp dword [esi + 0x28], 0
je 0x46d5df
cmp dword [esi + 0x10], 0
je 0x46d5df
xor eax, eax
jmp 0x46d5e4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00589cd3
mov esp, ebp
pop ebp
ret