joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48c730
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db218
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 0x48c92e
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x48c783
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x48c7aa
push 0x80004005
call fcn.0041cdf0
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.00439160
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0048e100
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x48c7f4
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00438720
add esp, 4
mov edx, eax
mov byte [ebp - 4], 4
cmp dword [edx + 0x14], 8
jb 0x48c813
mov edx, dword [edx]
test edx, edx
jne 0x48c81b
xor ecx, ecx
jmp 0x48c82f
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48c820
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0041ccd0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x48c84e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
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 0x48c877
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433600
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 0x48c8a4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
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.00421db0
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 0x48c8ea
mov ecx, str.regsvr32
call fcn.00490130
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 0x48c912
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 0x48c92e
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48cd80
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.004a8960
push 0x208
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.004a8960
add esp, 0x18
mov dword [ebp - 0x41c], 0x208
test edi, edi
je 0x48cfa8
push esi
push 0x208
push ebx
push edi
call fcn.004a8960
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.00476a30
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 0x48ced1
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48ced1
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 0x48cec0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x48ce87
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 0x48cec0
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 0x48ceb0
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48cedb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x418], 0
inc esi
cmp esi, 5
jle 0x48cdf0
pop esi
test ebx, ebx
jne 0x48cf96
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 0x48cf85
mov eax, dword [ebp - 0x418]
test eax, eax
je 0x48cf43
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 0x48cf85
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 0x48cf85
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 0x48cf75
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je 0x48cf96
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.004a5d13
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48d2e0
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 [0x5154bc], 0
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
je 0x48d31a
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 4
call fcn.0048dbd0
cmp word [esi], 0
jne 0x48d329
xor eax, eax
jmp 0x48d33f
mov eax, esi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x48d330
sub eax, edx
sar eax, 1
push eax
push esi
mov ecx, 0x515498
call fcn.00439160
push 0xc8
xorps xmm0, xmm0
mov dword [0x5154bc], 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.004a8960
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.0046b7b0
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 [0x51548c]
mov ebx, eax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test ecx, ecx
je 0x48d422
push ecx
call esi
push 0
push 0
push 0
push 0
mov dword [0x51548c], ebx
call edi
mov edi, eax
mov eax, dword [0x515490]
test eax, eax
je 0x48d440
push eax
call esi
cmp dword [0x51548c], 0
mov dword [0x515490], edi
je 0x48d49b
test edi, edi
je 0x48d49b
push 0
push 0
push 0x515488
push 0x48d930
push 0
push 0
call fcn.004afd9b
mov edi, eax
add esp, 0x18
mov eax, dword [0x515494]
test eax, eax
je 0x48d47b
push eax
call esi
xor eax, eax
mov dword [0x515494], edi
test edi, edi
setne al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004a5d13
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.004a5d13
mov esp, ebp
pop ebp
ret 4
Function at 0x48dbd0
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3eb8
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 [0x5154ac], 8
mov ebx, 0x515498
push 0
push 0x80
push 3
push 0
push 3
mov eax, ebx
cmovae eax, dword [0x515498]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48dcd5
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 0x48dcd5
cmp dword [0x5154ac], 8
lea ecx, [ebp - 0x10]
mov eax, ebx
cmovae eax, dword [0x515498]
push eax
call fcn.0041c970
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0048dd90
cmp dword [0x5154ac], 8
mov edi, dword [ebp - 0x10]
cmovae ebx, dword [0x515498]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push edi
call esi
mov edx, 1
mov ecx, edi
call fcn.0048a5b0
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 0x48dcd5
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 0x48e100
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db47b
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.004a8960
mov eax, dword fs:[0x2c]
add esp, 0xc
mov ecx, dword [eax]
mov eax, dword [0x515dac]
cmp eax, dword [ecx + 4]
jle 0x48e1b2
push 0x515dac
call fcn.004a60c9
add esp, 4
cmp dword [0x515dac], 0xffffffff
jne 0x48e1b2
xor eax, eax
mov dword [0x515dc4], 7
push 0x4dcc30
mov dword [0x515dc0], 0
mov word [0x515db0], ax
call fcn.004a643d
push 0x515dac
call fcn.004a608a
add esp, 8
cmp dword [0x515dc0], 0
jne 0x48e267
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 0x48e1fb
xor ecx, ecx
jmp 0x48e213
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e204
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00439160
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x515db0
call fcn.00438df0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
cmp eax, 8
jb 0x48e267
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00433600
xor eax, eax
mov dword [esi + 0x14], 7
push 0xffffffffffffffff
push eax
mov dword [esi + 0x10], 0
mov ecx, esi
push 0x515db0
mov word [esi], ax
call fcn.00438df0
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48e2b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db4d2
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 0x48e31a
mov eax, dword [esi]
jmp 0x48e31c
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.004a8960
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 0x48e364
xor ecx, ecx
jmp 0x48e37f
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e370
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48e3cf
cmp dword [esi + 0x14], 8
jb 0x48e3a0
mov eax, dword [esi]
jmp 0x48e3a2
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4ec68c]
je 0x48e3cf
add ecx, 2
cmp ecx, 4
jb 0x48e3b0
push 1
push str.0s
mov ecx, esi
call fcn.004402a0
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48e3f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db4d2
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 0x48e45a
mov eax, dword [esi]
jmp 0x48e45c
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.004a8960
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 0x48e4a4
xor ecx, ecx
jmp 0x48e4bf
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e4b0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48e50f
cmp dword [esi + 0x14], 8
jb 0x48e4e0
mov eax, dword [esi]
jmp 0x48e4e2
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4ec68c]
je 0x48e50f
add ecx, 2
cmp ecx, 4
jb 0x48e4f0
push 1
push str.0s
mov ecx, esi
call fcn.004402a0
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48e530
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db4d2
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 0x48e59a
mov eax, dword [esi]
jmp 0x48e59c
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.004a8960
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 0x48e5e4
xor ecx, ecx
jmp 0x48e5ff
lea ecx, [ebp - 0x21c]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48e5f0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x21c]
mov ecx, esi
push eax
call fcn.00439160
mov ecx, dword [esi + 0x10]
cmp ecx, 1
jb 0x48e64f
cmp dword [esi + 0x14], 8
jb 0x48e620
mov eax, dword [esi]
jmp 0x48e622
mov eax, esi
movzx eax, word [eax + ecx*2 - 2]
xor ecx, ecx
nop dword [eax]
cmp ax, word [ecx + 0x4ec68c]
je 0x48e64f
add ecx, 2
cmp ecx, 4
jb 0x48e630
push 1
push str.0s
mov ecx, esi
call fcn.004402a0
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48f3f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db6ab
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 0x48f5b5
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push esi
call edi
test eax, eax
je 0x48f5b5
push str.CreateSoftMgrInstallDirShortCut
push 0x515488
call fcn.0048d710
add esp, 8
lea ecx, [ebp - 0x40]
push esi
call fcn.00438660
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
call fcn.0048eb60
push 0x4ee740
lea ecx, [ebp - 0x40]
call fcn.0048eea0
push esi
lea ecx, [ebp - 0x28]
call fcn.00438660
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0048eb60
push str.QQPCSoftMgr.exe
lea ecx, [ebp - 0x28]
call fcn.0048eea0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call edi
test eax, eax
jne 0x48f4ab
xor ebx, ebx
jmp 0x48f573
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call edi
test eax, eax
je 0x48f4c7
mov ebx, 1
jmp 0x48f573
lea ecx, [ebp - 0x268]
call fcn.00497010
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.00497120
test eax, eax
js 0x48f566
push esi
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 2
push 0x104
push eax
call fcn.004af9ef
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.00497400
test eax, eax
js 0x48f566
push 0x4fb498
lea ecx, [ebp - 0x268]
call fcn.00497260
test eax, eax
js 0x48f566
push str._parentstartmenu__pageuninst
lea ecx, [ebp - 0x268]
call fcn.00497190
test eax, eax
js 0x48f566
lea ecx, [ebp - 0x268]
call fcn.004975a0
xor ebx, ebx
test eax, eax
setns bl
jmp 0x48f568
xor ebx, ebx
lea ecx, [ebp - 0x268]
call fcn.00497090
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48f588
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
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 0x48f5b1
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00433600
mov eax, ebx
jmp 0x48f5b7
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.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x48f640
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db6eb
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.004a8960
add esp, 0xc
test ebx, ebx
je 0x48f7e2
test edi, edi
je 0x48f7e2
lea ecx, [ebp - 0x448]
call fcn.00497010
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f7d1
lea ecx, [ebp - 0x448]
call fcn.00497120
test eax, eax
js 0x48f7d1
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.004af9ef
add esp, 0xc
test esi, esi
js 0x48f7d1
push 0x250
lea eax, [ebp - 0x698]
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov ecx, edi
push ebx
call fcn.00439260
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 0x48f7d1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x18]
call fcn.00439260
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 0x48f7d1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x30]
call fcn.00439260
lea edx, [edi + 0x90]
test edx, edx
je 0x48f7d1
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 0x48f7d1
lea eax, [ebp - 0x220]
push eax
lea ecx, [edi + 0x48]
call fcn.00439260
lea ecx, [ebp - 0x448]
mov esi, 1
call fcn.00497090
mov eax, esi
jmp 0x48f7e4
lea ecx, [ebp - 0x448]
xor esi, esi
call fcn.00497090
mov eax, esi
jmp 0x48f7e4
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.004a5d13
mov esp, ebp
pop ebp
ret 8
Function at 0x48f810
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db72b
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 edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
cmp dword [esi + 0x10], 0
je 0x48f9b4
cmp dword [esi + 0x28], 0
je 0x48f9b4
lea ecx, [ebp - 0x238]
call fcn.00497010
mov dword [ebp - 4], 0
cmp dword [esi + 0x14], 8
jb 0x48f870
mov edi, dword [esi]
jmp 0x48f872
mov edi, esi
lea ecx, [ebp - 0x238]
call fcn.00497120
test eax, eax
js 0x48f949
push edi
lea eax, [ebp - 0x220]
mov dword [ebp - 0x224], 2
push 0x104
push eax
call fcn.004af9ef
add esp, 0xc
cmp dword [esi + 0x28], 0
jbe 0x48f8c9
cmp dword [esi + 0x2c], 8
lea eax, [esi + 0x18]
jb 0x48f8b5
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00497400
test eax, eax
js 0x48f949
cmp dword [esi + 0x40], 0
jbe 0x48f8ea
cmp dword [esi + 0x44], 8
lea eax, [esi + 0x30]
jb 0x48f8da
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.00497190
test eax, eax
js 0x48f949
cmp dword [esi + 0x70], 0
jbe 0x48f90b
cmp dword [esi + 0x74], 8
lea eax, [esi + 0x60]
jb 0x48f8fb
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x238]
call fcn.004974d0
test eax, eax
js 0x48f949
cmp dword [esi + 0x58], 0
jbe 0x48f95a
cmp dword [esi + 0x5c], 8
lea edi, [esi + 0x48]
jb 0x48f91e
mov eax, dword [edi]
jmp 0x48f920
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48f95a
cmp dword [edi + 0x14], 8
jb 0x48f933
mov edi, dword [edi]
push dword [esi + 0x90]
lea ecx, [ebp - 0x238]
push edi
call fcn.00497330
test eax, eax
jns 0x48f96d
lea ecx, [ebp - 0x238]
xor esi, esi
call fcn.00497090
mov eax, esi
jmp 0x48f9b6
push 0
push 0
lea ecx, [ebp - 0x238]
call fcn.00497330
test eax, eax
js 0x48f949
cmp dword [esi + 0x88], 0
jbe 0x48f991
add esi, 0x78
cmp dword [esi + 0x14], 8
jb 0x48f981
mov esi, dword [esi]
push esi
lea ecx, [ebp - 0x238]
call fcn.00497260
test eax, eax
js 0x48f949
lea ecx, [ebp - 0x238]
call fcn.004975a0
test eax, eax
js 0x48f949
lea ecx, [ebp - 0x238]
mov esi, 1
call fcn.00497090
mov eax, esi
jmp 0x48f9b6
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.004a5d13
mov esp, ebp
pop ebp
ret 4