joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489390
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50f8a7
mov eax, dword fs:[0]
push eax
sub esp, 0x214
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
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x220], esi
push eax
mov dword [ebp - 0x21c], 0
call fcn.004dfec0
add esp, 0xc
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48949a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
push 0
push 0x23
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
push 0
mov dword [ebp - 0x21c], 1
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x48947e
push str.TencentQQPCMgr_
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call fcn.00487780
add esp, 4
test eax, eax
je 0x48947e
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x489460
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044f580
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.004de0fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
int3
Function at 0x48a1a0
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 0x48a268
jb 0x48a258
shr eax, 8
test al, al
je 0x48a258
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
call fcn.004dfec0
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 0x48a21e
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x114
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x48a268
push 0x80
lea eax, [ebp - 0x10c]
push str.Service_Pack_1
push eax
call fcn.004f4c66
add esp, 0xc
test eax, eax
je 0x48a258
push 0x80
lea eax, [ebp - 0x10c]
push str.Service_Pack_2
push eax
call fcn.004f4c66
add esp, 0xc
test eax, eax
jne 0x48a268
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret

Function at 0x48a290
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.004dfec0
mov ebx, dword [ebp + 8]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
test ebx, ebx
je 0x48a325
cmp dword [0x550c0c], 0xffffffff
jne 0x48a325
push 0x53661c
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 0x48a31b
push 0x550c0c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x48a325
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 0x48a3c7
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 0x48a3af
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x28]
push ebx
call fcn.0048a290
mov esi, eax
add esp, 4
test esi, esi
jne 0x48a3dc
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 0x48a373
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.004de0fd
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x48a7a0
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.004dfec0
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 0x48a807
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a770
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x48bac0
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.004dfec0
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004dfec0
add esp, 0x18
mov dword [ebp - 0x41c], 0x208
test edi, edi
je 0x48bce8
push esi
push 0x208
push ebx
push edi
call fcn.004dfec0
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.00471600
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 0x48bc11
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48bc11
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 0x48bc00
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x48bbc7
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 0x48bc00
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 0x48bbf0
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48bc1b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x418], 0
inc esi
cmp esi, 5
jle 0x48bb30
pop esi
test ebx, ebx
jne 0x48bcd6
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 0x48bcc5
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48bc83
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 0x48bcc5
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 0x48bcc5
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 0x48bcb5
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x48bcd6
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.004de0fd
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x48d410
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 0x48d446
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 4
call fcn.0048de90
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48d450
push ebx
sub eax, edx
mov ecx, 0x550bc8
push edi
sar eax, 1
push eax
push esi
call fcn.0044a770
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.004dfec0
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.0048e2f0
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 0x48d52f
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 0x48d54d
push eax
call edi
cmp dword [0x550bbc], 0
mov dword [0x550bc0], esi
je 0x48d5aa
test esi, esi
je 0x48d5aa
push 0
push 0
push 0x550bb8
push 0x48dbb0
push 0
push 0
call fcn.004e919d
mov esi, eax
add esp, 0x18
mov eax, dword [0x550bc4]
test eax, eax
je 0x48d588
push eax
call edi
mov dword [0x550bc4], esi
test esi, esi
je 0x48d5aa
pop edi
pop ebx
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
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.004de0fd
mov esp, ebp
pop ebp
ret 4
Function at 0x48de90
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ff95
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 0x48e063
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 0x48e063
cmp edi, 0x80000
jb 0x48e063
cmp dword [0x550bdc], 8
mov esi, 0x550bc8
cmovae esi, dword [0x550bc8]
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48e07a
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 0x48df7d
test esi, esi
jne 0x48df5f
xor ecx, ecx
jmp 0x48df73
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48df64
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 0x48df99
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x48dfaf
call fcn.00450310
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x48e084
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x536d94
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0044f3f0
test al, al
jne 0x48dfdc
push 0x536d94
lea ecx, [ebp - 0x14]
call fcn.0048e1e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
mov esi, dword [ebp - 0x14]
push dword [esi - 0xc]
push esi
call fcn.0048c830
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48e00b
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.00487970
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 0x48e063
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 0x48e560
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510000
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.004dfec0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x5547f4]
cmp eax, dword [ecx + 4]
jle 0x48e60b
push 0x5547f4
call fcn.004de4b2
add esp, 4
cmp dword [0x5547f4], 0xffffffff
jne 0x48e60b
push 0x5178a0
mov dword [0x5547f8], 0
mov dword [0x554808], 0
mov dword [0x55480c], 7
call fcn.004de36a
push 0x5547f4
call fcn.004de468
add esp, 8
cmp dword [0x554808], 0
jne 0x48e6f1
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 0x48e660
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.0044a770
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.0044a770
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x48e6f1
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48e6e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48e719
push edx
push ecx
call fcn.004de0ea
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.004de0fd
mov esp, ebp
pop ebp
ret
call fcn.004e32da
int3
Function at 0x48e720
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510057
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.004dfec0
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 0x48e7b6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a770
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e811
cmp dword [esi + 0x14], 8
jb 0x48e7e6
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x534df4]
je 0x48e80f
add ecx, 2
cmp ecx, 4
jb 0x48e7f0
push 1
push 0x536960
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.004de0fd
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510057
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.004dfec0
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 0x48e8c6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a770
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48e921
cmp dword [esi + 0x14], 8
jb 0x48e8f6
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x534df4]
je 0x48e91f
add ecx, 2
cmp ecx, 4
jb 0x48e900
push 1
push 0x536960
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x48e940
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510057
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.004dfec0
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 0x48e9d6
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0044a770
mov ecx, dword [esi + 0x10]
mov eax, esi
cmp ecx, 1
jb 0x48ea31
cmp dword [esi + 0x14], 8
jb 0x48ea06
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x534df4]
je 0x48ea2f
add ecx, 2
cmp ecx, 4
jb 0x48ea10
push 1
push 0x536960
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.004de0fd
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5100b7
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.004dfec0
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 0x48eaf0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0044a770
mov ecx, dword [edi + 0x10]
mov eax, edi
cmp ecx, 1
jb 0x48eb48
cmp dword [edi + 0x14], 8
jb 0x48eb20
mov eax, dword [edi]
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
cmp ax, word [ecx + 0x534df4]
je 0x48eb46
add ecx, 2
cmp ecx, 4
jb 0x48eb27
push 1
push 0x536960
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x490730
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51032d
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 0x4908d2
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.0048d020
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x4907de
mov eax, 0xa
jmp 0x4907e0
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 0x490831
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.0048d900
add esp, 0x1c
mov dword [ebp - 0x14], 0
jmp 0x49089c
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 0x49087d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x49086c
push dword [ebp - 0x10]
push str.CQMTProcess::RunApp_WAIT_TIMEOUT_path_s.
push 0x550bb8
call fcn.0048d900
add esp, 0xc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x49087d
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 0x490895
push edi
call eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x49089c
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 0x4908be
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