joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000836a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x48c], ecx
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x42
mov edi, eax
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.1008e420
add esp, 0xc
cmp edi, 0xffffffff
je 0x10008490
test edi, edi
je 0x10008490
mov ebx, 0x22c
lea eax, [ebp - 0x488]
push ebx
push esi
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x488], ebx
lea eax, [ebp - 0x488]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1000847c
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
test ebx, ebx
je 0x1000846e
push 0x208
lea eax, [ebp - 0x258]
push esi
push eax
call fcn.1008e420
add esp, 0xc
lea eax, [ebp - 0x258]
push 0x103
push ebx
push eax
call fcn.10095fa0
add esp, 0xc
lea eax, [ebp - 0x258]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea edx, [ebp - 0x258]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x10008435
sub edx, ecx
lea eax, [ebp - 0x50]
sar edx, 1
lea ecx, [ebp - 0x258]
push eax
add edx, edx
call fcn.1004c2b7
pop ecx
test al, al
je 0x1000846e
push dword [ebp - 0x48c]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10008486
lea eax, [ebp - 0x488]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x100083e2
jmp 0x10008489
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret

Function at 0x100084ec
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
cmp ecx, 3
je fcn.10008594
cmp ecx, 0xe
je fcn.10008814
cmp ecx, 1
je fcn.1000850a
xor eax, eax
ret

Function at 0x1000850a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x20c
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1008e420
lea eax, [ebp - 0x210]
mov edx, str.InstallDir
push eax
mov ecx, str.SOFTWARETencentQQPCMgr
call fcn.1001aa5e
add esp, 0x10
test eax, eax
je 0x10008586
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.QQPCTray.exe
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.10096511
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x10008594
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push 0x224
mov eax, 0x100bc9d2
call fcn.1008bbf4
lea eax, [ebp - 0x22c]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREkingsoftAntivirus
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x22c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100086e8
mov edi, 0x20a
mov dword [ebp - 0x228], esi
push edi
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x224], 0x208
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
push str.ProgramPath
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100086e8
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1000862e
sub ecx, edx
sar ecx, 1
push 0x5c
pop eax
cmp word [ebp + ecx*2 - 0x21e], ax
je 0x1000866b
mov word [ebp + ecx*2 - 0x21c], ax
lea ecx, [ecx*2 + 2]
cmp ecx, edi
jae 0x100086f0
xor eax, eax
mov word [ebp + ecx - 0x21c], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], esi
push eax
lea ecx, [ebp - 0x220]
call fcn.1000563a
push str.kxetray.exe
lea edx, [ebp - 0x220]
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x230]
call fcn.10001464
pop ecx
xor ebx, ebx
lea ecx, [ebp - 0x220]
inc ebx
push eax
mov byte [ebp - 4], bl
call fcn.100055ec
mov ecx, dword [ebp - 0x230]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push dword [ebp - 0x220]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp - 0x22c]
test eax, eax
cmovne esi, ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.100018e3
mov eax, esi
call fcn.1008bb9e
ret
call fcn.1008b3c9
int3

Function at 0x10008b3f
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x110]
xor esi, esi
push eax
push 0x20019
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x110], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10008c07
push edi
mov edi, 0x100
mov dword [ebp - 0x10c], esi
push edi
lea eax, [ebp - 0x104]
push esi
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x108], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push str.KAVINSTALLNEEDREBOOT
push dword [ebp - 0x110]
call edi
test eax, eax
je 0x10008bf7
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x10c]
push eax
push esi
push str.KAV7NEEDREBOOT
push dword [ebp - 0x110]
call edi
test eax, eax
jne 0x10008bfa
xor esi, esi
inc esi
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x10009040
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x10009074
call fcn.100113b1
test eax, eax
js 0x1000907e
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4
Function at 0x10012ef1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
push dword [esi]
push 1
push dword [esi + 8]
push dword [ebp + 8]
call fcn.1009f1a4
mov ecx, dword [esi + 8]
add esp, 0x10
lea ebx, [eax - 1]
mov eax, ecx
neg ebx
cdq
sbb bl, bl
idiv dword [esi + 0x18]
inc bl
mov dword [ebp - 0x10], ebx
mov dword [esi + 0x1c], eax
test bl, bl
je 0x1001305e
add dword [esi + 0x14], ecx
push 0xffffffffffffffff
push eax
lea eax, [esi + 0x38]
cmp dword [eax + 0x14], 8
push ecx
mov ecx, esp
jb 0x10012f42
mov eax, dword [eax]
push ecx
mov dword [ecx], eax
mov eax, esp
push 0x18
lea ecx, [esi + 0x20]
pop edx
mov dword [eax], str.read
call fcn.10011639
mov eax, dword [esi + 0x1c]
xor ecx, ecx
mov edx, dword [esi + 0x18]
add esp, 0x10
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
test eax, eax
je 0x10013014
mov ebx, ecx
dec eax
mov dword [ebp - 0xc], eax
xor eax, eax
cmp dword [ebp - 8], 1
jne 0x10012f86
cmp byte [edi], al
jmp 0x10012f8e
xor ebx, ebx
cmp word [edi], bx
mov ebx, dword [ebp - 4]
sete al
test eax, eax
je 0x10012fbb
test ecx, ecx
je 0x10012fb1
cmp edi, ecx
je 0x10012fb1
mov eax, edi
imul edx, ebx
sub eax, ecx
push eax
push ecx
sub ecx, edx
push ecx
call fcn.1008d0f0
add esp, 0xc
mov edx, dword [esi + 0x18]
inc ebx
mov dword [ebp - 4], ebx
lea ecx, [edx + edi]
mov eax, dword [ebp - 0xc]
add edi, edx
test eax, eax
jne 0x10012f76
mov ebx, dword [ebp - 0x10]
test ecx, ecx
je 0x10012fe9
cmp edi, ecx
je 0x10012fe9
mov eax, dword [esi + 0x18]
sub edi, ecx
push edi
mov edi, dword [ebp - 4]
imul eax, edi
push ecx
sub ecx, eax
push ecx
call fcn.1008d0f0
add esp, 0xc
jmp 0x10012fec
mov edi, dword [ebp - 4]
test edi, edi
je 0x10013014
push 0xffffffffffffffff
push edi
push ecx
mov eax, esp
xor ecx, ecx
push ecx
xor edx, edx
inc edx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esi + 0x20]
mov dword [eax], str.nulls_removed
call fcn.10011639
add esp, 0x10
sub dword [esi + 0x1c], edi
cmp dword [esi + 0x18], 1
jle 0x10013065
test byte [esi + 4], 0x80
je 0x10013065
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x1001303b
mov edx, dword [ebp + 8]
dec ecx
movzx eax, word [edx + ecx*2]
rol ax, 8
mov word [edx + ecx*2], ax
test ecx, ecx
jne 0x1001302a
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor ecx, ecx
push ecx
mov edx, ecx
mov dword [eax], ecx
mov eax, esp
lea ecx, [esi + 0x20]
mov dword [eax], str.endian_swap
call fcn.10011639
add esp, 0x10
jmp 0x10013065
mov ecx, esi
call fcn.10012a2e
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10013413
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
push edi
mov edi, edx
mov eax, dword [esi + 0x18]
imul eax, dword [esi + 0x1c]
cmp dword [ebp + 0xc], 0
cmovne edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0
test byte [esi + 4], 0x80
mov dword [esi + 8], eax
je 0x100134a5
test edx, edx
jne 0x10013470
mov eax, dword [esi + 0x1c]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1008b25c
mov ecx, dword [esi + 0x1c]
mov ebx, eax
add ecx, ecx
mov dword [ebp + 0xc], ebx
push ecx
push edi
push ebx
call fcn.1008dea0
add esp, 0x10
mov edx, ebx
mov edi, ebx
mov ecx, dword [esi + 0x1c]
jmp 0x10013482
dec ecx
movzx eax, word [edx + ecx*2]
rol ax, 8
mov word [edx + ecx*2], ax
test ecx, ecx
jne 0x10013475
push 0xffffffffffffffff
push 0xffffffffffffffff
push ecx
mov eax, esp
xor edx, edx
push ecx
and dword [eax], ecx
mov eax, esp
lea ecx, [esi + 0x20]
mov dword [eax], str.endian_swap
call fcn.10011639
add esp, 0x10
push dword [esi]
push 1
push dword [esi + 8]
push edi
call fcn.1009f48c
add esp, 0x10
lea ebx, [eax - 1]
mov eax, dword [ebp + 0xc]
neg ebx
sbb bl, bl
inc bl
test eax, eax
je 0x100134cc
push eax
call fcn.1008b265
pop ecx
test bl, bl
je 0x10013504
mov eax, dword [esi + 8]
add dword [esi + 0x14], eax
lea eax, [esi + 0x38]
cmp dword [eax + 0x14], 8
push 0xffffffffffffffff
push dword [esi + 0x1c]
push ecx
mov ecx, esp
jb 0x100134e9
mov eax, dword [eax]
push ecx
mov dword [ecx], eax
mov eax, esp
push 0x18
lea ecx, [esi + 0x20]
pop edx
mov dword [eax], str.write
call fcn.10011639
add esp, 0x10
jmp 0x1001350b
mov ecx, esi
call fcn.10012a2e
pop edi
pop esi
mov al, bl
pop ebx
pop ebp
ret 8
Function at 0x10016e40
Capabilities:
Check if file exists
Create directory
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 0x218
mov eax, 0x100bdd3f
call fcn.1008bbf4
mov esi, dword [0x10110bfc]
mov ebx, dword [ebp + 8]
and dword [ebp - 0x220], 0
push str.RT_RCDATA
push 0x6f
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10016e7a
xor eax, eax
jmp 0x10016f50
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x224], eax
test eax, eax
je 0x10016e73
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x10016e73
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10016e73
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.1008e420
push 0x104
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.10095fa0
add esp, 0x18
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10016efd
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0
push 0x80
push 2
push 0
push 1
push 0x10000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10016f29
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x10016e73
push 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x224]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x10016f1d
xor eax, eax
inc eax
call fcn.1008bb9e
ret
Function at 0x1001735c
Capabilities:
Create process on windows

