joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478d30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59a9d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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
mov eax, dword [ebp + 8]
push dword [eax]
call fcn.00476f10
mov ebx, dword [ebp - 0x18]
add esp, 8
mov edi, ebx
cmp edi, dword [ebp - 0x14]
je 0x478e95
mov ebx, dword [ebp + 0x14]
test ebx, ebx
je 0x478db8
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
cmp ecx, eax
je 0x478db8
mov edx, dword [edi]
cmp dword [ecx], edx
je 0x478db0
add ecx, 4
cmp ecx, eax
jne 0x478da5
cmp ecx, eax
jne 0x478e86
cmp byte [ebp + 0x10], 0
je 0x478dd0
push dword [edi]
call fcn.00478aa0
add esp, 4
test eax, eax
jne 0x478e86
push dword [edi]
lea eax, [ebp + 8]
push eax
call fcn.00476cf0
add esp, 8
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
mov ecx, dword [eax]
test ecx, ecx
je 0x478e67
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jl 0x478e6a
push ecx
push eax
call fcn.0054c0c3
mov ecx, eax
add esp, 8
test ecx, ecx
je 0x478e67
mov eax, dword [ebp + 8]
sub ecx, eax
sar ecx, 1
cmp ecx, 0xffffffff
je 0x478e6a
mov esi, dword [edi]
push esi
call fcn.00478aa0
add esp, 4
test eax, eax
jne 0x478e5f
push esi
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x478e5f
cmp esi, 0xffffffff
je 0x478e4f
push 0xffff
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
jmp 0x478e6d
test esi, esi
je 0x478e5f
cmp esi, 0xffffffff
je 0x478e5f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
jmp 0x478e6d
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x478e86
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 4
cmp edi, dword [ebp - 0x14]
jne 0x478d96
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x478ec5
mov ecx, dword [ebp - 0x10]
mov eax, ebx
sub ecx, ebx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x478ebb
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478ed7
push ecx
push ebx
call fcn.00546044
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
call fcn.00555394
int3
Function at 0x4795f0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aa88
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebx]
lea edx, [eax - 0x10]
mov esi, dword [edx]
cmp dword [edx + 4], edi
je 0x479664
cmp dword [edx + 0xc], edi
lea ecx, [edx + 0xc]
jge 0x479644
cmp dword [eax - 8], edi
jl 0x479777
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x479664
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x479658
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebx], eax
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x479763
cmp esi, 0xffffffff
je 0x479753
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, 0x200000
ja 0x479753
lea edx, [eax + 1]
mov dword [ebp - 0x14], 0
mov edi, eax
test edx, edx
js 0x479777
mov eax, dword [ebx]
mov ecx, 1
mov dword [ebp - 0x10], eax
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edx
or ecx, eax
jge 0x4796ec
push edx
mov ecx, ebx
call fcn.00437870
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
jmp 0x4796ef
mov eax, dword [ebp - 0x10]
mov ebx, eax
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x479751
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x479751
add ebx, eax
sub edi, eax
jne 0x4796f1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 0xc]
mov byte [ecx + eax], 0
mov eax, dword [edi]
test eax, eax
jne 0x479728
xor ecx, ecx
jmp 0x47973a
push dword [eax - 8]
push eax
call fcn.00555471
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x479777
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x479777
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov edi, 1
mov byte [ecx + eax], 0
jmp 0x479753
xor edi, edi
test esi, esi
je 0x479763
cmp esi, 0xffffffff
je 0x479763
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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
push 0x80070057
call fcn.004293d0
int3
Function at 0x479880
Capabilities:
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aac0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x62819c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x4799cd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
test edx, edx
je 0x479901
test edx, 0xffff0000
jne 0x4798e4
movzx eax, dx
lea ecx, [ebp - 0x10]
push eax
call fcn.004295b0
jmp 0x47990d
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4798f0
sub ecx, esi
sar ecx, 1
jmp 0x479903
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.00429870
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [esi - 0xc]
test eax, eax
je 0x479951
lea ecx, [eax - 1]
test ecx, ecx
js 0x4799d7
cmp ecx, eax
jg 0x4799d7
movzx eax, word [esi + ecx*2]
cmp eax, 0x5c
je 0x479951
cmp eax, 0x2f
je 0x479951
push 1
push 0x5ad728
lea ecx, [ebp - 0x10]
call fcn.00429240
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
je 0x479967
push dword [ebp + 0xc]
push esi
call fcn.0047f380
add esp, 8
mov edi, eax
jmp 0x479993
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x479993
cmp dword [ebp + 0xc], edi
je 0x479993
cmp eax, 2
je 0x479993
cmp eax, 3
je 0x479993
push 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor ebx, ebx
mov dword [ebp - 4], 0xffffffff
test edi, edi
setne bl
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4799b9
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
push 0x80004005
call fcn.004293d0
push 0x80070057
call fcn.004293d0
int3
Function at 0x479aa0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aaf9
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x62819c]
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 edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
cmp dword [ebp + 0x1c], ebx
je 0x479aed
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x479ba8
cmp dword [ebp + 0x20], ebx
jne 0x479b44
mov ecx, esi
mov dword [ebp - 0x18], ebx
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479b07
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.0042daa0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0
mov ebx, 1
push eax
mov dword [ebp - 0x30], ebx
call fcn.00480780
add esp, 8
mov byte [ebp - 0x29], bl
test al, al
je 0x479b48
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x479ba2
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x479b8e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x479b84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x479c97
push edx
push ecx
call fcn.00546044
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp byte [ebp - 0x29], 0
je 0x479baf
xor eax, eax
jmp 0x479c7b
mov dword [ebp - 0x5c], edi
mov edi, dword [ebp + 0x14]
mov eax, edi
neg eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
sbb eax, eax
mov dword [ebp - 0x44], 0
and eax, 0xa
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x70], 0x3c
mov dword [ebp - 0x6c], 0x440
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x50], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x479c3e
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x479c37
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, 1
jmp 0x479c6b
push dword [ebp - 0x34]
push esi
push edi
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.328_tKFunction::RunApp_tKFunction::RunApp_ShellExecuteEx_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push str.H:_rc_v11_i18n_20230711_branchCoding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x631888
call fcn.004677c0
add esp, 0x24
xor ebx, ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x479c79
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
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.00545ec7
mov esp, ebp
pop ebp
ret
call fcn.00555394
int3

