joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a91b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010b070]
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.1008df10
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 0x1001a976
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1001a98d
cmp dword [ebp - 0x11c], 6
jne 0x1001a98d
cmp dword [ebp - 0x118], 0
jne 0x1001a98d
xor eax, eax
inc eax
jmp 0x1001a98f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x1001a99e
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1010b070]
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.1008df10
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 0x1001a9f9
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call esi
test eax, eax
je 0x1001aa0d
cmp dword [ebp - 0x11c], 6
jne 0x1001aa0d
xor eax, eax
inc eax
cmp dword [ebp - 0x118], eax
jae 0x1001aa0f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x1001aa1e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [ebp + 8]
mov ebx, edx
test edi, edi
jne 0x1001aa43
xor eax, eax
jmp 0x1001aada
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 0x1001aad7
cmp dword [ebp - 0x218], esi
je 0x1001aad7
push 0x20c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1008df10
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 0x1001aac7
push 0x103
lea eax, [ebp - 0x210]
push eax
push edi
call fcn.10095a99
add esp, 0xc
inc esi
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001aad9
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001aaea
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x1c
mov eax, 0x100bdd07
call fcn.1008b701
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x24]
xor eax, eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.1001a91b
test eax, eax
jne 0x1001ab1a
call fcn.1001a99e
lea eax, [ebp - 0x28]
push eax
push 0x20019
push ebx
push str.QMConfigTencentQQPCMgrDownloader
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001ab6b
push 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push esi
lea eax, [ebp - 0x18]
push eax
push ebx
push str.defProtocolVer
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x28]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
test esi, esi
sete bl
lea ecx, [ebp - 0x24]
call fcn.10003d19
mov eax, ebx
call fcn.1008b6ab
ret

Function at 0x1001ac1b
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101105ac]
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], ebx
test al, 1
jne 0x1001ac72
or eax, 1
mov dword [0x101105a8], ebx
mov dword [0x101105ac], eax
call fcn.100017c6
push eax
mov ecx, 0x101105a8
call fcn.10001562
push 0x100c4c69
call fcn.1008ad54
pop ecx
mov eax, dword [0x101105a8]
cmp dword [eax - 0xc], ebx
jne 0x1001acf3
push edi
push 0x20c
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1008df10
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 0x1001acb2
sub edx, edi
lea eax, [ebp - 0x210]
sar edx, 1
mov ecx, 0x101105a8
push edx
push eax
call fcn.10005bd6
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
pop edi
test eax, eax
jne 0x1001acf3
push ebx
push dword [0x101105a8]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [0x101105a8]
add ecx, 0xfffffff0
call fcn.1000158b
mov ecx, dword [ebp - 4]
add eax, 0x10
mov dword [esi], eax
xor ecx, ebp
mov eax, esi
pop esi
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001ad18
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x1010b070]
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.1008df10
add esp, 0xc
push esi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x1001adbe
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1001adb7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x1001ada0
test ecx, ecx
je 0x1001ada0
cmp ecx, 4
je 0x1001ada0
lea eax, [ebp - 0x20c]
push 0x100f1c58
push eax
call fcn.10095e49
pop ecx
pop ecx
test eax, eax
je 0x1001adb4
lea eax, [ebp - 0x230]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001ad76
jmp 0x1001adb7
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.1008a9f7
mov esp, ebp
pop ebp
ret

Function at 0x1001add1
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push 0x21c
mov eax, 0x100bdd7b
call fcn.1008b701
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.100017c6
push eax
mov ecx, esi
call fcn.10001562
mov dword [ebp - 4], ebx
mov ecx, esi
mov dword [ebp - 0x220], 1
call fcn.1000566d
push 0x20c
lea eax, [ebp - 0x21c]
push ebx
push eax
call fcn.1008df10
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 0x1001ae4c
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.10005bd6
mov eax, dword [esi]
mov eax, dword [eax - 0xc]
test eax, eax
jle 0x1001aeb4
sub eax, 1
js 0x1001aebc
push eax
mov ecx, esi
call fcn.100056cf
push 0x5c
pop ecx
cmp ax, cx
je 0x1001ae90
push ecx
mov ecx, esi
call fcn.100056a2
push 0x10
push str.TencentQQPCMgr_
mov ecx, esi
call fcn.10003930
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001aeb4
push ebx
push dword [esi]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, esi
call fcn.1008b6ab
ret
push 0x80070057
call fcn.10001e48
int3
Function at 0x1001afb6
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x100bdde8
call fcn.1008b701
mov esi, edx
mov edi, ecx
test edi, edi
je 0x1001b0b5
test esi, esi
je 0x1001b0b5
push 0x40
lea eax, [ebp - 0x70]
push 0
push eax
call fcn.1008df10
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, 0x100d1f38
sbb eax, eax
and eax, 5
push ebx
movups xmmword [ebp - 0x84], xmm0
mov word [ebp - 0x44], ax
call fcn.100028b0
and dword [ebp - 4], 0
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.100056fa
push ebx
call fcn.10001a38
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x2c]
call fcn.100056fa
mov edi, 0x100d1cac
push edi
call fcn.10001a38
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2c]
call fcn.100056fa
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.100056fa
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 0x1001b0a6
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.10001f43
mov eax, edi
jmp 0x1001b0b7
xor eax, eax
call fcn.1008b6ab
ret

