joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48b910
Capabilities:
Check if file exists
Delete file
Get common file path
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4e1367
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov esi, dword [esp + 0x248]
xor edi, edi
cmp esi, edi
je 0x48bb73
push 0x208
lea eax, [esp + 0x2a]
push edi
push eax
mov word [esp + 0x30], di
call fcn.004be320
add esp, 0xc
push 0x104
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.004be214
add esp, 0xc
test eax, eax
je 0x48bb73
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48bb73
lea ecx, [esp + 0x24]
call fcn.0048c6e0
test al, al
je 0x48bb73
add dword [0x5155bc], 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x28]
call fcn.004099e0
mov esi, eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, str.File:
mov dword [esp + 0x244], edi
call fcn.004099e0
mov byte [esp + 0x240], 1
mov edx, dword [esi]
mov eax, dword [eax]
push edx
push eax
push 0x4f4e54
mov ecx, 0x515890
call fcn.00489c40
add esp, 0xc
lea ecx, [esp + 0x1c]
call fcn.00416ce0
lea ecx, [esp + 0x18]
mov dword [esp + 0x240], 0xffffffff
call fcn.00416ce0
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebp, eax
cmp ebp, edi
jne 0x48bb6f
cmp dword [esp + 0x24c], edi
je 0x48bb6f
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call fcn.004099e0
lea eax, [esp + 0x20]
push eax
lea eax, [edi + 4]
lea ecx, [esp + 0x20]
mov dword [esp + 0x244], 2
call fcn.00401030
push eax
mov ecx, str..tmp
call fcn.004138f0
add esp, 4
lea ecx, [esp + 0x1c]
mov bl, al
call fcn.00416ce0
test bl, bl
je 0x48bb56
lea esi, [esp + 0x18]
call fcn.00416d00
lea esi, [esp + 0x20]
mov byte [esp + 0x240], 3
call fcn.00413790
lea ecx, [esp + 0x1c]
mov edx, esi
call fcn.004098a0
mov ecx, 0x104
lea esi, [esp + 0x18]
mov byte [esp + 0x240], 4
call fcn.00401110
mov ecx, dword [esp + 0x1c]
push eax
push edi
push 0x4ef7d8
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
mov edi, eax
or eax, 0xffffffff
call fcn.00409800
test edi, edi
jne 0x48bafc
lea edx, [esp + 0x24]
push edx
push str._s.tmp
mov edi, esi
call fcn.00406040
mov esi, dword [esp + 0x20]
jmp 0x48bb08
mov esi, dword [esp + 0x18]
push 1
push esi
call fcn.0048b910
add esp, 8
lea eax, [esp + 0x24]
push esi
push eax
call fcn.004baee3
add esp, 8
test eax, eax
push 4
push 0
jne 0x48bb2a
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x48bb37
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebp, eax
lea ecx, [esp + 0x1c]
call fcn.00416ce0
lea ecx, [esp + 0x18]
call fcn.00416ce0
lea ecx, [esp + 0x20]
call fcn.00416ce0
mov eax, ebp
jmp 0x48bb75
push 4
push edi
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x20]
mov ebp, eax
call fcn.00416ce0
mov eax, ebp
jmp 0x48bb75
xor eax, eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.004b84de
add esp, 0x230
ret
Function at 0x48c530
Capabilities:
Check for peb beingdebugged flag
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4e493b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x23c]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 0x23
lea eax, [esp + 0x38]
push eax
push ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov ebp, 7
lea eax, [esp + 0x30]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
jmp 0x48c5a0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x48c5a0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x34]
push ecx
lea esi, [esp + 0x1c]
call fcn.004024d0
mov dword [esp + 0x244], ebx
mov eax, dword [esp + 0x28]
cmp eax, ebx
jne 0x48c5f9
push ebx
mov dword [edi + 0x18], ebp
mov dword [edi + 0x14], ebx
push 0x4ef7d8
mov esi, edi
mov word [edi + 4], bx
call fcn.004024d0
cmp dword [esp + 0x2c], 8
jb 0x48c6ab
mov edx, dword [esp + 0x18]
push edx
jmp 0x48c6a3
lea esi, [eax - 1]
cmp eax, esi
ja 0x48c605
call fcn.004b7515
mov eax, dword [esp + 0x18]
mov ebp, 8
cmp dword [esp + 0x2c], ebp
jae 0x48c618
lea eax, [esp + 0x18]
movzx eax, word [eax + esi*2]
cmp ax, 0x5c
je 0x48c638
cmp ax, 0x2f
je 0x48c638
push 1
push 0x4f09a4
lea ecx, [esp + 0x1c]
call fcn.00403530
push 0x10
push str.TencentQQPCMgr_
lea ecx, [esp + 0x1c]
call fcn.00403530
cmp dword [esp + 0x2c], ebp
mov eax, dword [esp + 0x18]
jae 0x48c656
lea eax, [esp + 0x18]
push eax
call fcn.0048b710
add esp, 4
test eax, eax
jne 0x48c67c
mov edx, 0x4ef7d8
mov eax, edi
call fcn.004036c0
cmp dword [esp + 0x2c], ebp
jb 0x48c6ab
mov eax, dword [esp + 0x18]
push eax
jmp 0x48c6a3
push 0xffffffffffffffff
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
push ebx
lea eax, [esp + 0x1c]
mov ecx, edi
mov word [edi + 4], bx
call fcn.00402090
cmp dword [esp + 0x2c], ebp
jb 0x48c6ab
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004b84d9
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b84de
add esp, 0x238
ret
Function at 0x48c9f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push edi
xor edi, edi
push 0x208
lea eax, [esp + 0x12]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], edi
mov word [esp + 0x18], di
call fcn.004be320
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [esp + 0xc]
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
lea edx, [eax + 2]
jmp 0x48ca50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x48ca50
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x10]
push edx
call fcn.004024d0
mov ecx, dword [esp + 0x218]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b84de
add esp, 0x214
ret