Function at 0x479ca0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00479aa0
Function at 0x479f70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, 1
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x479f8c
pop edi
pop ebx
pop ebp
ret
call fcn.004788b0
test eax, eax
je 0x479fd9
call fcn.00480300
test eax, eax
je 0x479fd9
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov eax, dword [ebp + 0xc]
js 0x479fca
push esi
push eax
push edi
call fcn.0047a000
add esp, 8
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
pop esi
jns 0x479ff3
mov eax, dword [ebp + 0xc]
push 0
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
jmp 0x479fe8
push 0
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00479aa0
mov ebx, eax
add esp, 0x1c
xor eax, eax
test ebx, ebx
pop edi
setne al
pop ebx
pop ebp
ret

Function at 0x47a5a0
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x47a641
push edi
push 0x24
push dword [esi]
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
test edi, edi
je 0x47a63d
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x47a5fd
cmp eax, 7
jne 0x47a63a
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x47a63a
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
cmp dword [ebp - 0x1c], 1
je 0x47a631
push 0x64
call ebx
inc esi
cmp esi, 0x14
jl 0x47a616
mov ebx, dword [ebp - 0x24]
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
push ebx
call esi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
Function at 0x47aab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59acb2
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x21c], 1
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x47ab50
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ab43
jmp 0x47ab9b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x47abae
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b380
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x47abae
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47ab90
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0042daa0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
Function at 0x47abd0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59aceb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x62819c]
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 ebx, dword [ebp + 8]
push 0
push 2
mov dword [ebp - 0x23c], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x47ad11
call fcn.00428a90
mov ecx, eax
test ecx, ecx
je 0x47ad32
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x240], esi
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47aceb
cmp byte [ebp + 0xc], 0
je 0x47ac70
push dword [ebp - 0x234]
call fcn.00478aa0
add esp, 4
test eax, eax
jne 0x47acd6
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x47ac80
sub eax, edx
lea ecx, [ebp - 0x240]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00429870
test ebx, ebx
je 0x47ad32
mov esi, dword [ebp - 0x240]
push ebx
push esi
call fcn.00555852
add esp, 8
test eax, eax
jne 0x47acd6
push dword [ebp - 0x234]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x23c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47ac58
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47ad11
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
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.00545ec7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004293d0
int3
Function at 0x47af30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ad6b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
push 0x2001f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push 0x80000001
mov dword [ebp - 0x220], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x47afea
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x47b0a7
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x230], esi
call fcn.0054b380
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.00476980
add esp, 0x14
lea eax, [ebp - 0x21c]
push 0x104
push eax
push dword [ebp - 0x224]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push 4
lea eax, [ebp - 0x220]
mov dword [ebp - 0x220], 1
push eax
push 4
push 0
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test esi, esi
je 0x47b074
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor esi, esi
mov dword [ebp - 0x230], esi
mov edx, dword [ebp - 0x224]
or eax, 0xffffffff
mov dword [ebp - 0x22c], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x47b09c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x47b0a7
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
Function at 0x47fcc0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x47fcf1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x47fce0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x480300
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0xc], 0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
mov word [ebp - 8], 0x500
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x48035c
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 0x14]
neg eax
sbb eax, eax
and dword [ebp - 0x10], eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret
Function at 0x480b90
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x62819c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov edi, ecx
jne 0x480d5b
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x480c91
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push dword [edi + 4]
mov dword [edi + 0x3c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ecx, dword [edi + 0x34]
mov esi, eax
test ecx, ecx
je 0x480bec
cmp ecx, esi
je 0x480bec
push ecx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [edi + 0x34], esi
lea esi, [edi + 0x24]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0x60], eax
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x28]
mov eax, dword [esi + 8]
sub eax, dword [esi]
push ecx
push eax
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [edi + 0x60]
mov dword [edi + 0x5c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 8
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x480c74
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push dword [edi + 0x60]
call sub.gdiplus.dll_GdipCreateFromHDC
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x50]
mov dword [esi], eax
mov eax, 1
mov dword [edi + 0x58], esi
pop edi
pop esi
mov dword [ebx], 0
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
xor esi, esi
mov dword [edi + 0x58], esi
pop edi
mov dword [ebx], esi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x480d5b
cmp dword [ebp + 0x10], 0
jne 0x480d3d
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x44]
push ecx
push eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp dword [edi + 0x64], 0
mov dword [ebp - 0x4c], eax
je 0x480d30
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x50], 0
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x50]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x480ce8
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [edi + 0x68]
mov dword [ebp - 0x58], eax
mov eax, dword [edi + 0x70]
mov dword [ebp - 0x54], 0
mov esi, dword [eax + ecx*4]
lea eax, [ebp - 0x54]
push eax
push dword [esi + 4]
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x480d11
mov dword [esi + 8], eax
push 0xcc0020
push 0
push 0
push dword [edi + 0x60]
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push 0
push 0
push dword [edi + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00545ec7
mov esp, ebp
pop ebp
ret 0x18