Function at 0x1001b114
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1010b070]
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.1008df10
lea eax, [ebp - 0x210]
mov edx, str.InstallDir
push eax
mov ecx, str.SOFTWARETencentQQPCMgr
call fcn.1001aa1e
add esp, 0x10
test eax, eax
je 0x1001b19c
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, di
jne 0x1001b171
sub ecx, edx
sar ecx, 1
je 0x1001b19c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b19c
lea eax, [ebp - 0x210]
push eax
jmp 0x1001b1a1
push 0x100d0a34
mov ecx, esi
call fcn.100028b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001b707
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xcc
mov eax, dword [0x1010b070]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str.E: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.1006a644
add esp, 0x10
push 0x100d0a34
call dword [sym.imp.KERNEL32.dll_SetDllDirectoryW]
push esi
lea ecx, [esp + 0x64]
call fcn.100028b0
cmp dword [esp + 0x70], 0
jne 0x1001b777
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push esi
call fcn.10001a38
pop ecx
push eax
push esi
lea ecx, [esp + 0x68]
call fcn.10001dcf
push 0x54
xor esi, esi
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.1008df10
sub esp, 0xc
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.100028e1
push 0x100d1cac
lea ecx, [esp + 0x64]
call fcn.100028b0
push eax
push 0x100eb1e8
lea ecx, [esp + 0x50]
call fcn.100028b0
push eax
push 0x100eb1ec
lea ecx, [esp + 0x3c]
call fcn.100028b0
push eax
lea ecx, [esp + 0x9c]
call fcn.1000212a
push esi
push 1
lea ecx, [esp + 0x20]
call fcn.10001f43
push esi
push 1
lea ecx, [esp + 0x38]
call fcn.10001f43
push esi
push 1
lea ecx, [esp + 0x50]
call fcn.10001f43
push 0x100eb2b8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
call fcn.100028b0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x84]
call fcn.1000b422
push esi
push 1
lea ecx, [esp + 0x20]
call fcn.10001f43
call fcn.1001bd74
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x20], ecx
call fcn.1001bd74
add eax, 8
lea ecx, [esp + 0x60]
cmp eax, ecx
je 0x1001b856
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.10001b7f
call fcn.1001bd74
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.TxDl_Main_leave...
push edi
push ebx
call fcn.1006a644
add esp, 0xc
lea ecx, [esp + 0x78]
call fcn.1000227e
push esi
push 1
lea ecx, [esp + 0x68]
call fcn.10001f43
mov ecx, dword [esp + 0xd4]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret 4

Function at 0x1001b91f
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1010fbf8]
test eax, eax
je 0x1001b956
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1001b943
push 0xffffffffffffffff
push dword [0x1010fbf8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1010fbf8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1010fbf8], 0
mov eax, dword [0x1010fbf0]
test eax, eax
je 0x1001b96d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1010fbf0], 0
ret
Function at 0x1001b96e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x18
call fcn.1008ad77
pop ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.100028b0
push 0x1010fbf4
xor ecx, ecx
push ecx
push eax
push 0x1001b8bc
push ecx
push ecx
call fcn.100963ac
xor ecx, ecx
mov dword [0x1010fbf8], eax
add esp, 0x18
test eax, eax
setne cl
mov dword [0x1010fbec], ecx
mov eax, ecx
pop ebp
ret 4

Function at 0x1001ba87
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x100bbf72
call fcn.1008b701
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
call fcn.100017c6
push eax
lea ecx, [ebp - 0x14]
call fcn.10001562
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.10005d4b
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 0x1001bafd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1001bafd
push str.CTxdlApp::CheckInstance_TRUE
push 0xd2
push str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlApp.cpp
inc ebx
call fcn.1006a5e3
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.100018e3
mov eax, ebx
call fcn.1008b6ab
ret

