joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7160
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51300d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push eax
mov dword [ebp - 0x14], 0x65
mov dword [ebp - 0x28], 0x360033
mov dword [ebp - 0x24], str.ar_qa
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
call fcn.0044ae50
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.004557f0
test al, al
jne 0x4b7203
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004b6e80
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00463af0
lea ecx, [ebp - 0x40]
call fcn.0044a640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b7203
mov bl, 1
jmp 0x4b7205
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.0044a650
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 4

Function at 0x4b7450
Capabilities:
Copy file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51309d
mov eax, dword fs:[0]
push eax
sub esp, 0x824
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x104
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers_
lea eax, [ebp - 0x420]
push 0x104
push eax
call fcn.004e8f91
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0044c0a0
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e7754
cmp dword [ebp + 0xc], 0
mov ecx, str.FileMonx64_
mov eax, str.FileMoni386_
cmovne eax, ecx
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004e8f91
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x18
xor esi, esi
nop dword [eax + eax]
push dword [esi + 0x550044]
lea eax, [ebp - 0x218]
push eax
push 0x537f54
lea eax, [ebp - 0x830]
push 0x104
push eax
call fcn.0048d0d0
push dword [esi + 0x550044]
lea eax, [ebp - 0x420]
push eax
push 0x537f54
lea eax, [ebp - 0x628]
push 0x104
push eax
call fcn.0048d0d0
add esp, 0x28
lea eax, [ebp - 0x628]
push 0
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
mov edi, eax
lea eax, [ebp - 0x628]
push edi
push eax
lea eax, [ebp - 0x830]
push eax
push str.CopyFile__s___s__FALSE__ret__d
push 0x550bb8
call fcn.0048d900
add esp, 0x14
test edi, edi
je 0x4b7595
add esi, 0x24
cmp esi, 0x24
jb 0x4b7500
mov esi, 1
jmp 0x4b7597
xor esi, esi
lea ecx, [ebp + 8]
call fcn.0044c080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4b75c0
Capabilities:
Check for time delay via gettickcount
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [ebp - 0x38], ebx
test ebx, ebx
je 0x4b76f9
push esi
push edi
push 0xf01ff
push str.TSysSC
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
test esi, esi
je 0x4b76f4
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4b76f1
push str.QueryServiceStatusEx
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x4b76f7
lea ecx, [ebp - 0x30]
push ecx
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x4b76f1
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
cmp ecx, 2
jne 0x4b76e3
mov eax, 0xcccccccd
mov ecx, 0x2710
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x4b7691
mov edx, 0x3e8
jmp 0x4b769a
cmp edx, 0x2710
cmova edx, ecx
push edx
mov ecx, 0x553028
call fcn.004af7e0
test eax, eax
jne 0x4b76e0
lea eax, [ebp - 0x30]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [ebp - 0x34]
test eax, eax
je 0x4b76e0
cmp dword [ebp - 0x14], ebx
jbe 0x4b76cc
call edi
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x4b76d6
call edi
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
ja 0x4b76e0
mov ecx, dword [ebp - 0x24]
cmp ecx, 2
je 0x4b7672
jmp 0x4b76e3
mov ecx, dword [ebp - 0x24]
cmp ecx, 4
jne 0x4b76f7
mov ebx, dword [ebp - 0x38]
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call edi
push ebx
call edi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4b82b0
Capabilities:
Continue service
Delete service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x4b83a2
test esi, esi
je 0x4b83a2
push esi
push str.Remove_CInstallBlueray_Service:_s
push 0x550bb8
call fcn.0048d900
add esp, 0xc
push 0xf01ff
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
je 0x4b8390
lea eax, [ebp - 0x20]
push eax
push 1
push edi
call dword [sym.imp.ADVAPI32.dll_ControlService]
push eax
push str.Stop_Services_result:_d
push 0x550bb8
call fcn.0048d900
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea eax, [ebp - 0x20]
add esp, 0xc
push eax
push edi
call esi
push 0x1f4
mov dword [ebp - 0x1c], 3
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x20]
push eax
push edi
call esi
push dword [ebp - 0x1c]
push str.services_status_after_stop:_d
push 0x550bb8
call fcn.0048d900
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push eax
push str.Delete_services_result:_d
push 0x550bb8
call fcn.0048d900
add esp, 0xc
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 8
push str.Open_Services_Failed
push 0x550bb8
call fcn.0048d900
add esp, 8
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004de0fd
mov esp, ebp
pop ebp
ret 8
Function at 0x4b85d0
Capabilities:
Create service
Modify service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5131ed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x34]
call fcn.0048d110
mov dword [ebp - 4], 0
call fcn.00487920
lea ecx, [ebp - 0x30]
test eax, eax
je 0x4b8637
push str.QMUdisk64.sys
call fcn.0044f140
mov byte [ebp - 4], 1
call fcn.004873d0
test eax, eax
je 0x4b865b
push str.QMUdisk64_ev.sys
jmp 0x4b8653
push str.QMUdisk.sys
call fcn.0044f140
mov byte [ebp - 4], 2
call fcn.004873d0
test eax, eax
je 0x4b865b
push str.QMUdisk_ev.sys
lea ecx, [ebp - 0x30]
call fcn.0044f4c0
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
call fcn.0048e290
lea ecx, [ebp - 0x30]
call fcn.0044c080
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4b8734
push 0xf01ff
push str.QMUdisk
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0044c0a0
mov dword [ebp - 0x30], eax
test esi, esi
je 0x4b86e8
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 0
push eax
xorps xmm0, xmm0
push 1
push esi
movups xmmword [ebp - 0x2c], xmm0
movq qword [ebp - 0x1c], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp - 0x30]
push 0
push 1
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
jmp 0x4b8715
push 0
push 0
push 0
push 0
push 0
push eax
push 0
push 1
push 1
push 0xf01ff
push str.tencent_QMUdisk
push str.QMUdisk
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x4b8722
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test esi, esi
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x4b8731
push esi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call eax
lea ecx, [ebp - 0x34]
call fcn.0044c080
xor eax, eax
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 0x4b8d20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513315
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.TSKsp
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.004b91c0
test eax, eax
je 0x4b8e2c
cmp dword [ebp - 0x14], 0
je 0x4b8e2c
push str.Install_TSKsp_Server
push 0x550bb8
call fcn.0048d5c0
add esp, 8
lea ecx, [ebp - 0x10]
push str.TSKsp.sys
call fcn.0044f140
mov dword [ebp - 4], 0
call fcn.004873d0
test eax, eax
je 0x4b8dad
push str.TSKsp_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0044f4c0
lea eax, [ebp - 0x10]
push eax
lea ebx, [edi + 4]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00497170
add esp, 0xc
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4b8e12
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00497170
add esp, 0xc
push str.TSKsp
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044c0a0
push eax
mov ecx, edi
call fcn.004b9370
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0044c080
push str.Install_TSKsp_Server_end
push 0x550bb8
call fcn.0048d5c0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c080
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