Disassembly:
push 0x74
mov eax, 0x100bde5f
call fcn.1008bbf4
mov edi, ecx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x68]
push 0x40
push 0
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x81
xor eax, eax
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x7c], xmm0
push 0x100d2f38
mov word [ebp - 0x3c], ax
call fcn.100028b0
and dword [ebp - 4], 0
lea esi, [edi + 4]
cmp dword [esi + 0x14], 8
jb 0x100173b4
mov esi, dword [esi]
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1000574b
mov esi, 0x100d2f38
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1000574b
mov esi, 0x100d2cac
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.1000574b
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.1000574b
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x7c]
push ecx
lea ecx, [ebp - 0x6c]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test ebx, ebx
je 0x10017455
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], ecx
lea ecx, [edi + 0x38]
push eax
call fcn.100193dd
cmp dword [ebp - 0x80], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x1001744e
push dword [ebp - 0x80]
call esi
push dword [ebp - 0x78]
call esi
jmp 0x1001746b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.100189ba
mov dword [eax + 0x20], esi
mov dword [eax + 0x15c], esi
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.10001f43
mov eax, ebx
call fcn.1008bb9e
ret 4
Function at 0x10017547
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x10017658
mov ecx, edi
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001756f
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x10017658
add esi, esi
mov eax, esi
call fcn.1008bd50
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.100193a9
mov esi, eax
test esi, esi
je 0x10017658
push 0x20a
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1008e420
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.10017762
push str.Txdlproxy.dat
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100175fc
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100f1434
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.1009e6a1
add esp, 0xc
cmp dword [ebp - 0x214], ebx
je 0x10017658
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001762a
push dword [ebp - 0x214]
sub ecx, edx
lea eax, [ecx + 1]
push eax
push 1
push esi
call fcn.1009f48c
push dword [ebp - 0x214]
call fcn.1009f55a
xor eax, eax
add esp, 0x14
inc eax
jmp 0x1001765a
xor eax, eax
lea esp, [ebp - 0x220]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4

Function at 0x10017673
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x20a
xor edi, edi
lea eax, [ebp - 0x210]
push edi
push eax
mov esi, ecx
call fcn.1008e420
add esp, 0xc
lea ecx, [ebp - 0x210]
call fcn.10017762
push 0x100f1438
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x40
lea eax, [ebp - 0x250]
push edi
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x254], 0x44
lea eax, [ebp - 0x264]
mov dword [ebp - 0x228], 0x80
xorps xmm0, xmm0
movups xmmword [ebp - 0x264], xmm0
push eax
lea eax, [ebp - 0x254]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x210]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x10017750
mov ecx, dword [ebp - 0x264]
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], ecx
lea ecx, [esi + 0x38]
push eax
call fcn.100193dd
cmp dword [ebp - 0x268], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x10017748
push dword [ebp - 0x268]
call esi
push dword [ebp - 0x260]
call esi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x100177a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov edi, ecx
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [edi + 0x3c]
call fcn.10001dcf
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push edi
push 0x1001782d
push ebx
push ebx
mov dword [edi + 0x58], ebx
mov dword [ebp - 8], ebx
call fcn.100968b3
add esp, 0x18
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
lea ecx, [edi + 0x38]
push eax
call fcn.100193dd
cmp dword [ebp - 0xc], ebx
je 0x10017803
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x38], ebx
je 0x10017818
push 0xffffffffffffffff
push dword [edi + 0x54]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x58]
jmp 0x1001781a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 4