Function at 0x1001bc57
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.1001897a
mov ecx, eax
call fcn.100262b2
call fcn.1001897a
mov ebx, eax
cmp dword [ebx + 0xc], 0
je 0x1001bccd
push 0x3ea
call fcn.10026555
lea esi, [ebx + 4]
call fcn.1001bddc
add eax, 4
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
lea esi, [ebx + 8]
call fcn.1001bddc
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.10033310
mov ecx, eax
call fcn.10036240
and dword [ebx + 0xc], 0
call fcn.1001bddc
add eax, 4
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
cmp dword [edi + 0x20], 0x13629
mov dword [ebp - 8], 3
jne 0x1001bd3b
push str.QB_support_start
mov esi, 0xd2
mov ebx, str.E:qci_workspace_root_workspaces__qci_pipeline_10566830_1QQPCDownloadTxdlTxdlApp.cpp
push esi
push ebx
call fcn.1006a5e3
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 0x1001bd2c
push str.QB_support_is_successful
jmp 0x1001bd31
push str.QB_support_is_failed_
push esi
push ebx
call fcn.1006a5e3
add esp, 0xc
cmp dword [edi + 0x24], 0
je 0x1001bd4a
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x1001bd58
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 4], 0
call fcn.10032d1f
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001c0d2
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [0x1010b070]
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.1008df10
add esp, 0xc
cmp edi, 0xffffffff
je 0x1001c1ef
test edi, edi
je 0x1001c1ef
push ebx
mov ebx, 0x22c
lea eax, [ebp - 0x47c]
push ebx
push esi
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x47c], ebx
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1001c1da
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
test ebx, ebx
je 0x1001c1cc
push 0x208
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.1008df10
push 0x103
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.10095a99
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 0x1001c194
sub edx, ecx
lea eax, [ebp - 0x48]
sar edx, 1
lea ecx, [ebp - 0x250]
push eax
add edx, edx
call fcn.1004bda7
pop ecx
test al, al
je 0x1001c1cc
push str.ea6e6929139bfa9985d4356c73d07e49
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001c1e4
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001c144
jmp 0x1001c1e7
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.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001c4c9
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.10095adc
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001c603
cmp esi, 2
jle 0x1001c58d
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 0x1001c523
mov esi, dword [ebp - 0xc]
jmp 0x1001c590
mov ecx, dword [ebp - 4]
test esi, esi
je 0x1001c5f4
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 0x1001c5d8
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 0x1001c5f1
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 0x1001c5fd
mov dword [eax], edi
mov byte [ebx + edi], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001c8bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x214], ecx
test edi, edi
jne 0x1001c8e3
xor eax, eax
jmp 0x1001c9cb
push ebx
push esi
push 0x100ead10
xor esi, esi
push 0x100d09b4
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x1001c920
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
cmp dword [ebp - 0x218], esi
lea eax, [ebp - 0x21c]
push eax
mov ecx, 0x20219
mov eax, 0x20019
cmovne eax, ecx
push eax
push esi
push dword [ebp - 0x214]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001c9c7
cmp dword [ebp - 0x21c], esi
je 0x1001c9c7
push 0x20c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1008df10
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 str.InstallDir
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001c9b7
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
push 0x103
push edi
call fcn.10090a6e
xor esi, esi
add esp, 0x10
inc esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001c9c9
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1008a9f7
mov esp, ebp
pop ebp
ret
Function at 0x1001c9da
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor esi, esi
mov dword [ebp - 0x480], ecx
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.1008df10
add esp, 0xc
cmp edi, 0xffffffff
je 0x1001cb00
test edi, edi
je 0x1001cb00
push ebx
mov ebx, 0x22c
lea eax, [ebp - 0x47c]
push ebx
push esi
push eax
call fcn.1008df10
add esp, 0xc
mov dword [ebp - 0x47c], ebx
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1001caeb
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
test ebx, ebx
je 0x1001cadd
push 0x208
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.1008df10
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x250]
push 0x103
push eax
call fcn.10090a6e
add esp, 0x1c
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 0x1001caa4
sub edx, ecx
lea eax, [ebp - 0x48]
sar edx, 1
lea ecx, [ebp - 0x250]
push eax
add edx, edx
call fcn.1004bda7
pop ecx
test al, al
je 0x1001cadd
push dword [ebp - 0x480]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001caf5
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001ca52
jmp 0x1001caf8
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.1008a9f7
mov esp, ebp
pop ebp
ret