joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ce38
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0x80
push 3
push 0
push 0
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x48ce8d
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x48d1a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], ecx
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
cmp dword [ebp + 0xc], 0
je 0x48d2be
cmp dword [ebp + 0x10], 0
je 0x48d2be
and dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx eax, ax
test eax, eax
jne 0x48d1f3
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx eax, ax
mov dword [ebp - 8], eax
jmp 0x48d1f9
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x48d2be
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x10], eax
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x48d2be
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x48d2be
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
call fcn.00455e19
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x10]
add eax, 0x10
push eax
push 0
mov eax, dword [ebp - 4]
push dword [eax + 4]
call fcn.00458260
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 4]
push dword [eax + 8]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
push dword [eax + 4]
call fcn.00457ce0
add esp, 0xc
mov eax, dword [ebp - 4]
and dword [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 1
mov eax, dword [ebp - 4]
and dword [eax + 0x18], 0
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x48d313
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 0xc], 0
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48d33d
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x48d38d
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48d362
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x48d381
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x48d378
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x48d391
Capabilities:
Create service
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x48d3be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
jmp 0x48d429
push 0
push 0
push 0
push 0
push str.COM_Infrastructure
push dword [ebp + 8]
push 1
push 3
push 0x110
push 0xf01ff
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x48d3ff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x48d41d
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48d42d
Capabilities:
Query service status
Start service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
and dword [ebp - 0x24], 0
push 0x20a
push 0
push 0x4e1e78
call fcn.00458260
add esp, 0xc
push 0x104
push dword [ebp + 8]
push 0x4e1e78
call fcn.0045f321
add esp, 0xc
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x48d491
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
jmp 0x48d538
push 0xf01ff
push dword [ebp + 8]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x48d4b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
jmp 0x48d52f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x48d4d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
jmp 0x48d526
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x2c], 0
jle 0x48d526
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
and dword [ebp - 0x20], 0
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x1c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x48d512
cmp dword [ebp - 0x1c], 4
jne 0x48d510
jmp 0x48d526
jmp 0x48d51d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
jmp 0x48d526
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
jmp 0x48d4db
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp - 0x24]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret
Function at 0x48dc7f
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
je 0x48dc8e
cmp dword [ebp + 0x10], 0
jg 0x48dc96
mov eax, dword [ebp + 8]
jmp 0x48de19
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jl 0x48dddf
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x48dc9f
cmp dword [ebp + 0x10], 0
je 0x48de13
mov eax, dword [ebp + 0xc]
movzx eax, byte [eax]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x4c2700]
mov dword [ebp + 8], ecx
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
jne 0x48dde5
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x48e1d6
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x18], 0
jmp 0x48e210
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x48e22e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x14], eax
jmp 0x48e209
mov dword [ebp - 0x24], 0xe3779b90
and dword [ebp - 0x18], 0
jmp 0x48e242
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10
jge 0x48e2b8
mov eax, dword [ebp - 0x1c]
shl eax, 4
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
shr ecx, 5
push 4
pop edx
imul edx, edx, 3
add ecx, dword [ebp + edx - 0x14]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
shl eax, 4
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
push 4
pop edx
shl edx, 0
add ecx, dword [ebp + edx - 0x14]
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, eax
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x24]
add eax, 0x61c88647
mov dword [ebp - 0x24], eax
jmp 0x48e23b
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret
Function at 0x48e2e3
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 0x18], 0
jmp 0x48e31d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x48e33b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + ecx*4 - 0x14], eax
jmp 0x48e316
and dword [ebp - 0x24], 0
and dword [ebp - 0x18], 0
jmp 0x48e34c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x10
jge 0x48e3be
mov eax, dword [ebp - 0x24]
sub eax, 0x61c88647
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
shl eax, 4
push 4
pop ecx
imul ecx, ecx, 0
add eax, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
push 4
pop edx
shl edx, 0
add ecx, dword [ebp + edx - 0x14]
xor eax, ecx
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
shl eax, 4
push 4
pop ecx
shl ecx, 1
add eax, dword [ebp + ecx - 0x14]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x1c]
shr ecx, 5
push 4
pop edx
imul edx, edx, 3
add ecx, dword [ebp + edx - 0x14]
xor eax, ecx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x48e345
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret
Function at 0x48e715
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x238], 0
or dword [ebp - 0x234], 0xffffffff
and dword [ebp - 0x230], 0
push 0x228
push 0
lea eax, [ebp - 0x22c]
push eax
call fcn.00458260
add esp, 0xc
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x234], 0xffffffff
jne 0x48e776
jmp 0x48e803
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x48e79b
jmp 0x48e803
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x23c]
je 0x48e7c7
cmp dword [ebp - 0x228], 0
je 0x48e7c7
cmp dword [ebp - 0x228], 4
jne 0x48e7c9
jmp 0x48e7ec
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call fcn.0045f75d
pop ecx
pop ecx
test eax, eax
jne 0x48e7ec
mov dword [ebp - 0x238], 1
jmp 0x48e803
lea eax, [ebp - 0x230]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x48e7a7
cmp dword [ebp - 0x234], 0xffffffff
je 0x48e818
push dword [ebp - 0x234]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret

Function at 0x48e82c
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
mov eax, dword [0x4e65c8]
and eax, 1
jne 0x48e872
mov eax, dword [0x4e65c8]
or eax, 1
mov dword [0x4e65c8], eax
mov ecx, 0x4e65cc
call fcn.00407094
push 0x4aaa0a
call fcn.00455bf7
pop ecx
mov ecx, 0x4e65cc
call fcn.004070ef
movzx eax, al
test eax, eax
je 0x48e8ff
xor eax, eax
mov word [ebp - 0x210], ax
push 0x20a
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00458260
add esp, 0xc
push 0x208
lea eax, [ebp - 0x210]
push eax
push str._appdata_TencentQQPCMgrDownload_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [ebp + 0xc]
lea eax, [ebp - 0x210]
push eax
push 0x4c440c
push 0x4e65cc
call fcn.004080bb
add esp, 0x10
mov ecx, 0x4e65cc
call fcn.004026c4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x48e8ff
push 0
mov ecx, 0x4e65cc
call fcn.004026c4
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x4e65cc
mov ecx, dword [ebp + 8]
call fcn.00407079
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret
Function at 0x48e96b
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a90ed
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x224], 0
lea ecx, [ebp - 0x220]
call fcn.00407094
and dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.00407186
xor eax, eax
mov word [ebp - 0x21c], ax
push 0x20a
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.00458260
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x21c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.00406fd6
lea ecx, [ebp - 0x220]
call fcn.00405ece
test eax, eax
jle 0x48ea53
lea eax, [ebp - 0x220]
push eax
call fcn.0048e933
pop ecx
push 0x4c44f4
lea ecx, [ebp - 0x220]
call fcn.00406fbb
lea ecx, [ebp - 0x220]
call fcn.004026c4
push eax
call fcn.0041ba57
pop ecx
test eax, eax
jne 0x48ea53
push 0
lea ecx, [ebp - 0x220]
call fcn.004026c4
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp + 8]
call fcn.00407079
mov eax, dword [ebp - 0x224]
or eax, 1
mov dword [ebp - 0x224], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.00405d4a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret

Function at 0x48ea9c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
jne 0x48eabc
xor eax, eax
jmp 0x48ebaa
and dword [ebp - 0x214], 0
call fcn.0048e92c
test eax, eax
je 0x48ead8
mov dword [ebp - 0x218], 0x20219
jmp 0x48eae2
mov dword [ebp - 0x218], 0x20019
mov eax, dword [ebp - 0x218]
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48eba8
cmp dword [ebp - 0x214], 0
je 0x48eba8
xor eax, eax
mov word [ebp - 0x210], ax
push 0x20a
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00458260
add esp, 0xc
mov dword [ebp - 0x220], 0x20b
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48eb98
push 0x103
lea eax, [ebp - 0x210]
push eax
push dword [ebp + 0x10]
call fcn.0045f321
add esp, 0xc
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x48ebaa
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x48ebaa
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret
Function at 0x48edc1
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
xor eax, eax
mov word [ebp - 0x210], ax
push 0x208
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.00458260
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x4c4748
push str.SOFTWARETencentQQPCMgr
call fcn.0048ea9c
add esp, 0xc
test eax, eax
je 0x48ee5c
lea eax, [ebp - 0x210]
push eax
call fcn.0045b661
pop ecx
test eax, eax
jbe 0x48ee5c
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48ee5c
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
call fcn.0040224c
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
jmp 0x48ee7b
push 0x4c4794
mov ecx, dword [ebp + 8]
call fcn.0040224c
mov eax, dword [ebp - 0x214]
or eax, 1
mov dword [ebp - 0x214], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret

Function at 0x48ef41
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9140
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x48ef76
cmp dword [ebp + 0xc], 0
jne 0x48ef7d
xor eax, eax
jmp 0x48f07a
and dword [ebp - 0x88], 0
push 0x40
push 0
lea eax, [ebp - 0x84]
push eax
call fcn.00458260
add esp, 0xc
and dword [ebp - 0x44], 0
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x88], 0x44
mov dword [ebp - 0x5c], 0x81
cmp dword [ebp + 0x14], 0
je 0x48efc3
mov dword [ebp - 0x2c], 5
jmp 0x48efc7
and dword [ebp - 0x2c], 0
mov ax, word [ebp - 0x2c]
mov word [ebp - 0x58], ax
push 0x4c473c
lea ecx, [ebp - 0x28]
call fcn.0040224c
and dword [ebp - 4], 0
push dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00406ea1
push 0x4c4740
lea ecx, [ebp - 0x28]
call fcn.00406ea1
push 0x4c4744
lea ecx, [ebp - 0x28]
call fcn.00406ea1
push dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
call fcn.00406ea1
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp + 0x10]
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00406ddd
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x48f065
cmp dword [ebp + 0x18], 0
je 0x48f053
push 0xffffffffffffffff
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.004020b1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret
Function at 0x48f4b6
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9178
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x28]
push eax
call fcn.0048edc1
pop ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
and dword [ebp - 4], 0
push dword [ebp + 8]
mov ecx, dword [ebp - 0x34]
call fcn.00406ddd
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041bbec
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.004020b1
lea ecx, [ebp - 0x2c]
call fcn.004026c4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f549
push 0
push 1
push 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x2c]
call fcn.004026c4
push eax
call fcn.0048ef41
add esp, 0x14
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405d4a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret 8

Function at 0x48fc7e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
and dword [ebp - 4], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 3
mov dword [ebp - 8], 4
cmp dword [ebp + 8], 0x13629
jne 0x48fd18
push str.QB_support_start
push 0xd2
push 0x4c4c1c
call fcn.0044c705
add esp, 0xc
push dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
push str.NeedImport_Preloaded
push str.SOFTWARETencentQQBrowserSpeedUp
push connect
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x48fd01
push str.QB_support_is_successful
push 0xd2
push 0x4c4cb8
call fcn.0044c705
add esp, 0xc
jmp 0x48fd18
push str.QB_support_is_failed_
push 0xd2
push str.TxdlApp.cpp
call fcn.0044c705
add esp, 0xc
mov esp, ebp
pop ebp
ret 4