Function at 0x48ca90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x410
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x40c], eax
lea eax, [esp]
push eax
push 1
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48cb48
push 0x400
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004be320
mov ecx, dword [esp + 0xc]
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0
push 0
push str.Version
push ecx
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x48cb3e
lea edx, [esp + 8]
push edx
push 0x104
push esi
call fcn.004b91ab
mov eax, dword [esp + 0xc]
add esp, 0xc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x40c]
xor ecx, esp
call fcn.004b84de
add esp, 0x410
ret
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x40c]
xor ecx, esp
xor eax, eax
call fcn.004b84de
add esp, 0x410
ret
Function at 0x48cb60
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e04b8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, edx
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.004be320
mov edx, dword [0x5143ac]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5143ac
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 0x181
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push str._loadexit__superfetch:1
push esi
push str.__s___s
lea edi, [esp + 0x1c]
mov dword [esp + 0x84], 0
call fcn.00406040
mov edi, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
mov word [esp + 0x7c], 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x48cc82
push str._loadexit__superfetch:1
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_s
mov ecx, 0x515890
call fcn.00489c40
lea eax, [edi - 0x10]
add esp, 0x18
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48cc6d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret
test ebx, ebx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], eax
je 0x48cc9a
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x48cca7
push esi
call ebx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48ccb2
push eax
call ebx
lea eax, [edi - 0x10]
mov dword [esp + 0x78], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48ccd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x6c
ret
Function at 0x48ccf0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x23c]
push esi
xor ebx, ebx
push ebx
push 2
mov dword [edi], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x48cd3f
lea eax, [esp + 0xc]
push eax
push esi
mov dword [esp + 0x14], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x48cd60
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.004b84de
add esp, 0x230
ret
cmp dword [esp + 0x14], ebx
jbe 0x48cd78
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.004b9e54
add esp, 8
test eax, eax
je 0x48cd89
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x48cd60
jmp 0x48cd94
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop esi
pop ebp
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004b84de
add esp, 0x230
ret