Function at 0x4b8e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513315
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push str.TSSysKit
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
call fcn.004b91c0
test eax, eax
je 0x4b8f74
cmp dword [ebp - 0x14], 0
je 0x4b8f74
push str.Install_TSSysKit_Server
push 0x550bb8
call fcn.0048d900
add esp, 8
lea ecx, [ebp - 0x10]
push 0x51c000
call fcn.0044f140
mov dword [ebp - 4], 0
call fcn.004873d0
test eax, eax
je 0x4b8edd
push str.TSSysKit_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0044f4c0
lea eax, [ebp - 0x10]
push eax
lea ebx, [edi + 4]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00497170
add esp, 0xc
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4b8f5a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00497170
add esp, 0xc
push str.TSSysKit
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044c0a0
push eax
mov ecx, edi
call fcn.004b9370
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0044c080
test esi, esi
jne 0x4b8f5a
push 0x51c040
push 0x550bb8
call fcn.0048d900
add esp, 8
push str.Install_TSSysKit_Server_end
push 0x550bb8
call fcn.0048d900
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c080
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
Function at 0x4b8fb0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51336d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00487920
test eax, eax
jne 0x4b9104
push str.Install_TsFltMgr_Server
push 0x550bb8
call fcn.0048d5c0
add esp, 8
lea ecx, [ebp - 0x2c]
push str.TsFltMgr.sys
call fcn.0044f140
mov dword [ebp - 4], 0
call fcn.004873d0
test eax, eax
je 0x4b9026
push str.TsFltMgr_ev.sys
lea ecx, [ebp - 0x2c]
call fcn.0044f4c0
lea eax, [ebp - 0x28]
push eax
call fcn.004890f0
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0044a640
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048cb80
mov edi, eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebx + 4]
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00497170
add esp, 0x18
mov ecx, edi
mov esi, eax
push 0
call fcn.0044c0a0
push eax
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x34]
call fcn.0044c080
lea ecx, [ebp - 0x30]
call fcn.0044c080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0044a650
lea eax, [ebp - 0x28]
push eax
call fcn.004890f0
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.0044a640
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048cb80
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0044c0a0
push eax
mov ecx, ebx
call fcn.004b96a0
lea ecx, [ebp - 0x30]
call fcn.0044c080
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0044a650
push str.Install_TsFltMgr_Server_end
push 0x550bb8
call fcn.0048d5c0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.0044c080
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4b96a0
Capabilities:
Create service
Start service

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
je 0x4b973d
push edi
push 0xf01ff
push str.TsFltMgr
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x4b9703
push eax
push eax
push eax
push eax
push str.Boot_Bus_Extender
push dword [ebp + 8]
push 1
push 1
push 1
push 0xf01ff
push str.tencent_TsFltMgr
push str.TsFltMgr
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov edi, eax
test edi, edi
je 0x4b9735
push 0
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x4b972e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.StartService_Fail__error_:_d__filePath_:__s
push 0x550bb8
call fcn.0048d900
add esp, 0x10
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
pop ebp
ret 4

