joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a355
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
test edx, edx
je 0x1001a44a
mov esi, dword [ebp + 8]
test esi, esi
jle 0x1001a44a
or ecx, 0xffffffff
cmp esi, 8
jl 0x1001a428
push edi
mov edi, esi
shr edi, 3
imul eax, edi, 0xfffffff8
add esi, eax
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
sub edi, 1
jne 0x1001a384
pop edi
test esi, esi
je 0x1001a444
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100d4840]
inc edx
sub esi, 1
jne 0x1001a42c
not ecx
mov eax, ecx
jmp 0x1001a44c
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1001a451
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
push esi
mov esi, ecx
push edi
push dword [esi]
call ebx
push dword [esi + 4]
mov dword [ebp - 8], eax
call ebx
mov ebx, eax
mov dword [ebp - 4], 0x10
xor esi, esi
push dword [esi + str.37k_IF__y_d]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp + esi - 0x18], eax
add esi, 4
cmp esi, 0x10
jl 0x1001a479
mov edi, dword [ebp - 8]
xor edx, edx
mov ecx, ebx
lea edx, [edx - 0x61c88647]
shl ecx, 4
mov eax, ebx
add ecx, dword [ebp - 0x18]
shr eax, 5
add eax, dword [ebp - 0x14]
xor ecx, eax
lea eax, [edx + ebx]
xor ecx, eax
add edi, ecx
mov ecx, edi
mov eax, edi
shr ecx, 5
add ecx, dword [ebp - 0xc]
shl eax, 4
add eax, dword [ebp - 0x10]
xor ecx, eax
lea eax, [edx + edi]
xor ecx, eax
add ebx, ecx
sub dword [ebp - 4], 1
jne 0x1001a496
push edi
mov edi, dword [sym.imp.WS2_32.dll_htonl]
call edi
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
call edi
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001aa0f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x1001aa6a
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1001aa81
cmp dword [ebp - 0x11c], 6
jne 0x1001aa81
cmp dword [ebp - 0x118], 0
jne 0x1001aa81
xor eax, eax
inc eax
jmp 0x1001aa83
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008bb47
mov esp, ebp
pop ebp
ret

Function at 0x1001aa92
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x120], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea eax, [ebp - 0x120]
push eax
call esi
test eax, eax
jne 0x1001aaed
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1001ab01
cmp dword [ebp - 0x11c], 6
jne 0x1001ab01
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jae 0x1001ab03
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008bb47
mov esp, ebp
pop ebp
ret
Function at 0x1001ae46
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
test edi, edi
jne 0x1001ae6b
xor eax, eax
jmp 0x1001af02
push esi
lea eax, [ebp - 0x218]
xor esi, esi
push eax
push 0x20019
push esi
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x218], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001aeff
cmp dword [ebp - 0x218], esi
je 0x1001aeff
push 0x20c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x214], 0x20b
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push esi
push ebx
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001aeef
push 0x103
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.10096be9
add esp, 0xc
inc esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001af01
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008bb47
mov esp, ebp
pop ebp
ret
Function at 0x1001af12
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x54
mov eax, 0x100beeb3
call fcn.1008c851
mov esi, edx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x20]
mov dword [ebp - 0x48], eax
xor ebx, ebx
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], ebx
call fcn.1001aa0f
test eax, eax
jne 0x1001af52
call fcn.1001aa92
test eax, eax
je 0x1001b00a
cmp byte [ebp + 0xc], 0
je 0x1001b00a
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.1001ab12
push eax
lea ecx, [ebp - 0x40]
call fcn.1000284a
push ebx
push 1
lea ecx, [ebp - 0x60]
call fcn.10001f53
mov edi, 0x100d3d18
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10005760
mov edi, str.QMConfigTencentQQPCMgrDownloader
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.10005760
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0x2001f
cmovae eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x20]
push eax
push reloc.WS2_32.dll_closesocket
call fcn.10003d94
test eax, eax
jne 0x1001affd
push esi
push dword [ebp - 0x48]
lea ecx, [ebp - 0x20]
call fcn.1001a9bb
lea ecx, [ebp - 0x20]
mov esi, eax
call fcn.10003d7a
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f53
jmp 0x1001b052
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.10001f53
jmp 0x1001b059
lea eax, [ebp - 0x44]
push eax
push 0x20019
push ebx
push str.QMConfigTencentQQPCMgrDownloader
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001b059
push 4
pop eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
push dword [ebp - 0x44]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x44]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test esi, esi
sete bl
lea ecx, [ebp - 0x20]
call fcn.10003d7a
mov eax, ebx
call fcn.1008c7fb
ret
Function at 0x1001b109
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101135c8]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], ebx
test al, 1
jne 0x1001b160
or eax, 1
mov dword [0x101135c0], ebx
mov dword [0x101135c8], eax
call fcn.100017d6
push eax
mov ecx, 0x101135c0
call fcn.10001572
push 0x100c5fd8
call fcn.1008bea4
pop ecx
mov eax, dword [0x101135c0]
cmp dword [eax - 0xc], ebx
jne 0x1001b1e1
push edi
push 0x20c
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1008f060
add esp, 0xc
lea eax, [ebp - 0x210]
push 0x208
push eax
push str._appdata_TencentQQPCMgr_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea edx, [ebp - 0x210]
lea edi, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, bx
jne 0x1001b1a0
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, 0x101135c0
push edx
push eax
call fcn.10005c3c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x1001b1e1
push ebx
push dword [0x101135c0]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [0x101135c0]
add ecx, 0xfffffff0
call fcn.1000159b
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop esi
pop ebx
call fcn.1008bb47
mov esp, ebp
pop ebp
ret