Function at 0x48cdc0
Capabilities:
Terminate process

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov esi, 1
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
push eax
lea edi, [esp + 0x18]
mov dword [esp + 0x18], 0
call fcn.0048ccf0
mov ebx, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x48ce4d
push ebx
xor edi, edi
push edi
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x48ce4b
push edi
push esi
call ebp
push 0x1f4
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
jne 0x48ce4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x48ce4b
push ebx
push str.QMTProcess::CloseProcessByID___d
mov ecx, 0x515890
call fcn.004899e0
add esp, 8
mov esi, edi
add dword [esp + 0x10], 1
test ebx, ebx
je 0x48ce61
cmp dword [esp + 0x10], 0xa
jl 0x48cdda
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x48d670
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4e4860
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x38], eax
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x5c]
cmp dword [ebp + 4], 0
je 0x48d7aa
lea ecx, [esp + 0x2c]
call fcn.0048c9f0
lea edi, [esp + 0x2c]
mov dword [esp + 0x54], 0
call fcn.0048b1a0
lea esi, [ebp + 8]
push esi
lea ecx, [esp + 0x14]
call fcn.0048a520
mov ecx, edi
push ecx
mov ecx, eax
mov byte [esp + 0x58], 1
call fcn.0048b1f0
mov edi, 8
mov byte [esp + 0x54], 0
cmp dword [esp + 0x28], edi
jb 0x48d702
mov edx, dword [esp + 0x14]
push edx
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0x44], edi
mov ecx, dword [esp + 0x30]
jae 0x48d710
lea ecx, [esp + 0x30]
cmp dword [esi + 0x18], edi
jb 0x48d71a
mov eax, dword [esi + 4]
jmp 0x48d71d
lea eax, [esi + 4]
push ecx
push eax
push str.Copy_File___s______s_
mov ecx, 0x515890
call fcn.00489c40
add esp, 0xc
cmp dword [0x515890], 0
jne 0x48d76b
cmp dword [0x51589c], 0
mov dword [0x515890], 1
je 0x48d76b
mov eax, dword [0x515898]
test eax, eax
je 0x48d75d
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x51589c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x44], edi
mov eax, dword [esp + 0x30]
jae 0x48d779
lea eax, [esp + 0x30]
cmp dword [esi + 0x18], edi
jb 0x48d783
mov esi, dword [esi + 4]
jmp 0x48d786
add esi, 4
push 1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0x44], edi
mov dword [ebp + 4], 0
jb 0x48d7aa
mov ecx, dword [esp + 0x30]
push ecx
call fcn.004b84d9
add esp, 4
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004b84de
add esp, 0x48
ret 4
Function at 0x48d7ca
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x4f67d0
mov esi, ecx
push 0x8c
xor ebx, ebx
push esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, ebx
jne 0x48d812
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b84de
leave
ret
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x48d801
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
je 0x48d801
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x48d801
push ebx
push 0x80
push 2
push ebx
push 1
push 0x10000000
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x48d866
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x48d801
push ebx
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48d891
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x48d803
xor ebx, ebx
inc ebx
jmp 0x48d883

Function at 0x48e9c5
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi]
test eax, eax
je 0x48ea1b
cmp dword [esp + 4], 0xffffffff
jne 0x48e9da
mov dword [esp + 4], 0xa4cb80
push dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x48ea16
cmp dword [esi + 0x18], 0xea89
jne 0x48ea0c
mov eax, dword [esi + 0x14]
push 0
push 0
push 0
or eax, 0xdead0000
push eax
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
xor eax, eax
inc eax
jmp 0x48ea1d
xor eax, eax
ret 4
Function at 0x48f2a1
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x48f2b4
push 0x80004005
call fcn.00401340
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
add eax, eax
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push 1
push 0
push dword [ebp + 0x10]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop ebp
ret 0xc

Function at 0x48f2da
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004be320
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x48f32e
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x48f33f
cmp dword [ebp - 0x7c], 6
jne 0x48f33f
cmp dword [ebp - 0x78], 0
jne 0x48f33f
xor eax, eax
inc eax
jmp 0x48f341
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.004b84de
add ebp, 0xa0
leave
ret

