joyce8/EMBER2024-capa huggingface dataset:
Function at 0x474990
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b218
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
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 0x474a04
cmp dword [edx + 0xc], edi
lea ecx, [edx + 0xc]
jge 0x4749e4
cmp dword [eax - 8], edi
jl 0x474b17
mov dword [eax - 0xc], edi
mov eax, dword [ebx]
mov byte [eax], 0
jmp 0x474a04
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4749f8
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 0x474b03
cmp esi, 0xffffffff
je 0x474af3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp eax, 0x200000
ja 0x474af3
lea edx, [eax + 1]
mov dword [ebp - 0x14], 0
mov edi, eax
test edx, edx
js 0x474b17
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 0x474a8c
push edx
mov ecx, ebx
call fcn.00432e90
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
jmp 0x474a8f
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 0x474af1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x474af1
add ebx, eax
sub edi, eax
jne 0x474a91
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 0x474ac8
xor ecx, ecx
jmp 0x474ada
push dword [eax - 8]
push eax
call fcn.0054b1a0
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x474b17
mov eax, dword [edi]
cmp ecx, dword [eax - 8]
jg 0x474b17
mov dword [eax - 0xc], ecx
mov eax, dword [edi]
mov edi, 1
mov byte [ecx + eax], 0
jmp 0x474af3
xor edi, edi
test esi, esi
je 0x474b03
cmp esi, 0xffffffff
je 0x474b03
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.00425f50
int3
Function at 0x474c20
Capabilities:
Delete directory
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b250
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x474d6d
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 0x474ca1
test edx, 0xffff0000
jne 0x474c84
movzx eax, dx
lea ecx, [ebp - 0x10]
push eax
call fcn.00426130
jmp 0x474cad
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x474c90
sub ecx, esi
sar ecx, 1
jmp 0x474ca3
xor ecx, ecx
push ecx
push edx
lea ecx, [ebp - 0x10]
call fcn.004263f0
mov esi, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [esi - 0xc]
test eax, eax
je 0x474cf1
lea ecx, [eax - 1]
test ecx, ecx
js 0x474d77
cmp ecx, eax
jg 0x474d77
movzx eax, word [esi + ecx*2]
cmp eax, 0x5c
je 0x474cf1
cmp eax, 0x2f
je 0x474cf1
push 1
push 0x5b14ac
lea ecx, [ebp - 0x10]
call fcn.00425dc0
mov esi, dword [ebp - 0x10]
cmp dword [ebp + 0x10], 0
je 0x474d07
push dword [ebp + 0xc]
push esi
call fcn.0047a600
add esp, 8
mov edi, eax
jmp 0x474d33
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x474d33
cmp dword [ebp + 0xc], edi
je 0x474d33
cmp eax, 2
je 0x474d33
cmp eax, 3
je 0x474d33
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 0x474d59
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.00425f50
push 0x80070057
call fcn.00425f50
int3
Function at 0x474e60
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b289
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x61ce74]
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 0x474ead
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x474f68
cmp dword [ebp + 0x20], ebx
jne 0x474f04
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 0x474ec7
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.00439df0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push 0
mov ebx, 1
push eax
mov dword [ebp - 0x30], ebx
call fcn.0047b520
add esp, 8
mov byte [ebp - 0x29], bl
test al, al
je 0x474f08
mov byte [ebp - 0x29], 0
mov dword [ebp - 4], 0xffffffff
test bl, 1
je 0x474f62
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x474f4e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x474f44
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x475057
push edx
push ecx
call fcn.0053d0af
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 0x474f6f
xor eax, eax
jmp 0x47503b
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 0x474ffe
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x474ff7
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebx, 1
jmp 0x47502b
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.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKFunction.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x24
xor ebx, ebx
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x475039
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.0053d079
mov esp, ebp
pop ebp
ret
call fcn.0054b0c3
int3

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00474e60
Function at 0x475330
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 0x47534c
pop edi
pop ebx
pop ebp
ret
call fcn.00474040
test eax, eax
je 0x475399
call fcn.0047b0a0
test eax, eax
je 0x475399
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
mov eax, dword [ebp + 0xc]
js 0x47538a
push esi
push eax
push edi
call fcn.004753c0
add esp, 8
mov esi, eax
call dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
pop esi
jns 0x4753b3
mov eax, dword [ebp + 0xc]
push 0
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
jmp 0x4753a8
push 0
push 1
push 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.00474e60
mov ebx, eax
add esp, 0x1c
xor eax, eax
test ebx, ebx
pop edi
setne al
pop ebx
pop ebp
ret

