joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419130
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dac2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4191c5
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407590
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x419221
cmp dword [esi + 0x14], 8
jb 0x4191f5
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x482750]
je 0x41921f
add ecx, 2
cmp ecx, 4
jb 0x419200
push 1
push 0x486c90
mov ecx, esi
call fcn.00407dd0
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.00422308
mov esp, ebp
pop ebp
ret

Function at 0x419240
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dac2
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x228], esi
xor eax, eax
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4192d5
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407590
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x419331
cmp dword [esi + 0x14], 8
jb 0x419305
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x482750]
je 0x41932f
add ecx, 2
cmp ecx, 4
jb 0x419310
push 1
push 0x486c90
mov ecx, esi
call fcn.00407dd0
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.00422308
mov esp, ebp
pop ebp
ret
Function at 0x41a040
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44dba8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, esi
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x41a084
sub edx, ecx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push esi
call fcn.00407590
push esi
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41a112
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41a112
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41a112
lea ecx, [ebp - 0x28]
call fcn.00419eb0
cmp dword [ebp - 0x18], 0
jne 0x41a0dc
xor esi, esi
jmp 0x41a117
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
call fcn.0041a040
test eax, eax
jne 0x41a0f4
xor esi, esi
jmp 0x41a117
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x41a112
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x41a112
xor esi, esi
jmp 0x41a117
mov esi, 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x41a14d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41a143
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41a169
push edx
push ecx
call fcn.0042297a
add esp, 8
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.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
int3
Function at 0x41a1d0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x48a9e0
push 0x423f50
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x48d06c]
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
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x41a27d
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x41a27d
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0041a2aa
mov eax, esi
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.00422308
mov esp, ebp
pop ebp
ret
Function at 0x41b3f0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44da6b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
push 0
push 0x1a
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b463
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407590
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x41b4f3
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x485780
call fcn.00407590
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41b596
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b58c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b5b2
jmp 0x41b58c
lea ecx, [eax - 1]
cmp eax, ecx
jbe 0x41b5b7
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x41b532
cmp eax, 0x2f
je 0x41b532
push 1
push 0x486c90
lea ecx, [ebp - 0x230]
call fcn.00407dd0
push 0xf
push str.TencentDeskGo_
lea ecx, [ebp - 0x230]
call fcn.00407dd0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
call fcn.0041a040
mov ecx, esi
test eax, eax
jne 0x41b57b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x485780
jmp 0x41b4ab
lea eax, [ebp - 0x230]
push eax
call fcn.0040e900
jmp 0x41b4b0
push edx
push ecx
call fcn.0042297a
add esp, 8
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.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
call fcn.00405150
int3
Function at 0x41b5c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44da6b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
push 0
push 0x23
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], esi
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41b633
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00407590
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x220]
test eax, eax
jne 0x41b6c3
push eax
mov dword [esi + 0x10], eax
mov ecx, esi
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x485780
call fcn.00407590
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x41b766
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41b75c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b782
jmp 0x41b75c
lea ecx, [eax - 1]
cmp eax, ecx
jbe 0x41b787
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
movzx eax, word [eax + ecx*2]
cmp eax, 0x5c
je 0x41b702
cmp eax, 0x2f
je 0x41b702
push 1
push 0x486c90
lea ecx, [ebp - 0x230]
call fcn.00407dd0
push 0xf
push str.TencentDeskGo_
lea ecx, [ebp - 0x230]
call fcn.00407dd0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
cmovae ecx, dword [ebp - 0x230]
call fcn.0041a040
mov ecx, esi
test eax, eax
jne 0x41b74b
push eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x485780
jmp 0x41b67b
lea eax, [ebp - 0x230]
push eax
call fcn.0040e900
jmp 0x41b680
push edx
push ecx
call fcn.0042297a
add esp, 8
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.00422308
mov esp, ebp
pop ebp
ret
call fcn.004309e5
call fcn.00405150
int3
Function at 0x41ba80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
mov esi, ecx
lea eax, [ebp - 0x210]
push 0
mov dword [ebp - 0x214], esi
push eax
mov dword [ebp - 0x214], esi
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41bae6
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.00407590
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00422308
mov esp, ebp
pop ebp
ret

