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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f60b
mov eax, dword fs:[0]
push eax
sub esp, 0x318
mov eax, dword [0x56f790]
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 eax, dword [ebp + 0x10]
xor edi, edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2fc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2f8], eax
mov eax, dword [ebp + 0x18]
push 0x208
mov dword [ebp - 0x2f4], eax
lea eax, [ebp - 0x2e4]
push edi
push eax
mov dword [ebp - 0x31c], esi
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x314], 0x104
lea eax, [ebp - 0x324]
mov dword [ebp - 0x2ec], edi
xorps xmm0, xmm0
mov dword [ebp - 0x310], edi
mov dword [ebp - 0x30c], edi
push eax
lea eax, [ebp - 0x300]
mov dword [ebp - 0x2f0], edi
push eax
lea eax, [ebp - 0x304]
mov dword [ebp - 0x308], edi
push eax
lea eax, [ebp - 0x308]
mov dword [ebp - 0x304], edi
push eax
lea eax, [ebp - 0x2f0]
mov dword [ebp - 0x300], edi
push eax
lea eax, [ebp - 0x30c]
movlpd qword [ebp - 0x324], xmm0
push eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x2ec]
push eax
push edi
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x2e4]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x46d59a
mov eax, dword [ebp - 0x2f0]
test eax, eax
je 0x46d4ba
push dword [ebp - 0x2f4]
push dword [ebp - 0x2f8]
push dword [ebp - 0x2fc]
push esi
push eax
push ebx
call fcn.0046d5c0
add esp, 0x18
mov edi, eax
push 0xca
lea eax, [ebp - 0xdc]
push 0
push eax
call fcn.004b17e0
xor esi, esi
add esp, 0xc
cmp dword [ebp - 0x2ec], esi
jbe 0x46d59a
nop
lea eax, [ebp - 0x324]
mov dword [ebp - 0x318], 0x64
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x318]
push eax
lea eax, [ebp - 0xdc]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x46d58d
push eax
lea ecx, [ebp - 0x2e8]
call fcn.00455560
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2e8]
call fcn.004557f0
push eax
push 0x20019
push 0
lea eax, [ebp - 0xdc]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x46d57b
push dword [ebp - 0x2f4]
lea ecx, [ebp - 0x2e8]
push dword [ebp - 0x2f8]
push dword [ebp - 0x2fc]
push dword [ebp - 0x31c]
call fcn.004557d0
push eax
call fcn.0046d390
add esp, 0x14
add edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2e8]
call fcn.00455620
inc esi
cmp esi, dword [ebp - 0x2ec]
jb 0x46d4e0
mov eax, edi
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.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x46f170
Capabilities:
Delete file
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51fb50
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x56f790]
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, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
xor edi, edi
test esi, esi
je 0x46f226
cmp word [esi], di
je 0x46f226
test ebx, ebx
je 0x46f1e2
cmp word [ebx], di
je 0x46f1e2
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
push edi
push edi
push ebx
push esi
push edi
call sub.urlmon.dll_URLDownloadToFileW
test eax, eax
mov ecx, 1
cmovns edi, ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x46f226
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0
push 0
push 0x104
push eax
push esi
push 0
call sub.urlmon.dll_URLDownloadToCacheFileW
test eax, eax
js 0x46f226
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, 1
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x46f23f
mov dword [ebp - 0x424], edi
lea edx, [ebp - 0x424]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x34]
test ecx, ecx
je 0x46f265
mov esi, dword [ecx]
lea eax, [ebp + 0x10]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov dword [ebp + 0x34], 0
mov eax, edi
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.004ac4b8
mov esp, ebp
pop ebp
ret
Function at 0x472550
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520606
mov eax, dword fs:[0]
push eax
sub esp, 0x814
mov eax, dword [0x56f790]
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 + 0xc]
lea ecx, [ebp - 0x820]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
call fcn.00486140
push esi
push edi
push ebx
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0
call fcn.004864f0
test eax, eax
jne 0x4725b2
xor esi, esi
jmp 0x472655
call fcn.00408a30
mov ecx, eax
test ecx, ecx
je 0x472680
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 1
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x820]
call fcn.004866b0
test eax, eax
jne 0x4725ef
xor esi, esi
jmp 0x472633
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x538ee4
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 1
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x472655
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x820]
call fcn.00486160
mov eax, esi
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.004ac4b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404400
int3
Function at 0x472690
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520663
mov eax, dword fs:[0]
push eax
sub esp, 0x81c
mov eax, dword [0x56f790]
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 + 0xc]
lea ecx, [ebp - 0x820]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
call fcn.00486140
push esi
push edi
push ebx
lea ecx, [ebp - 0x820]
mov dword [ebp - 4], 0
call fcn.004864f0
test eax, eax
jne 0x4726f2
xor esi, esi
jmp 0x47282d
call fcn.00408a30
mov ecx, eax
test ecx, ecx
je 0x472858
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 1
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x820]
call fcn.004866b0
test eax, eax
je 0x472809
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x52bbac
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [0x5739e0]
test ecx, ecx
jne 0x4727e1
mov eax, dword [vtable.CDHCriticalSection.0]
mov ecx, 0x56f560
mov dword [ebp - vtable.CDHCriticalSection.0], 0x56f560
call dword [eax + 4]
cmp dword [0x5739e0], 0
mov byte [ebp - 4], 2
jne 0x4727c6
cmp dword [0x56f55c], 0
je 0x4727c6
push 0x20
call fcn.00428200
add esp, 4
mov dword [ebp - 0x828], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x4727b5
mov ecx, eax
call fcn.00458d90
jmp 0x4727b7
xor eax, eax
mov dword [0x5739e0], eax
mov dword [0x56f55c], 0
mov eax, dword [vtable.CDHCriticalSection.0]
mov ecx, 0x56f560
mov byte [ebp - 4], 4
call dword [eax + 8]
mov ecx, dword [0x5739e0]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x810]
push eax
call fcn.004590f0
test eax, eax
je 0x472809
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov esi, 1
jmp 0x47280b
xor esi, esi
mov edi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x47282d
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x820]
call fcn.00486160
mov eax, esi
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.004ac4b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404400
int3
Function at 0x472870
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5206a6
mov eax, dword fs:[0]
push eax
sub esp, 0x818
mov eax, dword [0x56f790]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x824]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x818], eax
call fcn.00486140
push esi
push edi
push ebx
lea ecx, [ebp - 0x824]
mov dword [ebp - 4], 0
call fcn.004864f0
test eax, eax
jne 0x4728db
xor edi, edi
jmp 0x4729d3
call fcn.00408a30
mov ecx, eax
test ecx, ecx
je 0x4729fe
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x814], eax
push 0
lea eax, [ebp - 0x814]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x824]
call fcn.004866b0
test eax, eax
je 0x4729af
push 0x800
lea eax, [ebp - 0x810]
push 0
push eax
call fcn.004b17e0
add esp, 0xc
lea eax, [ebp - 0x810]
push 0x538ed4
push dword [ebp - 0x814]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call fcn.0048b530
add esp, 4
test eax, eax
je 0x4729af
lea eax, [ebp - 0x810]
push eax
call fcn.00508970
mov ecx, dword [ebp - 0x818]
lea edx, [ebp - 0x810]
add esp, 4
lea esi, [edx + 2]
mov edi, eax
lea ecx, [ecx + 0x348]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x472980
sub edx, esi
lea eax, [ebp - 0x810]
sar edx, 1
push edx
push eax
call fcn.00407f80
push 4
push 0
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4729b1
xor edi, edi
mov esi, dword [ebp - 0x814]
or eax, 0xffffffff
mov byte [ebp - 4], 0
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4729d3
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
lea ecx, [ebp - 0x824]
call fcn.00486160
mov eax, edi
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.004ac4b8
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.00404400
int3
Function at 0x472e40
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520740
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
push 1
push eax
call dword [ecx + 0x10]
cmp dword [ebp + 0xc], 1
jne 0x472f0d
lea ecx, [esi + 0x1b4]
call fcn.00483cc0
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.004088a0
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
mov eax, dword [esi + 4]
sub eax, 0x10
mov dword [ebp - 4], 0
push eax
call fcn.004088a0
add eax, 0x10
add esp, 8
mov dword [ebp + 8], eax
push str.FileList.xml
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00416bf0
mov esi, dword [ebp + 8]
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472ef1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], esi
dec esi
test esi, esi
jg 0x472f0d
mov ecx, dword [edi]
push edi
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 esp, ebp
pop ebp
ret 8

