joyce8/EMBER2024-capa huggingface dataset:
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 [0x1010b070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x10110420]
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 [0x10110418], ebx
mov dword [0x10110420], eax
call fcn.100017d6
push eax
mov ecx, 0x10110418
call fcn.10001572
push 0x100c48d8
call fcn.1008aad4
pop ecx
mov eax, dword [0x10110418]
cmp dword [eax - 0xc], ebx
jne 0x1001b1e1
push edi
push 0x20c
lea eax, [ebp - 0x210]
push ebx
push eax
call fcn.1008dc90
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, 0x10110418
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 [0x10110418]
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov ecx, dword [0x10110418]
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.1008a777
mov esp, ebp
pop ebp
ret

Function at 0x1001b206
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.1008dc90
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 0x100f191c
push eax
call fcn.10095ba5
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.1008a777
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, 0x100bdb57
call fcn.1008b481
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.1008dc90
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.1008b42b
ret
push 0x80070057
call fcn.10001e58
int3

Function at 0x1001b4a1
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x100bdbc4
call fcn.1008b481
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.1008dc90
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, 0x100d1f58
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, 0x100d1ccc
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.1008b42b
ret
Function at 0x1001b5ff
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.1008dc90
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 0x100d0a54
mov ecx, esi
call fcn.100028c0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.1008a777
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 [0x1010b070]
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_11036542_1QQPCDownloadTxdlTxdl.cpp
push edi
push esi
push str.TxDl_Main_enter__cmdline_s
mov edi, 0xd2
push edi
push ebx
call fcn.1006a3c4
add esp, 0x10
push 0x100d0a54
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.1008dc90
sub esp, 0xc
lea eax, [esp + 0x78]
mov ecx, esp
push eax
call fcn.100028f1
push 0x100d1ccc
lea ecx, [esp + 0x64]
call fcn.100028c0
push eax
push 0x100eb1a8
lea ecx, [esp + 0x50]
call fcn.100028c0
push eax
push 0x100eb1ac
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 0x100eb278
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.1006a3c4
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.1008a777
mov esp, ebp
pop ebp
ret 4
Function at 0x1001be0a
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [0x1010faa8]
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 [0x1010faa8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x1010faa8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1010faa8], 0
mov eax, dword [0x1010faa0]
test eax, eax
je 0x1001be58
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [0x1010faa0], 0
ret

Function at 0x1001be59
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0x18
call fcn.1008aaf7
pop ecx
push dword [ebp + 8]
mov ecx, eax
call fcn.100028c0
push 0x1010faa4
xor ecx, ecx
push ecx
push eax
push 0x1001bda7
push ecx
push ecx
call fcn.10096108
xor ecx, ecx
mov dword [0x1010faa8], eax
add esp, 0x18
test eax, eax
setne cl
mov dword [0x1010fa9c], ecx
mov eax, ecx
pop ebp
ret 4

Function at 0x1001bf72
Capabilities:
Check mutex on windows

Disassembly:
push 8
mov eax, 0x100bbcf2
call fcn.1008b481
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_11036542_1QQPCDownloadTxdlTxdlApp.cpp
inc ebx
call fcn.1006a363
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.100018f3
mov eax, ebx
call fcn.1008b42b
ret
Function at 0x1001c143
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.10018a1a
mov ecx, eax
call fcn.1002536c
call fcn.10018a1a
mov ebx, eax
cmp dword [ebx + 0xc], 0
je 0x1001c1b9
push 0x3ea
call fcn.1002560f
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.10032f90
mov ecx, eax
call fcn.10035ee0
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_11036542_1QQPCDownloadTxdlTxdlApp.cpp
push esi
push ebx
call fcn.1006a363
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.1006a363
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.1003299f
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x1001c5be
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.1008dc90
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.1008dc90
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.1008dc90
push 0x103
lea eax, [ebp - 0x250]
push ebx
push eax
call fcn.100957f5
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.1004ba47
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.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x1001c95c
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.10095838
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1001ca96
cmp esi, 2
jle 0x1001ca20
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 0x1001c9b6
mov esi, dword [ebp - 0xc]
jmp 0x1001ca23
mov ecx, dword [ebp - 4]
test esi, esi
je 0x1001ca87
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 0x1001ca6b
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 0x1001ca84
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 0x1001ca90
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 0x1001ccde
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 0x1001cd06
xor eax, eax
jmp 0x1001cdee
push ebx
push esi
push 0x100eaccc
xor esi, esi
push 0x100d09d4
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 0x1001cd43
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 0x1001cdea
cmp dword [ebp - 0x21c], esi
je 0x1001cdea
push 0x20c
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.1008dc90
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 0x1001cdda
push 0xffffffffffffffff
lea eax, [ebp - 0x210]
push eax
push 0x103
push edi
call fcn.100907ee
xor esi, esi
add esp, 0x10
inc esi
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1001cdec
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x1001cdfd
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.1008dc90
add esp, 0xc
cmp edi, 0xffffffff
je 0x1001cf23
test edi, edi
je 0x1001cf23
push ebx
mov ebx, 0x22c
lea eax, [ebp - 0x47c]
push ebx
push esi
push eax
call fcn.1008dc90
add esp, 0xc
mov dword [ebp - 0x47c], ebx
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x1001cf0e
lea eax, [ebp - 0x458]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov ebx, eax
test ebx, ebx
je 0x1001cf00
push 0x208
lea eax, [ebp - 0x250]
push esi
push eax
call fcn.1008dc90
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x250]
push 0x103
push eax
call fcn.100907ee
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 0x1001cec7
sub edx, ecx
lea eax, [ebp - 0x48]
sar edx, 1
lea ecx, [ebp - 0x250]
push eax
add edx, edx
call fcn.1004ba47
pop ecx
test al, al
je 0x1001cf00
push dword [ebp - 0x480]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001cf18
lea eax, [ebp - 0x47c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1001ce75
jmp 0x1001cf1b
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.1008a777
mov esp, ebp
pop ebp
ret
Function at 0x1001d8f3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 0x30]
call fcn.10032b55
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x1001d91b
call fcn.10007ab7
push dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
call fcn.10007af0
cmp dword [esi + 0x14], 0
je 0x1001d92e
push dword [esi + 0x14]
call fcn.100b2f00
and dword [esi + 0x14], 0
pop ecx
mov eax, dword [esi + 0x18]
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x28], eax
cmp dword [esi + 0x4c], 0
je 0x1001d94d
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [esi + 0x4c], 0
lea edi, [esi - 4]
mov ecx, edi
call fcn.10020678
call fcn.1002276d
mov ecx, eax
call fcn.1001733d
call fcn.1003299f
lea ebx, [edi + 0x8c]
mov esi, dword [ebx]
jmp 0x1001d988
cmp dword [esi + 0x14], 8
jb 0x1001d97c
mov eax, dword [esi]
jmp 0x1001d97e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0x18
cmp esi, dword [edi + 0x90]
jne 0x1001d972
mov ecx, ebx
call fcn.1002291d
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 4
Function at 0x1001d9a0
Capabilities:
Delete file