Function at 0x10017a1f
Capabilities:
Check if file exists
Delete file
Write file on windows

Disassembly:
push 0x14
mov eax, 0x100bde8f
call fcn.1008bbf4
mov edi, ecx
lea edx, [ecx + 2]
xor ebx, ebx
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x10017a32
sub ecx, edx
sar ecx, 1
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jle 0x10017a50
mov edi, ebx
jmp 0x10017a67
add esi, esi
mov eax, esi
call fcn.1008bd50
mov ecx, esp
mov edx, edi
push 3
push esi
call fcn.100193a9
mov edi, eax
mov esi, edi
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10017a6c
sub esi, ecx
mov edx, edi
push esi
call fcn.1001a2f5
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ebx
call fcn.1001ae11
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x14]
mov edx, eax
mov dword [esp], str.TxdlService.dat
call fcn.10001464
pop ecx
mov ecx, dword [ebp - 0x20]
lea ecx, [ecx - 0x10]
call fcn.100018e3
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10017ac1
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x100f1434
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
push eax
call fcn.1009e6a1
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x10017b08
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 1
push 4
push eax
call fcn.1009f48c
push dword [ebp - 0x1c]
lea eax, [esi + 1]
push eax
push 1
push edi
call fcn.1009f48c
push dword [ebp - 0x1c]
call fcn.1009f55a
add esp, 0x24
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.100018e3
xor eax, eax
inc eax
lea esp, [ebp - 0x30]
call fcn.1008bb9e
ret
Function at 0x10017b32
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10017b60
xor eax, eax
jmp 0x10017bac
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x10017b9f
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.10096350
pop ecx
pop ecx
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x230]
push eax
push edi
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x10017b7a
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret
Function at 0x100184ed
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x1010c070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x101107c0
mov edi, 0xd2
push esi
push str.EntryPoint__g_szCmdline_s
push edi
mov ebx, str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlPackageLauncher.cpp
push ebx
call fcn.1006ab44
mov ecx, esi
add esp, 0x10
xor esi, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x10018526
sub ecx, edx
sar ecx, 1
jne 0x10018548
push str.EntryPoint__g_szCmdline_is_empty
push edi
push ebx
call fcn.1006ab44
add esp, 0xc
jmp 0x100185a0
push 0x40
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.1008e420
add esp, 0xc
mov dword [ebp - 0x48], 0x44
xor eax, eax
mov dword [ebp - 0x1c], 0x81
mov word [ebp - 0x18], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push 0x101107c0
push esi
movups xmmword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x100185a0
push dword [ebp - 0x58]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x54]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aeea
mov esp, ebp
pop ebp
ret 0x10

Function at 0x100185b3
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x100bdfd4
call fcn.1008bbf4
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x438]
mov ebx, 0x100d2f38
push ebx
call fcn.100028b0
and dword [ebp - 4], 0
lea eax, [esi + 4]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x438]
call fcn.10002a95
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x438]
call fcn.1000574b
mov esi, 0x100d2cac
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x438]
call fcn.1000574b
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x438]
call fcn.1000574b
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
mov edi, 0x208
cmovae eax, dword [ebp - 0x438]
push eax
push edi
push 0x101107c0
call fcn.10095c92
push edi
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.1008e420
add esp, 0x18
lea eax, [ebp - 0x218]
mov esi, 0x104
push esi
push eax
push dword [0x10110bfc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
push str._EntryPoint
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.10096511
push edi
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.1008e420
add esp, 0x18
lea eax, [ebp - 0x420]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.rundll32.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push ecx
push ebx
push ecx
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x420]
call fcn.1001aff3
add esp, 0xc
lea ecx, [ebp - 0x438]
mov esi, eax
push ebx
push 1
call fcn.10001f43
mov eax, esi
call fcn.1008bb9e
ret 4

Function at 0x100187d1
Capabilities:
Get session user name
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100187da