Function at 0x48f357
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0xa0]
sub esp, 0x120
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x9c], eax
push esi
mov esi, 0x11c
push esi
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004be320
add esp, 0xc
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
test eax, eax
jne 0x48f3ab
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call esi
test eax, eax
je 0x48f3b9
cmp dword [ebp - 0x7c], 6
jne 0x48f3b9
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
jae 0x48f3bb
xor eax, eax
mov ecx, dword [ebp + 0x9c]
xor ecx, ebp
pop esi
call fcn.004b84de
add ebp, 0xa0
leave
ret
Function at 0x48f756
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x20c
lea ebp, [esp - 4]
mov eax, dword [0x50f130]
xor eax, ebp
mov dword [ebp + 0x20c], eax
push 0x1c
mov eax, 0x4e2d49
call fcn.004bea3c
mov eax, dword [ebp + 0x218]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x21c]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
push 0x20a
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.004be320
mov esi, 0x104
add esp, 0xc
mov dword [ebp - 0x28], esi
call fcn.0048f2da
test eax, eax
jne 0x48f7bd
call fcn.0048f357
lea eax, [ebp - 0x18]
push eax
push 0x20019
push edi
push str.SOFTWARETencentQQPCMgrDownloader
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48f808
lea esi, [ebp - 0x10]
call fcn.0041bb70
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 + 0x20c]
xor ecx, ebp
call fcn.004b84de
add ebp, 0x210
leave
ret
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp - 0x24]
xor ebx, ebx
push dword [ebp - 0x18]
inc ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x48f845
xor ebx, ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x10]
call fcn.0041bb70
mov eax, ebx
jmp 0x48f7e5
cmp dword [ebp - 0x14], edi
je 0x48f82e
push esi
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
call fcn.004b857e
add esp, 0xc
jmp 0x48f830
Function at 0x48f902
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4c
mov eax, 0x4e2cef
call fcn.004beaa5
mov esi, edx
xor ebx, ebx
mov edi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 4], ebx
call fcn.0048f2da
test eax, eax
jne 0x48f933
call fcn.0048f357
test eax, eax
je 0x48f9f4
cmp byte [ebp + 8], bl
je 0x48f9f4
xor ecx, ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], 7
call fcn.00402470
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 1
call fcn.0048f3d1
pop ecx
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.00402090
lea esi, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.00416cb0
lea eax, [ebp - 0x2c]
push eax
mov edx, 0x4f09a4
call fcn.00403500
lea eax, [ebp - 0x2c]
push eax
mov edx, str.SOFTWARETencentQQPCMgrDownloader
call fcn.00403500
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x48f99e
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x34]
push ecx
push 0x2001f
push ebx
push eax
push SysStringLen
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x48f9ea
lea esi, [ebp - 0x30]
call fcn.0041bb70
cmp eax, ebx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
jne 0x48f9ea
push edi
push dword [ebp - 0x38]
mov eax, esi
push eax
call fcn.0048f246
mov edi, eax
call fcn.0041bb70
lea esi, [ebp - 0x2c]
call fcn.00416cb0
jmp 0x48fa46
lea esi, [ebp - 0x2c]
call fcn.00416cb0
jmp 0x48fa12
lea eax, [ebp - 0x34]
push eax
push 0x20019
push ebx
push str.SOFTWARETencentQQPCMgrDownloader
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x48fa1e
lea esi, [ebp - 0x30]
call fcn.0041bb70
xor eax, eax
jmp 0x48fa55
push 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push esi
lea eax, [ebp - 0x3c]
push eax
push ebx
push edi
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x34]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [ebp - 0x30]
call fcn.0041bb70
xor eax, eax
cmp edi, ebx
sete al
call fcn.004beb28
ret

Function at 0x48faf8
Capabilities:
Delete registry value

Disassembly:
push 0xc
mov eax, 0x4e2c85
call fcn.004beaa5
and dword [ebp - 0x14], 0
mov edi, ecx
call fcn.0048f2da
test eax, eax
jne 0x48fb18
call fcn.0048f357
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x2001f
push 0
push str.SOFTWARETencentQQPCMgrDownloader
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48fb6a
lea esi, [ebp - 0x14]
call fcn.0041bb70
test eax, eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
jne 0x48fb6a
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
call fcn.0041bb70
call fcn.0041bb70
xor eax, eax
test edi, edi
sete al
jmp 0x48fb74
lea esi, [ebp - 0x14]
call fcn.0041bb70
xor eax, eax
call fcn.004beb28
ret