joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b1f80
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4b1f9c
mov eax, dword [ebp - 4]
jmp 0x4b2077
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4b2052
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
nop
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x516df0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x516df0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x516df0]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x516df0]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x516df0]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x516df0]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x516df0]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x516df0]
dec ebp
jne 0x4b1fbc
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4b206e
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x516df0]
dec ecx
jne 0x4b205c
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b2260
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.004b2330
push 0x20a
lea eax, [ebp - 0x210]
mov dword [esi], vtable.Debug::CDetectHelperDO.0
push 0
push eax
mov dword [ebp - 0x214], 0
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0x208
call fcn.004dcc10
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
push 0x5172d0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4b2318
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push str.InstallDir
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x214]
test eax, eax
je 0x4b2318
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4b2d00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push dword [ebp + 8]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4b2d29
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], 4
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
mov dword [ebp - 8], 4
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
pop esi
sete al
mov esp, ebp
pop ebp
ret

Function at 0x4b4e60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fa5d
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x54b144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.0044f000
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
call fcn.004b55d0
lea ecx, [esi + 0x44]
push ecx
push esi
push dword [ebp + 0xc]
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
lea ecx, [ebp + 8]
mov esi, eax
call fcn.0047d0e0
lea ecx, [ebp + 8]
call fcn.0044c000
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4b53e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fb70
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x54b144]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0xe0]
mov ebx, dword [ebp + 0x10]
push 0x42
push 0
push eax
call fcn.004dcc10
lea eax, [ebp - 0xe0]
mov dword [ebp - 0x9c], 0x740068
push 0x21
push eax
mov dword [ebp - 0x98], 0x700074
mov dword [ebp - 0x94], 0x3a0073
mov dword [ebp - 0x90], 0x2f002f
mov dword [ebp - 0x8c], 0x2e0063
mov dword [ebp - 0x88], 0x6a0067
mov dword [ebp - 0x84], 0x71002e
mov dword [ebp - 0x80], 0x2e0071
mov dword [ebp - 0x7c], 0x6f0063
mov dword [ebp - 0x78], 0x2f006d
mov dword [ebp - 0x74], 0x610070
mov dword [ebp - 0x70], 0x6b0063
mov dword [ebp - 0x6c], 0x6f0063
mov dword [ebp - 0x68], 0x66006e
mov dword [ebp - 0x64], 0x670069
mov dword [ebp - 0x60], 0x73003f
mov dword [ebp - 0x5c], 0x720065
mov dword [ebp - 0x58], 0x690076
mov dword [ebp - 0x54], 0x650063
mov dword [ebp - 0x50], 0x640069
mov dword [ebp - 0x4c], 0x25003d
mov dword [ebp - 0x48], 0x260064
mov dword [ebp - 0x44], 0x6c0063
mov dword [ebp - 0x40], 0x650069
mov dword [ebp - 0x3c], 0x74006e
mov dword [ebp - 0x38], 0x650076
mov dword [ebp - 0x34], 0x3d0072
mov dword [ebp - 0x30], 0x490025
mov dword [ebp - 0x2c], 0x340036
mov dword [ebp - 0x28], 0x260064
mov dword [ebp - 0x24], 0x6a0067
mov dword [ebp - 0x20], 0x750067
mov dword [ebp - 0x1c], 0x640069
mov dword [ebp - 0x18], 0x25003d
mov dword [ebp - 0x14], 0x73
call fcn.0044a5f0
add esp, 0x14
lea ecx, [ebp - 0xf8]
push esi
call fcn.0044a690
push eax
mov dword [ebp - 4], 0
call fcn.00479dc0
mov ecx, eax
call fcn.0047ca60
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
mov edi, eax
mov esi, edx
call fcn.0044a630
test edi, edi
jne 0x4b5587
test esi, esi
jne 0x4b5587
mov edi, 0x49af00d1
mov esi, 0xc0006
lea eax, [ebp - 0xe0]
push eax
push esi
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x9c]
push eax
push ebx
call fcn.0048cb40
add esp, 0x18
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.004dafe6
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b56a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fbbb
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x54b144]
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 eax, ecx
mov dword [ebp - 0x1c8], eax
lea edi, [eax + 0xc]
mov ecx, edi
call fcn.0044c020
push eax
call fcn.0048a5e0
add esp, 4
test eax, eax
je 0x4b5851
xor esi, esi
mov ecx, edi
push 0x5175f0
mov dword [ebp - 0x1b8], esi
call fcn.0044c020
push eax
lea eax, [ebp - 0x1b8]
push eax
call fcn.004e63b9
mov eax, dword [ebp - 0x1b8]
add esp, 0xc
test eax, eax
je 0x4b584f
push 2
push esi
push eax
call fcn.004e69e9
push dword [ebp - 0x1b8]
call fcn.004e6fe2
mov edi, eax
add esp, 0x10
cmp edi, 0x2800
jge 0x4b584f
cmp edi, 0xffffffff
je 0x4b584f
push edi
call fcn.004dafd8
lea esi, [edi + 0x40]
mov ebx, eax
push esi
mov dword [ebp - 0x1c4], esi
call fcn.004dafd8
push edi
push 0
push ebx
mov dword [ebp - 0x1c0], eax
call fcn.004dcc10
push esi
mov esi, dword [ebp - 0x1c0]
push 0
push esi
call fcn.004dcc10
push 0
push 0
push dword [ebp - 0x1b8]
call fcn.004e69e9
push dword [ebp - 0x1b8]
push edi
push 1
push ebx
call fcn.004e65e3
lea eax, [ebp - 0x1c4]
mov dword [ebp - 0x20], 0x910f032
push eax
push esi
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0xb5dc7989
push eax
push edi
push ebx
mov dword [ebp - 0x18], 0x715d2fc0
mov dword [ebp - 0x14], 0x884a6cee
call fcn.0047e700
add esp, 0x50
test al, al
je 0x4b5838
push esi
lea ecx, [ebp - 0x1b4]
call fcn.004b44b0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004b4bc0
push eax
lea ecx, [ebp - 0x1bc]
call fcn.004b4440
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 2
call fcn.004b4920
push ecx
lea eax, [ebp - 0x1bc]
mov ecx, esp
push eax
call fcn.0049aa40
mov ecx, dword [ebp - 0x1c8]
call fcn.004b5870
lea ecx, [ebp - 0x1bc]
mov esi, eax
call fcn.0046d220
jmp 0x4b583a
xor esi, esi
push ebx
call fcn.004dafe1
mov eax, dword [ebp - 0x1c0]
push eax
call fcn.004dafe1
add esp, 8
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.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4b67a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
test eax, eax
jne 0x4b67e3
mov eax, dword [ebp + 0x14]
mov byte [eax], 0x3d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
push eax
push str.Wow64DisableWow64FsRedirection_err_d
push 0x54bba8
mov dword [ecx], eax
call fcn.0048d0e0
add esp, 0xc
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 8]
call fcn.0044a620
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x4b6806
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
test eax, eax
jne 0x4b6831
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
push eax
push str.Wow64RevertWow64FsRedirection_err_d
push 0x54bba8
mov dword [ecx], eax
call fcn.0048d0e0
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov byte [eax], 0x3e
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4b6a00
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4b6a71
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4b6a3f
cmp eax, 2
jne 0x4b6a5b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4b6a6b
test ecx, ecx
je 0x4b6a66
test cl, 1
jne 0x4b6a5b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4b6a6b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4b6c80
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fd4d
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x54b144]
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], 0x530030
mov dword [ebp - 0x20], 0x660061
mov dword [ebp - 0x1c], 0x2e0065
mov dword [ebp - 0x18], 0x780065
call fcn.0044add0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.00455680
test al, al
jne 0x4b6d23
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.004b69a0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x40]
call fcn.00463970
lea ecx, [ebp - 0x40]
call fcn.0044a620
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4b6d23
mov bl, 1
jmp 0x4b6d25
xor bl, bl
lea ecx, [ebp - 0x40]
call fcn.0044a630
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.004dafe6
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x54b144]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Drivers_
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004e5ce3
add esp, 0xc
lea ecx, [ebp + 8]
call fcn.0044c020
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004e44a6
cmp dword [ebp + 0xc], 0
mov ecx, str.FileMonx64_
mov eax, str.FileMoni386_
cmovne eax, ecx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004e5ce3
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0x18
xor esi, esi
nop dword [eax + eax]
push dword [esi + 0x54b044]
lea eax, [ebp - 0x20c]
push eax
push 0x533fb4
lea eax, [ebp - 0x824]
push 0x104
push eax
call fcn.0048cbf0
push dword [esi + 0x54b044]
lea eax, [ebp - 0x414]
push eax
push 0x533fb4
lea eax, [ebp - 0x61c]
push 0x104
push eax
call fcn.0048cbf0
add esp, 0x28
lea eax, [ebp - 0x61c]
push 0
push eax
lea eax, [ebp - 0x824]
push eax
call edi
test eax, eax
je 0x4b703e
add esi, 0x24
cmp esi, 0x24
jb 0x4b6fd0
mov esi, 1
jmp 0x4b7040
xor esi, esi
lea ecx, [ebp + 8]
call fcn.0044c000
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004dafe6
mov esp, ebp
pop ebp
ret 8
Function at 0x4b7060
Capabilities:
Check for time delay via gettickcount
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x54b144]
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 0x4b7199
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 0x4b7194
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x4b7191
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 0x4b7197
lea ecx, [ebp - 0x30]
push ecx
push 0x24
lea ecx, [ebp - 0x28]
push ecx
push 0
push esi
call eax
test eax, eax
je 0x4b7191
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 0x4b7183
mov eax, 0xcccccccd
mov ecx, 0x2710
mul dword [ebp - 0x10]
shr edx, 3
cmp edx, 0x3e8
jae 0x4b7131
mov edx, 0x3e8
jmp 0x4b713a
cmp edx, 0x2710
cmova edx, ecx
push edx
mov ecx, 0x54e028
call fcn.004af310
test eax, eax
jne 0x4b7180
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 0x4b7180
cmp dword [ebp - 0x14], ebx
jbe 0x4b716c
call edi
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
jmp 0x4b7176
call edi
sub eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
ja 0x4b7180
mov ecx, dword [ebp - 0x24]
cmp ecx, 2
je 0x4b7112
jmp 0x4b7183
mov ecx, dword [ebp - 0x24]
cmp ecx, 4
jne 0x4b7197
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.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4b7f60
Capabilities:
Create service
Modify service
Start service
Stop service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50feed
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54b144]
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.0048cc30
mov dword [ebp - 4], 0
call fcn.004876e0
lea ecx, [ebp - 0x30]
test eax, eax
je 0x4b7fc7
push str.QMUdisk64.sys
call fcn.0044f000
mov byte [ebp - 4], 1
call fcn.00487190
test eax, eax
je 0x4b7feb
push str.QMUdisk64_ev.sys
jmp 0x4b7fe3
push str.QMUdisk.sys
call fcn.0044f000
mov byte [ebp - 4], 2
call fcn.00487190
test eax, eax
je 0x4b7feb
push str.QMUdisk_ev.sys
lea ecx, [ebp - 0x30]
call fcn.0044f380
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x34]
call fcn.0048ddb0
lea ecx, [ebp - 0x30]
call fcn.0044c000
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x4b80c4
push 0xf01ff
push str.QMUdisk
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.0044c020
mov dword [ebp - 0x30], eax
test esi, esi
je 0x4b8078
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 0x4b80a5
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 0x4b80b2
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 0x4b80c1
push esi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call eax
lea ecx, [ebp - 0x34]
call fcn.0044c000
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.004dafe6
mov esp, ebp
pop ebp
ret
Function at 0x4b8660
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510015
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54b144]
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.004b8b00
test eax, eax
je 0x4b876c
cmp dword [ebp - 0x14], 0
je 0x4b876c
push str.Install_TSKsp_Server
push 0x54bba8
call fcn.0048d0e0
add esp, 8
lea ecx, [ebp - 0x10]
push str.TSKsp.sys
call fcn.0044f000
mov dword [ebp - 4], 0
call fcn.00487190
test eax, eax
je 0x4b86ed
push str.TSKsp_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0044f380
lea eax, [ebp - 0x10]
push eax
lea ebx, [edi + 4]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00496cb0
add esp, 0xc
mov ecx, eax
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c000
test esi, esi
je 0x4b8752
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00496cb0
add esp, 0xc
push str.TSKsp
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044c020
push eax
mov ecx, edi
call fcn.004b8cb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
call fcn.0044c000
push str.Install_TSKsp_Server_end
push 0x54bba8
call fcn.0048d0e0
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c000
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 0x4b8790
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x510015
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x54b144]
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.004b8b00
test eax, eax
je 0x4b88b4
cmp dword [ebp - 0x14], 0
je 0x4b88b4
push str.Install_TSSysKit_Server
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x10]
push 0x518ef0
call fcn.0044f000
mov dword [ebp - 4], 0
call fcn.00487190
test eax, eax
je 0x4b881d
push str.TSSysKit_ev.sys
lea ecx, [ebp - 0x10]
call fcn.0044f380
lea eax, [ebp - 0x10]
push eax
lea ebx, [edi + 4]
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00496cb0
add esp, 0xc
mov ecx, eax
call fcn.0044c020
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c000
test esi, esi
je 0x4b889a
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.00496cb0
add esp, 0xc
push str.TSSysKit
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0044c020
push eax
mov ecx, edi
call fcn.004b8cb0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.0044c000
test esi, esi
jne 0x4b889a
push 0x518f30
push 0x54bba8
call fcn.0048d420
add esp, 8
push str.Install_TSSysKit_Server_end
push 0x54bba8
call fcn.0048d420
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0044c000
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 0x4b88f0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51006d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x54b144]
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.004876e0
test eax, eax
jne 0x4b8a44
push str.Install_TsFltMgr_Server
push 0x54bba8
call fcn.0048d0e0
add esp, 8
lea ecx, [ebp - 0x2c]
push str.TsFltMgr.sys
call fcn.0044f000
mov dword [ebp - 4], 0
call fcn.00487190
test eax, eax
je 0x4b8966
push str.TsFltMgr_ev.sys
lea ecx, [ebp - 0x2c]
call fcn.0044f380
lea eax, [ebp - 0x28]
push eax
call fcn.00488e90
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0044a620
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048c6a0
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.00496cb0
add esp, 0x18
mov ecx, edi
mov esi, eax
push 0
call fcn.0044c020
push eax
mov ecx, esi
call fcn.0044c020
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x34]
call fcn.0044c000
lea ecx, [ebp - 0x30]
call fcn.0044c000
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0044a630
lea eax, [ebp - 0x28]
push eax
call fcn.00488e90
add esp, 4
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
push ecx
mov ecx, eax
call fcn.0044a620
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048c6a0
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0044c020
push eax
mov ecx, ebx
call fcn.004b8fe0
lea ecx, [ebp - 0x30]
call fcn.0044c000
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.0044a630
push str.Install_TsFltMgr_Server_end
push 0x54bba8
call fcn.0048d0e0
add esp, 8
lea ecx, [ebp - 0x2c]
call fcn.0044c000
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.004dafe6
mov esp, ebp
pop ebp
ret