Function at 0x1001b206
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x22c
lea eax, [ebp - 0x230]
push ebx
xor esi, esi
push esi
push eax
call fcn.1008f060
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001b2ac
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1001b2a5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x1001b28e
test ecx, ecx
je 0x1001b28e
cmp ecx, 4
je 0x1001b28e
lea eax, [ebp - 0x20c]
push 0x100f3ce8
push eax
call fcn.10096f99
pop ecx
pop ecx
test eax, eax
je 0x1001b2a2
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001b264
jmp 0x1001b2a5
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.1008bb47
mov esp, ebp
pop ebp
ret
Function at 0x1001b2bf
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0x21c
mov eax, 0x100bef27
call fcn.1008c851
mov esi, ecx
mov dword [ebp - 0x224], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x228], esi
mov dword [esi], ebx
call fcn.100017d6
push eax
mov ecx, esi
call fcn.10001572
mov dword [ebp - 4], ebx
mov ecx, esi
mov dword [ebp - 0x220], 1
call fcn.100056d3
push 0x20c
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1008f060
add esp, 0xc
lea eax, [ebp - 0x21c]
push 1
push 0x23
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1001b33a
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10005c3c
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x1001b3a2
sub eax, 1
js 0x1001b3aa
push eax
mov ecx, esi
call fcn.10005735
push 0x5c
pop ecx
cmp ax, cx
je 0x1001b37e
push ecx
mov ecx, esi
call fcn.10005708
push 0x10
push str.TencentQQPCMgr_
mov ecx, esi
call fcn.10003991
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001b3a2
push ebx
push dword [esi]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
call fcn.1008c7fb
ret
push 0x80070057
call fcn.10001e58
int3

Function at 0x1001b4a1
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x100bef94
call fcn.1008c851
mov esi, edx
mov edi, ecx
test edi, edi
je 0x1001b5a0
test esi, esi
je 0x1001b5a0
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1008f060
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
add esp, 0xc
mov dword [ebp - 0x74], 0x44
neg eax
mov dword [ebp - 0x48], 0x81
xorps xmm0, xmm0
mov ebx, 0x100d3f58
sbb eax, eax
and eax, 5
push ebx
movups xmmword [ebp - 0x84], xmm0
mov word [ebp - 0x44], ax
call fcn.100028c0
and dword [ebp - 4], 0
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.10005760
push ebx
call fcn.10001a48
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10005760
mov edi, 0x100d3ccc
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.10005760
push esi
call fcn.10001a48
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.10005760
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x84]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x74]
push ecx
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x1001b591
push dword [ebp - 0x84]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x80]
call esi
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.10001f53
mov eax, edi
jmp 0x1001b5a2
xor eax, eax
call fcn.1008c7fb
ret
Function at 0x1001b5ff
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x210]
push 0x20a
mov esi, ecx
mov dword [ebp - 0x218], edi
push edi
push eax
mov dword [ebp - 0x214], esi
call fcn.1008f060
lea eax, [ebp - 0x210]
mov edx, str.InstallDir
push eax
mov ecx, str.SOFTWARETencentQQPCMgr
call fcn.1001ae46
add esp, 0x10
test eax, eax
je 0x1001b687
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1001b65c
sub ecx, edx
sar ecx, 1
je 0x1001b687
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b687
lea eax, [ebp - 0x210]
push eax
jmp 0x1001b68c
push 0x100d2a54
mov ecx, esi
call fcn.100028c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1008bb47
mov esp, ebp
pop ebp
ret