Disassembly:
push 0x1a4
mov eax, 0x100bdd51
call fcn.1008b481
mov dword [ebp - 0x190], ecx
xor ebx, ebx
mov byte [ebp - 0x189], bl
mov dword [ebp - 0x14], ebx
call fcn.100017d6
push eax
lea ecx, [ebp - 0x14]
call fcn.10001572
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.100017d6
push eax
lea ecx, [ebp - 0x18]
call fcn.10001572
push str.15.10.10411.201
lea ecx, [ebp - 0x194]
mov byte [ebp - 4], 1
call fcn.1000564f
mov byte [ebp - 4], 2
call fcn.10018b84
push 0x100d0a54
push 0x100f127c
lea edi, [eax + 4]
lea eax, [ebp - 0x1b0]
push eax
call fcn.10018b84
mov ecx, eax
call fcn.1000a09a
mov esi, eax
push ebx
mov byte [ebp - 4], 3
mov eax, dword [edi]
push 0x100eb278
push edi
call dword [eax + 0x10]
lea eax, [ebp - 0x14]
push eax
push esi
push ecx
lea eax, [ebp - 0x194]
push eax
call fcn.1001ec16
push ebx
push 1
lea ecx, [ebp - 0x1b0]
call fcn.10001f53
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x194]
lea ecx, [ecx - 0x10]
call fcn.100018f3
lea eax, [ebp - 0x194]
push eax
call fcn.1001eba1
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.10005601
mov ecx, dword [ebp - 0x194]
lea ecx, [ecx - 0x10]
call fcn.100018f3
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x188]
call fcn.1001c359
lea ecx, [ebp - 0xc0]
call fcn.1001c841
mov byte [ebp - 4], 6
push edi
mov dword [ebp - 0xbc], 0x186a0
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x98]
call fcn.10001ddf
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.10001a48
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x188]
call fcn.10001ddf
push edi
call fcn.10001a48
pop ecx
push eax
push edi
lea ecx, [ebp - 0x170]
call fcn.10001ddf
mov esi, dword [ebp - 0x190]
lea edx, [ebp - 0xc0]
push edx
lea edx, [ebp - 0x188]
push edx
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
test eax, eax
je 0x1001db3e
mov eax, dword [ebp - 0xc0]
and dword [esi + 0x78], 0
and dword [ebp - 0xb4], 0
mov byte [ebp - 0x189], 1
mov dword [esi + 0x44], eax
mov dword [ebp - 0xb8], 5
jmp 0x1001db54
push 0x12
pop eax
mov dword [esi + 0x78], eax
mov dword [ebp - 0xb8], 7
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x198]
push eax
lea ecx, [esi + 0x10]
call fcn.10023478
mov ecx, dword [ebp - 0x198]
lea eax, [ebp - 0x188]
push eax
lea ecx, [ecx + 0xb8]
call fcn.1001c3e6
cmp byte [ebp - 0x189], 0
jne 0x1001dbb4
mov eax, dword [ebp - 0x190]
mov esi, dword [esi + 0x1c]
cmp esi, dword [eax + 0x20]
je 0x1001dbb4
mov ebx, eax
mov ecx, dword [esi]
test ecx, ecx
je 0x1001dba9
push dword [ebx + 0x78]
mov eax, dword [ecx]
push ecx
call dword [eax]
add esi, 4
cmp esi, dword [ebx + 0x20]
jne 0x1001db9b
mov ebx, dword [ebp - 0x14]
lea ecx, [ebp - 0xc0]
call fcn.1001c919
lea ecx, [ebp - 0x188]
call fcn.1001dbe6
lea ecx, [edi - 0x10]
call fcn.100018f3
lea ecx, [ebx - 0x10]
call fcn.100018f3
mov al, byte [ebp - 0x189]
call fcn.1008b42b
ret