Function at 0x472f40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520770
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x56f790]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x472f80
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
push esi
lea ecx, [ebp + 0xc]
call fcn.004093d0
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
or edi, 0xffffffff
test eax, eax
je 0x472fea
mov eax, dword [ebp + 8]
add eax, 4
push 0x532d98
push eax
lea eax, [ebp + 8]
push eax
call fcn.00410610
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00408360
mov edx, dword [ebp + 8]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x472fe1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push esi
lea ecx, [ebp + 0xc]
call fcn.00416bf0
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x472ffb
xor esi, esi
jmp 0x473012
push 0xffffffffffffffff
push 0
push 0
push 1
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00474060
mov esi, eax
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x473031
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
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 0x473050
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x4730b6
push esi
mov esi, dword [edx + 4]
test esi, esi
je 0x4730b5
mov eax, esi
push ebx
lea ebx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x473070
sub eax, ebx
sar eax, 1
je 0x4730b4
mov ebx, dword [edx + 0xc]
mov ecx, ebx
lea eax, [ecx + 2]
mov dword [ebp + 0xc], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473090
sub ecx, dword [ebp + 0xc]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push dword [edx + 0x10]
push dword [edx + 8]
push esi
push dword [edx]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
pop ebx
pop esi
pop ebp
ret 8
Function at 0x473520
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x473598
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], 1
push eax
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0x10
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 2
push eax
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret

Function at 0x473830
Capabilities:
Check os version

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x160
mov eax, dword [0x56f790]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x56f5c0]
test ecx, ecx
js 0x473878
xor eax, eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x118
xorps xmm0, xmm0
mov dword [0x56f5c0], 0
lea eax, [ebp - 0x124]
movaps xmmword [ebp - 0x160], xmm0
push 0
push eax
movaps xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x140], 0
call fcn.004b17e0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x4738e9
lea eax, [ebp - 0x128]
mov dword [ebp - 0x128], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x473940
push str.GetNativeSystemInfo
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x473940
lea ecx, [ebp - 0x160]
push ecx
call eax
mov ax, word [ebp - 0x160]
cmp ax, 9
je 0x473920
cmp ax, 6
jne 0x473940
mov dword [0x56f5c0], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x473d20
Capabilities:
Enumerate process modules
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5628a0
push 0x4b1ef0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x2a14
call fcn.004ac5b0
mov eax, dword [0x56f790]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2a2c], esi
test esi, esi
je 0x473ef4
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x473d76
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x473ef4
mov dword [ebp - 4], 0
call fcn.00473520
mov dword [ebp - 4], 0xfffffffe
jmp 0x473dbc
push 0x800
push 0
lea eax, [ebp - 0xa24]
push eax
call fcn.004b17e0
mov dword [ebp - 0x2a28], 0
push 0x2000
push 0
lea eax, [ebp - 0x2a24]
push eax
call fcn.004b17e0
add esp, 0x18
lea eax, [ebp - 0x2a28]
push eax
push 0x800
lea eax, [ebp - 0x2a24]
push eax
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x473ef4
push 0x104
push esi
lea eax, [ebp - 0x224]
push eax
call fcn.004d151e
lea eax, [ebp - 0x224]
push eax
call fcn.004d0624
add esp, 0x10
xor edi, edi
cmp dword [ebp - 0x2a28], edi
jbe 0x473ef4
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x400
lea eax, [ebp - 0xa24]
push eax
push dword [ebp + edi*4 - 0x2a24]
call fcn.00473650
add esp, 0xc
test eax, eax
je 0x473ee7
lea eax, [ebp - 0xa24]
push eax
call fcn.004d0624
add esp, 4
lea ecx, [ebp - 0xa24]
lea eax, [ebp - 0x224]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x473ea8
test dx, dx
je 0x473ea4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x473ea8
add eax, 4
add ecx, 4
test dx, dx
jne 0x473e82
xor eax, eax
jmp 0x473ead
sbb eax, eax
or eax, 1
test eax, eax
jne 0x473ee7
push dword [ebp + edi*4 - 0x2a24]
push eax
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x473ed3
push 0
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xa24]
push eax
push str.Kill_process:__s
call fcn.00441ac0
add esp, 8
inc edi
cmp edi, dword [ebp - 0x2a28]
jb 0x473e44
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 4
Function at 0x474060
Capabilities:
Check if file exists
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x5628e0
push 0x4b1ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x56f790]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 4], 0
test esi, esi
je 0x4741e1
cmp word [esi], 0
je 0x4741e1
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4740c0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x104
ja 0x4741e1
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4741e1
push 0x800
push 0
lea eax, [ebp - 0x81c]
push eax
call fcn.004b17e0
push esi
push 0x5334b4
push 0x3ff
lea eax, [ebp - 0x81c]
push eax
call fcn.0043d470
push 0x3c
push 0
lea eax, [ebp - 0x858]
push eax
call fcn.004b17e0
add esp, 0x28
mov dword [ebp - 0x858], 0x3c
lea eax, [ebp - 0x81c]
mov dword [ebp - 0x848], eax
mov dword [ebp - 0x84c], str.open
mov dword [ebp - 0x844], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x83c], eax
mov dword [ebp - 0x854], 0x440
cmp dword [ebp + 0x14], 0
je 0x474180
push esi
call fcn.0048b530
add esp, 4
test eax, eax
jne 0x474180
push str.RunApp_check_360_sign_fail.__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x4741e1
lea eax, [ebp - 0x858]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esi, eax
test esi, esi
je 0x4741a8
cmp dword [ebp + 0x18], 0
je 0x4741a8
push dword [ebp + 0x20]
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test edi, edi
je 0x4741bd
test esi, esi
je 0x4741cd
push edi
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test esi, esi
je 0x4741cd
push dword [ebp - 0x820]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4741ea
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004ac4b8
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x474210
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
jne 0x47422c
pop edi
pop ebp
ret 4
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop edi
pop ebp
ret 4