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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
ja 0x48a1f8
jb 0x48a1e8
shr eax, 8
test al, al
je 0x48a1e8
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004e02e0
add esp, 0xc
mov dword [ebp - 0x120], 0x11c
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x48a1ae
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48a1f8
push 0x80
lea eax, [ebp - 0x10c]
push str.Service_Pack_1
push eax
call fcn.004f5086
add esp, 0xc
test eax, eax
je 0x48a1e8
push 0x80
lea eax, [ebp - 0x10c]
push str.Service_Pack_2
push eax
call fcn.004f5086
add esp, 0xc
test eax, eax
jne 0x48a1f8
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret

Function at 0x48a220
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x550144]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push esi
push edi
push 0x400
lea eax, [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov edi, ecx
mov dword [esp + 0x14], 0
push 0
push eax
mov dword [esp + 0x28], edi
call fcn.004e02e0
mov ebx, dword [ebp + 8]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test ebx, ebx
je 0x48a2b5
cmp dword [0x550c0c], 0xffffffff
jne 0x48a2b5
push 0x53680c
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x48a2ab
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x48a2b5
mov dword [0x550c0c], 0
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push dword [esp + 0x24]
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48a357
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x24], 0x200
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push dword [esp + 0x2c]
call edi
test eax, eax
jne 0x48a33f
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ebx
call fcn.0048a220
mov esi, eax
add esp, 4
test esi, esi
jne 0x48a36c
lea eax, [esp + 0x20]
mov dword [esp + 0x14], 0x200
push eax
push esi
push esi
push esi
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
call edi
test eax, eax
je 0x48a303
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [esp + 0x18]
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x42c]
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x48a730
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0x20a
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi], 0
lea ecx, [ebp - 0x210]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
lea edx, [ecx + 2]
mov word [esi], ax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48a797
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a760
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x48ba50
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
lea eax, [ebp - 0x414]
push 0x208
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x418], ebx
call fcn.004e02e0
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004e02e0
add esp, 0x18
mov dword [ebp - 0x41c], 0x208
test edi, edi
je 0x48bc78
push esi
push 0x208
push ebx
push edi
call fcn.004e02e0
add esp, 0xc
mov esi, 1
nop dword [eax]
push esi
lea eax, [ebp - 0x414]
push str.SOFTWARETencentPlatForm_Type_List_d
push eax
call fcn.00471590
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
push 1
push 0
lea eax, [ebp - 0x414]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48bba1
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48bba1
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x208
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push str.TypePath
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48bb90
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x48bb57
push str.BinQQ.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48bb90
lea ecx, [ebp - 0x20c]
mov edx, edi
mov eax, ecx
mov ebx, 1
sub edx, eax
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x48bb80
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48bbab
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x418], 0
inc esi
cmp esi, 5
jle 0x48bac0
pop esi
test ebx, ebx
jne 0x48bc66
lea eax, [ebp - 0x418]
push eax
push 1
push 0
push str.SOFTWARETencentQQ2009
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48bc55
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48bc13
lea ecx, [ebp - 0x41c]
mov dword [ebp - 0x41c], 0x208
push ecx
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push str.Install
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48bc55
push str.BinQQ.exe
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48bc55
lea ecx, [ebp - 0x20c]
mov ebx, 1
mov eax, ecx
sub edi, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edi + ecx - 2], ax
test ax, ax
jne 0x48bc45
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x48bc66
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x48d390
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x550bec], 0
push esi
mov esi, dword [ebp + 8]
je 0x48d3c6
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
call fcn.0048de10
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48d3d0
push ebx
sub eax, edx
mov ecx, 0x550bc8
push edi
sar eax, 1
push eax
push esi
call fcn.0044a760
push 0xc8
lea eax, [ebp - 0xcc]
mov dword [0x550bec], 1
xorps xmm0, xmm0
mov dword [ebp - 0xdc], 0
push 0
push eax
movups xmmword [ebp - 0xec], xmm0
mov dword [ebp - 0xd0], 0
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0xec]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0xec]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0xec]
mov dword [ebp - 0xd8], 0xc
mov dword [ebp - 0xd4], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea eax, [ebp - 0xcc]
push 0x63
push eax
call fcn.0048e270
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [ebp - 0xcc]
add esp, 0x10
push eax
push 1
push 1
lea eax, [ebp - 0xd8]
push eax
call esi
mov ecx, dword [0x550bbc]
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x48d4af
push ecx
call edi
push 0
push 0
push 0
push 0
mov dword [0x550bbc], ebx
call esi
mov esi, eax
mov eax, dword [0x550bc0]
test eax, eax
je 0x48d4cd
push eax
call edi
cmp dword [0x550bbc], 0
mov dword [0x550bc0], esi
je 0x48d52a
test esi, esi
je 0x48d52a
push 0
push 0
push 0x550bb8
push 0x48db30
push 0
push 0
call fcn.004e95bd
mov esi, eax
add esp, 0x18
mov eax, dword [0x550bc4]
test eax, eax
je 0x48d508
push eax
call edi
mov dword [0x550bc4], esi
test esi, esi
je 0x48d52a
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop ebx
xor ecx, ebp
pop esi
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4
Function at 0x48de10
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5103b5
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x550bdc], 8
mov eax, 0x550bc8
push 0
cmovae eax, dword [0x550bc8]
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x48dfe3
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x48dfe3
cmp edi, 0x80000
jb 0x48dfe3
cmp dword [0x550bdc], 8
mov esi, 0x550bc8
cmovae esi, dword [0x550bc8]
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48dffa
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push esi
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0044f3f0
test al, al
jne 0x48defd
test esi, esi
jne 0x48dedf
xor ecx, ecx
jmp 0x48def3
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48dee4
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x10]
call fcn.0044f580
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x48df19
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x48df2f
call fcn.00450310
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x48e004
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x536f84
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0044f3f0
test al, al
jne 0x48df5c
push 0x536f84
lea ecx, [ebp - 0x14]
call fcn.0048e160
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push dword [esi - 0xc]
push esi
call fcn.0048c7b0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48df8b
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [0x550bdc], 8
mov ebx, 0x550bc8
mov esi, dword [ebp - 0x10]
cmovae ebx, dword [0x550bc8]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push esi
call edi
push 1
push esi
call fcn.00487920
add esp, 8
push 0
push ebx
call edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48dfe3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
int3
Function at 0x48e4e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510420
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x234], esi
call fcn.004e02e0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x5547f4]
cmp eax, dword [ecx + 4]
jle 0x48e58b
push 0x5547f4
call fcn.004de8d2
add esp, 4
cmp dword [0x5547f4], 0xffffffff
jne 0x48e58b
push 0x517dd0
mov dword [0x5547f8], 0
mov dword [0x554808], 0
mov dword [0x55480c], 7
call fcn.004de78a
push 0x5547f4
call fcn.004de888
add esp, 8
cmp dword [0x554808], 0
jne 0x48e671
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x230], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
lea edx, [ecx + 2]
mov word [ebp - 0x230], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e5e0
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a760
mov dword [ebp - 4], 0
lea eax, [ebp - 0x230]
cmp dword [ebp - 0x21c], 8
mov ecx, 0x5547f8
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
call fcn.0044a760
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x48e671
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e667
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e699
push edx
push ecx
call fcn.004de50a
add esp, 8
push 0x5547f8
mov ecx, esi
call fcn.0044ae50
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
call fcn.004e36fa
int3
Function at 0x48e6a0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510477
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e736
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a760
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e791
cmp dword [esi + 0x14], 8
jb 0x48e766
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x534fe4]
je 0x48e78f
add ecx, 2
cmp ecx, 4
jb 0x48e770
push 1
push 0x536b50
mov ecx, esi
call fcn.0044aee0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510477
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e846
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a760
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e8a1
cmp dword [esi + 0x14], 8
jb 0x48e876
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x534fe4]
je 0x48e89f
add ecx, 2
cmp ecx, 4
jb 0x48e880
push 1
push 0x536b50
mov ecx, esi
call fcn.0044aee0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x48e8c0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510477
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e956
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a760
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e9b1
cmp dword [esi + 0x14], 8
jb 0x48e986
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x534fe4]
je 0x48e9af
add ecx, 2
cmp ecx, 4
jb 0x48e990
push 1
push 0x536b50
mov ecx, esi
call fcn.0044aee0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5104d7
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x224], edi
mov dword [ebp - 0x220], 0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
push 0x20a
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 1
push eax
call fcn.004e02e0
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
push 0
push esi
push 2
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ea70
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0044a760
mov ecx, dword [edi + 0x10]
mov eax, edi
cmp ecx, 1
jb 0x48eac8
cmp dword [edi + 0x14], 8
jb 0x48eaa0
mov eax, dword [edi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
cmp ax, word [ecx + 0x534fe4]
je 0x48eac6
add ecx, 2
cmp ecx, 4
jb 0x48eaa7
push 1
push 0x536b50
mov ecx, edi
call fcn.0044aee0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4906b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51074d
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x6c], 0x44
xor eax, eax
movlpd qword [ebp - 0x68], xmm0
movlpd qword [ebp - 0x60], xmm0
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x3a], xmm0
movlpd qword [ebp - 0x32], xmm0
mov word [ebp - 0x2a], ax
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x181
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x490852
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov edi, dword [ebp + 8]
push esi
push edi
push str.__s___s
push eax
mov dword [ebp - 4], 0
call fcn.0048cfa0
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x49075e
mov eax, 0xa
jmp 0x490760
xor eax, eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4907b1
push esi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_s__cmd:_s
push 0x550bb8
call fcn.0048d880
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x49081c
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 0x10]
mov byte [ebp - 4], 2
test eax, eax
je 0x4907fd
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4907ec
push dword [ebp - 0x10]
push str.CQMTProcess::RunApp_WAIT_TIMEOUT_path_s.
push 0x550bb8
call fcn.0048d880
add esp, 0xc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4907fd
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 1
test edi, edi
je 0x490815
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x49081c
push esi
call eax
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov esi, dword [ebp - 0x10]
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x49083e
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
int3