Function at 0x41bb20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x40c]
mov esi, ecx
push eax
push 1
push 0
push str.SoftwareTencentDeskGo
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x41bbe0
push 0x402
push eax
lea eax, [ebp - 0x408]
push eax
call fcn.00424870
add esp, 0xc
mov dword [ebp - 0x410], 0x200
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x408]
push eax
push 0
push 0
push str.Version
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41bbd4
lea eax, [ebp - 0x408]
push eax
push 0x104
push esi
call fcn.0042cbf9
add esp, 0xc
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.00422308
mov esp, ebp
pop ebp
ret
Function at 0x41bc00
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ddc8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x44], 0x181
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41bd71
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.00409180
add esp, 0x10
xor eax, eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x14]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41bd07
push esi
push edi
push eax
push 0x7530
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_s
push 0x48dac0
call fcn.00417de0
add esp, 0x1c
mov dword [ebp - 0x18], 0
jmp 0x41bd38
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x24]
push 0x7530
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x18], 1
test edi, edi
je 0x41bd31
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x41bd38
push esi
call eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x14]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41bd5a
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x41bd80
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44de06
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x48d06c]
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
push 0x22c
xor ebx, ebx
lea eax, [ebp - 0x240]
push ebx
push eax
call fcn.00424870
add esp, 0xc
lea ecx, [ebp - 0x244]
push esi
call fcn.004092a0
push ebx
push 2
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
or edi, 0xffffffff
mov dword [ebp - 0x24c], eax
cmp eax, edi
je 0x41bf80
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], 0x22c
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x41bf74
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
mov dword [ebp - 0x248], ecx
nop
mov eax, dword [ebp - 0x238]
cmp eax, ecx
je 0x41beec
test eax, eax
je 0x41beec
cmp eax, 4
je 0x41beec
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x250]
call fcn.0040ccc0
add esp, 4
push 0
push dword [eax]
call fcn.00439de8
mov edx, dword [ebp - 0x250]
add esp, 8
test eax, eax
mov eax, edi
sete bl
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41be88
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x41beec
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x254]
call fcn.0040ccc0
add esp, 4
push 0
push 0x80
push 3
push 0
push 0
push 0x10000000
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edx, dword [ebp - 0x254]
mov esi, eax
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bee0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, 0xffffffff
je 0x41bf0e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x41bf72
mov ecx, dword [ebp - 0x248]
jmp 0x41be20
lea eax, [ebp - 0x21c]
push eax
lea edx, [ebp - 0x244]
lea ecx, [ebp - 0x248]
call fcn.0040ccc0
add esp, 4
mov byte [ebp - 4], 1
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xffffffffffffffff
push str.IsProcessRunningByDirectory_CreateFile_return:_d__error:_d__path:_ws
push 0x48dac0
call fcn.00417ab0
mov byte [ebp - 4], 0
add esp, 0x14
mov edx, dword [ebp - 0x248]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41bf6b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ebx, 1
jmp 0x41bf74
xor ebx, ebx
push dword [ebp - 0x24c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x244]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x41bfa2
mov ecx, dword [eax]
push eax
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 ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
Function at 0x41c560
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44de80
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41c63a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41c5c1
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push str.SoftWareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x14]
push eax
push str.ExeString
lea ecx, [ebp - 0x10]
call fcn.0040f910
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
mov byte [ebp - 4], 0
sbb edi, edi
add esi, 0xfffffff0
neg edi
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x41c619
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x41c627
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408740
int3
Function at 0x41c650
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44deb0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x48d06c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
call fcn.0041c560
test eax, eax
mov dword [ebp - 0x14], 0
mov ecx, 1
lea eax, [ebp - 0x14]
push eax
cmovne edi, ecx
xor esi, esi
push ecx
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x10], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov eax, dword [ebp - 0x14]
je 0x41c6bc
test eax, eax
je 0x41c6cf
mov esi, 1
test eax, eax
je 0x41c6cf
push eax
call ebx
mov dword [ebp - 0x14], 0
test esi, esi
jne 0x41c713
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], esi
push eax
push 1
push esi
push 0x48da0c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
mov eax, dword [ebp - 0x18]
je 0x41c6f8
test eax, eax
je 0x41c70b
mov esi, 1
test eax, eax
je 0x41c70b
push eax
call ebx
mov dword [ebp - 0x18], 0
test esi, esi
jne 0x41c713
xor eax, eax
jmp 0x41c72a
push str.install_atsz
push 0x48dac0
call fcn.00417ab0
add esp, 8
mov eax, 1
or edi, 2
test eax, eax
cmove edi, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
call fcn.004014e0
mov ecx, eax
test ecx, ecx
je 0x41c7ec
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41c769
push eax
call ebx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [ebp - 0x18]
push eax
push str.ProgramPath
lea ecx, [ebp - 0x10]
call fcn.0040f910
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
mov byte [ebp - 4], 0
sbb eax, eax
add esi, 0xfffffff0
neg eax
or ecx, 0xffffffff
mov dword [ebp - 0x18], eax
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41c7c4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x41c7ce
push eax
call ebx
mov eax, edi
or eax, 4
cmp dword [ebp - 0x18], 0
cmove 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 0x80004005
call fcn.00408740
int3
Function at 0x41d6f0
Capabilities:
Check for time delay via gettickcount
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x48d06c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, ecx
cmp dword [edi + 4], 0
jne 0x41d797
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.00424870
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0xc
push 0x4872b8
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.00437eda
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [edi + 4], 0
jne 0x41d797
or dword [edi + 0x18], 1
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00422308
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop edi
call fcn.00422308
mov esp, ebp
pop ebp
ret