Function at 0x475960
Capabilities:
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x61ce74]
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 0x475a01
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 0x4759fd
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov eax, dword [ebp - 0x1c]
cmp eax, 4
je 0x4759bd
cmp eax, 7
jne 0x4759fa
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4759fa
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 0x4759f1
push 0x64
call ebx
inc esi
cmp esi, 0x14
jl 0x4759d6
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.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x475e60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b442
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x61ce74]
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.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
test eax, eax
je 0x475f00
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475ef3
jmp 0x475f4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x475f5e
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00540d70
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x475f5e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x475f40
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00439df0
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.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x475f80
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b47b
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x61ce74]
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 0x4760b2
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4760d3
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
cmp byte [ebp + 0xc], 0
je 0x476018
push dword [ebp - 0x234]
call fcn.00474230
add esp, 4
test eax, eax
jne 0x476077
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x476021
sub eax, edx
lea ecx, [ebp - 0x240]
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004263f0
test ebx, ebx
je 0x4760d3
mov esi, dword [ebp - 0x240]
push ebx
push esi
call fcn.0054b581
add esp, 8
test eax, eax
jne 0x476077
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 0x476000
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 0x4760b2
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.0053d079
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00425f50
int3
Function at 0x4762d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b4fb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x61ce74]
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 0x47638a
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 0x476447
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.00540d70
lea eax, [ebp - 0x224]
push 0
push eax
call fcn.004721d0
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 0x476414
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 0x47643c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x476447
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.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x47ad90
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 0x47adc1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x47adb0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x47b0a0
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x61ce74]
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 0x47b0fc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d079
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.0053d079
mov esp, ebp
pop ebp
ret
Function at 0x47b930
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x61ce74]
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 0x47bafb
mov eax, dword [ebp + 0xc]
cmp eax, 1
jne 0x47ba31
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 0x47b98c
cmp ecx, esi
je 0x47b98c
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 0x47ba14
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.0053d079
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.0053d079
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0xf
jne 0x47bafb
cmp dword [ebp + 0x10], 0
jne 0x47badd
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 0x47bad0
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 0x47ba88
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 0x47bab1
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.0053d079
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.0053d079
mov esp, ebp
pop ebp
ret 0x18
Function at 0x47bb80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b908
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x61ce74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], 0
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x47bcdd
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
mov edi, dword [ebp + 8]
xor ebx, ebx
push edi
push str.125_tKPacket4::ExtractPacket_tGetPacketData__d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
mov dword [ebp - 4], 0
call fcn.004638c0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
add esp, 0x14
push eax
push edi
call fcn.0047bcf0
mov edi, eax
push edi
push str.127_tKPacket4::ExtractPacket_tGetPacketData_return:_d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x14
test edi, edi
je 0x47bc8f
call fcn.00425740
mov ebx, eax
test ebx, ebx
je 0x47bc8f
push str.133_tKPacket4::ExtractPacket_tExtract...
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
mov eax, dword [ebx]
add esp, 0x10
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push edi
push ebx
call dword [eax]
xor ecx, ecx
mov edi, eax
test edi, edi
sete cl
push ecx
push str.135_tKPacket4::ExtractPacket_tExtract_return:_d
push str.T:_tmp_3174_1630465749774Coding_support_newsetup_srccommonappKUninstallKPacket4.cpp
push str._INFO_
push 0x629b08
call fcn.004638c0
add esp, 0x14
test edi, edi
je 0x47bc88
xor edi, edi
jmp 0x47bca8
mov edi, 1
jmp 0x47bc91
xor edi, edi
cmp dword [esi - 0xc], 0
je 0x47bc9e
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x47bca8
mov eax, dword [ebx]
push ebx
call dword [eax + 0x14]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x47bcc7
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
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
push 0x80004005
call fcn.00425f50
int3