Function at 0x1001bbf2
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x1010e070]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdl.cpp
push edi
push esi
push str.TxDl_Main_enter__cmdline_s
mov edi, 0xd2
push edi
push ebx
call fcn.1006b794
add esp, 0x10
push 0x100d2a54
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push esi
lea ecx, [esp + 0x64]
call fcn.100028c0
cmp dword [esp + 0x70], 0
jne 0x1001bc62
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.10001a48
pop ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.10001ddf
push 0x54
xor esi, esi
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.1008f060
sub esp, 0xc
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.100028f1
push 0x100d3ccc
lea ecx, [esp + 0x64]
call fcn.100028c0
push eax
push 0x100ed218
lea ecx, [esp + 0x50]
call fcn.100028c0
push eax
push 0x100ed21c
lea ecx, [esp + 0x3c]
call fcn.100028c0
push eax
lea ecx, [esp + 0x9c]
call fcn.1000213a
push esi
push 1
lea ecx, [esp + 0x20]
call fcn.10001f53
push esi
push 1
lea ecx, [esp + 0x38]
call fcn.10001f53
push esi
push 1
lea ecx, [esp + 0x50]
call fcn.10001f53
push 0x100ed2e8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.100028c0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x84]
call fcn.1000b4d2
push esi
push 1
lea ecx, [esp + 0x20]
call fcn.10001f53
call fcn.1001c260
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
call fcn.1001c260
add eax, 8
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x1001bd41
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.10001b8f
call fcn.1001c260
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.TxDl_Main_leave...
push edi
push ebx
call fcn.1006b794
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.1000228e
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.10001f53
mov ecx, dword [esp + 0xd4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008bb47
mov esp, ebp
pop ebp
ret 4
Function at 0x1001be0a
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x10112bf8]
test eax, eax
je 0x1001be41
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001be2e
push 0xffffffffffffffff
push dword [0x10112bf8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x10112bf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10112bf8], 0
mov eax, dword [0x10112bf0]
test eax, eax
je 0x1001be58
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x10112bf0], 0
ret

Function at 0x1001be59
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x18
call fcn.1008bec7
pop ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.100028c0
push 0x10112bf4
xor ecx, ecx
push ecx
push eax
push 0x1001bda7
push ecx
push ecx
call fcn.100974fc
xor ecx, ecx
mov dword [0x10112bf8], eax
add esp, 0x18
test eax, eax
setne cl
mov dword [0x10112bec], ecx
mov eax, ecx
pop ebp
ret 4