Function at 0x4b97b0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5133d1
mov eax, dword fs:[0]
push eax
sub esp, 0x478
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, ecx
push str.QMSuperScan.exe
lea ecx, [ebp - 0x430]
call fcn.0044f140
push 0x536960
lea eax, [esi + 4]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x428]
push eax
call fcn.0048c0d0
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 1
push ecx
push eax
lea eax, [ebp - 0x42c]
push eax
call fcn.00497170
add esp, 0x18
lea ecx, [ebp - 0x428]
call fcn.0044c080
xorps xmm0, xmm0
mov dword [ebp - 0x484], 0x44
xor eax, eax
movlpd qword [ebp - 0x480], xmm0
lea ecx, [ebp - 0x428]
movlpd qword [ebp - 0x478], xmm0
movlpd qword [ebp - 0x470], xmm0
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
movlpd qword [ebp - 0x452], xmm0
movlpd qword [ebp - 0x44a], xmm0
mov word [ebp - 0x442], ax
mov dword [ebp - 0x458], 1
mov word [ebp - 0x454], ax
movups xmmword [ebp - 0x440], xmm0
call fcn.0047d240
push dword [ebp - 0x42c]
lea eax, [ebp - 0x428]
mov byte [ebp - 4], 4
push 0x51b988
push eax
call fcn.0048d020
add esp, 0xc
lea ecx, [ebp - 0x428]
call fcn.0044c0a0
push eax
lea eax, [ebp - 0x424]
push 0x208
push eax
call fcn.004e7754
add esp, 0xc
push 3
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x484]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x424]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x440]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4b9926
push eax
call esi
mov eax, dword [ebp - 0x43c]
test eax, eax
je 0x4b9933
push eax
call esi
lea ecx, [ebp - 0x428]
call fcn.0044c080
lea ecx, [ebp - 0x42c]
call fcn.0044c080
lea ecx, [ebp - 0x430]
call fcn.0044c080
xor eax, eax
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 0x4b9970
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x513435
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebp - 0x60]
push eax
call fcn.00489390
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048d040
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call fcn.0044c080
push str.Quarantine_
lea ecx, [ebp - 0x28]
call fcn.0048f560
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call fcn.00487780
push str.sqlite.dll
add ebx, 4
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0048c0d0
add esp, 0x10
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4b9a8d
push str.sqlite.dll
lea ecx, [ebp - 0x40]
call fcn.0048d040
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0048ccf0
mov edi, eax
push str.sqlite.dll
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 4
push ebx
push eax
call fcn.0048c0d0
add esp, 0x18
mov ecx, edi
mov esi, eax
push 0
call fcn.0044a640
push eax
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x5c]
call fcn.0044c080
lea ecx, [ebp - 0x58]
call fcn.0044a650
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0044a650
push str.QMCommon.dll
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.0048c0d0
add esp, 0xc
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x5c]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4b9b2c
push str.QMCommon.dll
lea ecx, [ebp - 0x40]
call fcn.0048d040
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0048ccf0
mov edi, eax
push str.QMCommon.dll
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 6
push ebx
push eax
call fcn.0048c0d0
add esp, 0x18
mov ecx, edi
mov esi, eax
push 0
call fcn.0044a640
push eax
mov ecx, esi
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x5c]
call fcn.0044c080
lea ecx, [ebp - 0x58]
call fcn.0044a650
lea ecx, [ebp - 0x40]
call fcn.0044a650
lea ecx, [ebp - 0x28]
call fcn.0044a650
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4b9e80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5134cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edi, [ecx + 4]
push str.QQPCRTP.exe
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0048c0d0
add esp, 0xc
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4b9f64
push str.QQPCRTP.exe
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.0048c0d0
add esp, 0xc
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0xffffffffffffffff
push esi
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
call fcn.00490730
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044c080
push dword [ebp - 0x10]
push esi
push str.QQPCRTP.exe__ws__return:_d
push 0x550bb8
call fcn.0048d5c0
mov ecx, dword [ebp - 0x10]
add esp, 0x10
test ecx, ecx
je 0x4b9f4c
cmp ecx, 0x431
jne 0x4b9f64
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4bb430
Capabilities:
Check if file exists
Copy file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5137b5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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, ecx
push str.qmswitches.dat
lea eax, [esi + 0x1c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0047d390
add esp, 0xc
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.0044a640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4bb4fa
push str.qmswitches.dat
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0048c0d0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x40]
call fcn.0044a6b0
lea ecx, [ebp - 0x44]
call fcn.0044c080
push 1
lea ecx, [ebp - 0x40]
call fcn.0044a640
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4bb4f2
push eax
lea ecx, [ebp - 0x40]
call fcn.0044a640
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x40]
call fcn.0044a650
lea ecx, [ebp - 0x28]
call fcn.0044a650
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