joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48a5c0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x400
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x410], 0
mov esi, edx
mov dword [ebp - 0x414], 0
mov ebx, ecx
mov dword [ebp - 0x418], esi
push 0
push eax
mov dword [ebp - 0x41c], ebx
call fcn.004a73c0
mov edi, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x420], 0
test edi, edi
je 0x48a630
call fcn.00488a60
lea eax, [ebp - 0x410]
push eax
push 0xf003f
push 0
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x48a6f9
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [ebp - 0x424]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0x200
push eax
lea eax, [ebp - 0x40c]
push eax
push 0
push dword [ebp - 0x410]
call ebx
test eax, eax
jne 0x48a6e0
nop word [eax + eax]
mov ecx, dword [ebp - 0x410]
lea edx, [ebp - 0x40c]
push edi
call fcn.0048a5c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x48a70a
lea eax, [ebp - 0x424]
mov dword [ebp - 0x414], 0x200
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x40c]
push eax
push esi
push dword [ebp - 0x410]
call ebx
test eax, eax
je 0x48a690
mov esi, dword [ebp - 0x418]
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x410]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48a9d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x20a
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x214], esi
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x210], ax
jne 0x48aa3e
xor ecx, ecx
jmp 0x48aa56
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48aa47
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004393e0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48b110
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d96a8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x511070]
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, ecx
push esi
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b30e
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x48b163
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x48b18a
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
push 0xd
xor eax, eax
mov dword [ebp - 0x14], 7
push str._regsvr32.exe
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004393e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0048cae0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x48b1d4
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.004389a0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 8
jb 0x48b1f3
mov edx, dword [edx]
test edx, edx
jne 0x48b1fb
xor ecx, ecx
jmp 0x48b20f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b200
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0041cd40
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x48b22e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x48b257
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433850
xor eax, eax
mov byte [ebp - 4], 1
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
cmp eax, 8
jb 0x48b284
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x5c]
push str._u__s___s_
push eax
mov dword [ebp - 0x18], 0
call fcn.00422000
mov edi, dword [ebp - 0x60]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x5c]
mov edx, esi
mov ecx, edi
push 0
push 1
push 0xffffffffffffffff
test eax, eax
jne 0x48b2ca
mov ecx, str.regsvr32
call fcn.0048eb00
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov ebx, eax
add esp, 0xc
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b2f2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48b30e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48b760
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x511070]
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.004a73c0
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004a73c0
add esp, 0x18
mov dword [ebp - 0x41c], 0x208
test edi, edi
je 0x48b988
push esi
push 0x208
push ebx
push edi
call fcn.004a73c0
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.00474d70
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 0x48b8b1
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48b8b1
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 0x48b8a0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x48b867
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 0x48b8a0
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 0x48b890
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48b8bb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x418], 0
inc esi
cmp esi, 5
jle 0x48b7d0
pop esi
test ebx, ebx
jne 0x48b976
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 0x48b965
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48b923
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 0x48b965
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 0x48b965
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 0x48b955
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x48b976
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.004a474b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48bcc0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf8
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x51543c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x48bcfa
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4
call fcn.0048c5b0
cmp word [esi], 0
jne 0x48bd09
xor eax, eax
jmp 0x48bd1f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48bd10
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, 0x515418
call fcn.004393e0
push 0xc8
xorps xmm0, xmm0
mov dword [0x51543c], 1
lea eax, [ebp - 0xd4]
mov byte [ebp - 0xf4], 0
push 0
push eax
movups xmmword [ebp - 0xf3], xmm0
mov word [ebp - 0xe3], 0
mov byte [ebp - 0xe1], 0
mov dword [ebp - 0xe0], 0
movq qword [ebp - 0xdc], xmm0
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0xf4]
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xe0], 0xc
mov dword [ebp - 0xdc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea eax, [ebp - 0xd4]
push 0x63
push eax
call fcn.0046a650
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventW]
lea eax, [ebp - 0xd4]
add esp, 0x10
push eax
push 1
push 1
lea eax, [ebp - 0xe0]
push eax
call edi
mov ecx, dword [0x51540c]
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x48be02
push ecx
call esi
push 0
push 0
push 0
push 0
mov dword [0x51540c], ebx
call edi
mov edi, eax
mov eax, dword [0x515410]
test eax, eax
je 0x48be20
push eax
call esi
cmp dword [0x51540c], 0
mov dword [0x515410], edi
je 0x48be7b
test edi, edi
je 0x48be7b
push 0
push 0
push 0x515408
push 0x48c310
push 0
push 0
call fcn.004ae850
mov edi, eax
add esp, 0x18
mov eax, dword [0x515414]
test eax, eax
je 0x48be5b
push eax
call esi
xor eax, eax
mov dword [0x515414], edi
test edi, edi
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4
Function at 0x48c5b0
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2718
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x51542c], 8
mov ebx, 0x515418
push 0
push 0x80
push 3
push 0
push 3
mov eax, ebx
cmovae eax, dword [0x515418]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48c6b5
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
push edi
cmove esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x80000
jb 0x48c6b5
cmp dword [0x51542c], 8
lea ecx, [ebp - 0x10]
mov eax, ebx
cmovae eax, dword [0x515418]
push eax
call fcn.0041c9e0
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048c770
cmp dword [0x51542c], 8
mov edi, dword [ebp - 0x10]
cmovae ebx, dword [0x515418]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push edi
call esi
mov edx, 1
mov ecx, edi
call fcn.00488ab0
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48c6b5
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 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
Function at 0x48cae0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d990b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x234], esi
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x238], 0
push 0
push eax
call fcn.004a73c0
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x515d34]
cmp eax, dword [ecx + 4]
jle 0x48cb92
push 0x515d34
call fcn.004a4af3
add esp, 4
cmp dword [0x515d34], 0xffffffff
jne 0x48cb92
xor eax, eax
mov dword [0x515d4c], 7
push 0x4db0f0
mov dword [0x515d48], 0
mov word [0x515d38], ax
call fcn.004a4e67
push 0x515d34
call fcn.004a4ab4
add esp, 8
cmp dword [0x515d48], 0
jne 0x48cc47
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x48cbdb
xor ecx, ecx
jmp 0x48cbf3
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48cbe4
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004393e0
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x515d38
call fcn.00439070
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x48cc47
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00433850
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x515d38
mov word [esi], ax
call fcn.00439070
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48cc90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9962
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], esi
mov dword [esi + 0x10], 0
jb 0x48ccfa
mov eax, dword [esi]
jmp 0x48ccfc
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x220], 1
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x10
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x48cd44
xor ecx, ecx
jmp 0x48cd5f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48cd50
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004393e0
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48cdaf
cmp dword [esi + 0x14], 8
jb 0x48cd80
mov eax, dword [esi]
jmp 0x48cd82
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4eb68c]
je 0x48cdaf
add ecx, 2
cmp ecx, 4
jb 0x48cd90
push 1
push str.0s
mov ecx, esi
call fcn.0043f580
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48cdd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9962
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], esi
mov dword [esi + 0x10], 0
jb 0x48ce3a
mov eax, dword [esi]
jmp 0x48ce3c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x220], 1
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x48ce84
xor ecx, ecx
jmp 0x48ce9f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ce90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004393e0
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48ceef
cmp dword [esi + 0x14], 8
jb 0x48cec0
mov eax, dword [esi]
jmp 0x48cec2
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4eb68c]
je 0x48ceef
add ecx, 2
cmp ecx, 4
jb 0x48ced0
push 1
push str.0s
mov ecx, esi
call fcn.0043f580
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48cf10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9962
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x224], esi
mov dword [ebp - 0x220], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x228], esi
mov dword [esi + 0x10], 0
jb 0x48cf7a
mov eax, dword [esi]
jmp 0x48cf7c
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x20a
push ecx
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x220], 1
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0
push 2
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [ebp - 0x21c], 0
jne 0x48cfc4
xor ecx, ecx
jmp 0x48cfdf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48cfd0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.004393e0
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48d02f
cmp dword [esi + 0x14], 8
jb 0x48d000
mov eax, dword [esi]
jmp 0x48d002
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4eb68c]
je 0x48d02f
add ecx, 2
cmp ecx, 4
jb 0x48d010
push 1
push str.0s
mov ecx, esi
call fcn.0043f580
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48ddd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9b3b
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x511070]
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, ecx
test esi, esi
je 0x48df95
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x48df95
push str.CreateSoftMgrInstallDirShortCut
push 0x515408
call fcn.0048c0f0
add esp, 8
lea ecx, [ebp - 0x40]
push esi
call fcn.004388e0
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0048d540
push 0x4ed7b0
lea ecx, [ebp - 0x40]
call fcn.0048d880
push esi
lea ecx, [ebp - 0x28]
call fcn.004388e0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0048d540
push str.QQPCSoftMgr.exe
lea ecx, [ebp - 0x28]
call fcn.0048d880
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x48de8b
xor ebx, ebx
jmp 0x48df53
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x48dea7
mov ebx, 1
jmp 0x48df53
lea ecx, [ebp - 0x268]
call fcn.00495ad0
mov byte [ebp - 4], 2
lea esi, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x268]
cmovae esi, dword [ebp - 0x40]
call fcn.00495be0
test eax, eax
js 0x48df46
push esi
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 2
push 0x104
push eax
call fcn.004ae4a4
add esp, 0xc
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x268]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00495ec0
test eax, eax
js 0x48df46
push 0x4fb188
lea ecx, [ebp - 0x268]
call fcn.00495d20
test eax, eax
js 0x48df46
push str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x268]
call fcn.00495c50
test eax, eax
js 0x48df46
lea ecx, [ebp - 0x268]
call fcn.00496060
xor ebx, ebx
test eax, eax
setns bl
jmp 0x48df48
xor ebx, ebx
lea ecx, [ebp - 0x268]
call fcn.00495b50
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48df68
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x48df91
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00433850
mov eax, ebx
jmp 0x48df97
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x48e020
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x68c
mov eax, dword [0x511070]
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, dword [ebp + 8]
lea eax, [ebp - 0x220]
mov edi, dword [ebp + 0xc]
push 0x20a
push 0
push eax
call fcn.004a73c0
add esp, 0xc
test ebx, ebx
je 0x48e1c2
test edi, edi
je 0x48e1c2
lea ecx, [ebp - 0x448]
call fcn.00495ad0
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48e1b1
lea ecx, [ebp - 0x448]
call fcn.00495be0
test eax, eax
js 0x48e1b1
mov eax, dword [ebp - 0x438]
push 0
mov dword [ebp - 0x434], 1
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
push ebx
mov esi, eax
lea eax, [ebp - 0x430]
push 0x104
push eax
call fcn.004ae4a4
add esp, 0xc
test esi, esi
js 0x48e1b1
push 0x250
lea eax, [ebp - 0x698]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
mov ecx, edi
push ebx
call fcn.004394e0
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x698]
push 2
push edx
push 0x104
mov ecx, dword [eax]
lea edx, [ebp - 0x220]
push edx
push eax
call dword [ecx + 0xc]
test eax, eax
js 0x48e1b1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x18]
call fcn.004394e0
mov eax, dword [ebp - 0x43c]
lea edx, [ebp - 0x220]
push 0x104
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x28]
test eax, eax
js 0x48e1b1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x30]
call fcn.004394e0
lea edx, [edi + 0x90]
test edx, edx
je 0x48e1b1
mov eax, dword [ebp - 0x43c]
push edx
push 0x104
lea edx, [ebp - 0x220]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x40]
test eax, eax
js 0x48e1b1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x48]
call fcn.004394e0
lea ecx, [ebp - 0x448]
mov esi, 1
call fcn.00495b50
mov eax, esi
jmp 0x48e1c4
lea ecx, [ebp - 0x448]
xor esi, esi
call fcn.00495b50
mov eax, esi
jmp 0x48e1c4
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.004a474b
mov esp, ebp
pop ebp
ret 8