Function at 0x1001bf72
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x100bd0c2
call fcn.1008c851
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.100017d6
push eax
lea ecx, [ebp - 0x14]
call fcn.10001572
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x14]
push dword [edi + 0x20]
push str.Global97ED6B7B_FABA_4282_B5E8_E5150894AB99
push str._s__u
push eax
call fcn.10005db1
mov esi, dword [ebp - 0x14]
add esp, 0x10
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x24], eax
test eax, eax
je 0x1001bfe8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001bfe8
push str.CTxdlApp::CheckInstance_TRUE
push 0xd2
push str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlApp.cpp
inc ebx
call fcn.1006b733
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.100018f3
mov eax, ebx
call fcn.1008c7fb
ret
Function at 0x1001c143
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.10018a1a
mov ecx, eax
call fcn.100267a3
call fcn.10018a1a
mov ebx, eax
cmp dword [ebx + 0xc], 0
je 0x1001c1b9
push 0x3ea
call fcn.10026a46
lea esi, [ebx + 4]
call fcn.1001c2c8
add eax, 4
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
lea esi, [ebx + 8]
call fcn.1001c2c8
add eax, 4
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
push 0xbb8
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.10034390
mov ecx, eax
call fcn.100372c0
and dword [ebx + 0xc], 0
call fcn.1001c2c8
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
cmp dword [edi + 0x20], 0x13629
mov dword [ebp - 8], 3
jne 0x1001c227
push str.QB_support_start
mov esi, 0xd2
mov ebx, str.D:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlApp.cpp
push esi
push ebx
call fcn.1006b733
add esp, 0xc
lea eax, [ebp - 8]
push 4
push eax
push 4
push str.NeedImport_Preloaded
push str.SOFTWARETencentQQBrowserSpeedUp
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
jne 0x1001c218
push str.QB_support_is_successful
jmp 0x1001c21d
push str.QB_support_is_failed_
push esi
push ebx
call fcn.1006b733
add esp, 0xc
cmp dword [edi + 0x24], 0
je 0x1001c236
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1001c244
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 4], 0
call fcn.10033da7
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008bb47
mov esp, ebp
pop ebp
ret
Function at 0x1001c5be
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x1010e070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
push 0x42
mov edi, eax
lea eax, [ebp - 0x48]
push esi
push eax
call fcn.1008f060
add esp, 0xc
cmp edi, 0xffffffff
je 0x1001c6db
test edi, edi
je 0x1001c6db
push ebx
mov ebx, 0x22c
lea eax, [ebp - 0x47c]
push ebx
push esi
push eax
call fcn.1008f060
add esp, 0xc
mov dword [ebp - 0x47c], ebx
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1001c6c6
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
test ebx, ebx
je 0x1001c6b8
push 0x208
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.1008f060
push 0x103
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.10096be9
add esp, 0x18
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea edx, [ebp - 0x250]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
cmp ax, si
jne 0x1001c680
sub edx, ecx
lea eax, [ebp - 0x48]
sar edx, 1
lea ecx, [ebp - 0x250]
push eax
add edx, edx
call fcn.1004ce17
pop ecx
test al, al
je 0x1001c6b8
push str.ea6e6929139bfa9985d4356c73d07e49
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001c6d0
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001c630
jmp 0x1001c6d3
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1008bb47
mov esp, ebp
pop ebp
ret
Function at 0x1001c9b5
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], ecx
push edi
push 3
pop ecx
mov eax, esi
xor edi, edi
cdq
idiv ecx
mov eax, esi
sub eax, edx
lea eax, [eax*4 + 0xc]
cdq
idiv ecx
inc eax
push eax
call fcn.10096c2c
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001caef
cmp esi, 2
jle 0x1001ca79
xor edx, edx
lea eax, [esi - 3]
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 0xfffffffd
mov dword [ebp - 8], eax
add esi, ecx
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], esi
movzx edx, byte [ecx]
mov ecx, edx
and edx, 3
shr ecx, 2
add edx, edx
push 3
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp - 4]
mov byte [ebx + edi], al
movzx esi, byte [ecx + 1]
movzx ecx, byte [ecx + 2]
mov eax, esi
shr eax, 4
and esi, 0xf
mov al, byte [eax + edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + edi + 1], al
mov eax, ecx
shr eax, 6
and ecx, 0x3f
mov al, byte [eax + esi*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + edi + 2], al
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp - 4]
mov byte [ebx + edi + 3], al
add edi, 4
pop eax
add ecx, eax
sub dword [ebp - 8], 1
mov dword [ebp - 4], ecx
jne 0x1001ca0f
mov esi, dword [ebp - 0xc]
jmp 0x1001ca7c
mov ecx, dword [ebp - 4]
test esi, esi
je 0x1001cae0
movzx edx, byte [ecx]
mov eax, edx
shr eax, 2
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + edi], al
cmp esi, 1
jle 0x1001cac4
movzx ecx, byte [ecx + 1]
and edx, 3
mov eax, ecx
add edx, edx
shr eax, 4
and ecx, 0xf
mov al, byte [eax + edx*8 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + edi + 1], al
mov al, byte [ecx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + edi + 2], al
mov byte [ebx + edi + 3], 0x3d
jmp 0x1001cadd
push 3
pop eax
and edx, eax
shl edx, 4
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ebx + edi + 1], al
mov word [ebx + edi + 2], 0x3d3d
add edi, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x1001cae9
mov dword [eax], edi
mov byte [ebx + edi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret