joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40c4b0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4e2450
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x44]
mov eax, dword [ebp]
sub eax, 0x10
call fcn.004012d0
lea esi, [eax + 0x10]
mov dword [esp + 0x44], esi
mov dword [esp + 0x3c], 0
mov eax, dword [esi - 0xc]
cmp eax, 3
jle 0x40c545
mov eax, 3
lea ecx, [esp + 0x10]
lea edx, [esp + 0x44]
call fcn.004098a0
lea edi, [esp + 0x44]
mov byte [esp + 0x3c], 1
call fcn.004013f0
mov byte [esp + 0x3c], 0
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c541
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x40c563
xor ecx, ecx
jmp 0x40c57d
mov ecx, dword [esp + 0x18]
test ecx, ecx
mov eax, dword [esp + 0x14]
jg 0x40c57d
jl 0x40c575
test eax, eax
jae 0x40c57d
or eax, 0xffffffff
mov ecx, SysReAllocString
push 0
push 0x100000
push ecx
push eax
call fcn.004c6110
cmp eax, 0xf5
jge 0x40c5d0
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c5b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 4
cmp dword [0x5156c8], 0
jne 0x40c63c
mov eax, dword [ebp]
push ecx
sub eax, 0x10
mov dword [esp + 0x14], esp
mov edi, esp
call fcn.004012d0
add eax, 0x10
mov ecx, 0x515668
mov dword [edi], eax
call fcn.00413460
test eax, eax
jne 0x40c63c
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c622
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 4
lea eax, [esi - 0x10]
mov dword [esp + 0x3c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40c660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x30
ret 4
Function at 0x40c9e0
Capabilities:
Create thread

Disassembly:
push edi
push str.StartInstall
mov ecx, 0x515890
call fcn.004899e0
mov eax, dword [0x5156f8]
xor edi, edi
add esp, 4
mov dword [0x5156c4], esi
cmp dword [eax - 0xc], edi
je 0x40ca65
test esi, esi
je 0x40ca12
call fcn.0040c680
test eax, eax
je 0x40ca65
call fcn.00469030
mov edx, dword [0x5156f8]
mov ecx, eax
call fcn.004686e0
cmp dword [0x5156c4], edi
je 0x40ca3d
mov ecx, 0x515668
call fcn.0040eb50
mov eax, 1
pop edi
ret
push 0
push 0
push 0x515668
push 0x40e0f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [0x5156d4], eax
je 0x40ca65
mov eax, 1
pop edi
ret
mov eax, edi
pop edi
ret
Function at 0x40d9b0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x4e230b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x228], eax
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor edi, edi
push edi
push 0x23
lea eax, [esp + 0x34]
push eax
push edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x2c]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], edi
mov word [esp + 0x14], di
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40da16
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ecx
lea esi, [esp + 0x18]
call fcn.004024d0
mov dword [esp + 0x240], edi
mov eax, dword [esp + 0x24]
cmp eax, edi
jne 0x40da5c
push ebx
mov ecx, 0x4ef7d8
call fcn.004099e0
cmp dword [esp + 0x28], 8
jb 0x40dad2
mov edx, dword [esp + 0x14]
push edx
jmp 0x40daca
lea esi, [eax - 1]
cmp eax, esi
ja 0x40da68
call fcn.004b7515
mov eax, dword [esp + 0x14]
mov edi, 8
cmp dword [esp + 0x28], edi
jae 0x40da7b
lea eax, [esp + 0x14]
movzx eax, word [eax + esi*2]
cmp ax, 0x5c
je 0x40da9b
cmp ax, 0x2f
je 0x40da9b
push 1
push 0x4f09a4
lea ecx, [esp + 0x18]
call fcn.00403530
push 0x19
push 0x4f09d8
lea ecx, [esp + 0x18]
call fcn.00403530
cmp dword [esp + 0x28], edi
mov ecx, dword [esp + 0x14]
jae 0x40dab9
lea ecx, [esp + 0x14]
push ebx
call fcn.004099e0
cmp dword [esp + 0x28], edi
jb 0x40dad2
mov eax, dword [esp + 0x14]
push eax
call fcn.004b84d9
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.004b84de
add esp, 0x238
ret
Function at 0x40db00
Capabilities:
Access peb ldr_data
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e42b6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x218], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
xor esi, esi
push 0x206
lea eax, [esp + 0x2a]
push esi
push eax
mov dword [esp + 0x24], esi
mov word [esp + 0x30], si
call fcn.004be320
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5143ac
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x24]
push ecx
push 0x104
mov dword [esp + 0x240], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, esi
je 0x40dc9b
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40dba1
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x24]
mov ebx, eax
push ecx
mov eax, 0x5156fc
call fcn.00401450
push 0x10
push str.TencentQQPCMgr_
push 0x5156fc
call fcn.00405fb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str._x_
lea edi, [esp + 0x24]
call fcn.00406040
mov ebp, dword [esp + 0x24]
mov eax, dword [ebp - 0xc]
add esp, 8
push eax
push ebp
push 0x5156fc
call fcn.00405fb0
mov edx, dword [0x5156fc]
push edx
call fcn.00421e10
add esp, 4
test eax, eax
jne 0x40dc66
lea ebx, [esp + 0x20]
call fcn.0040d9b0
mov edi, 0x5156fc
mov byte [esp + 0x238], 1
call fcn.004013f0
mov byte [esp + 0x238], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40dc53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [0x5156fc]
push ecx
call fcn.00421e10
add esp, 4
test eax, eax
je 0x40dc9b
mov edx, dword [0x5156fc]
push edx
push str.temp_:__ws
mov ecx, 0x515890
call fcn.004899e0
add esp, 8
call fcn.00469030
mov edx, dword [0x5156fc]
mov ecx, eax
call fcn.00468c90
mov dword [esp + 0x18], 1
jmp 0x40dca5
mov esi, 0x5156fc
call fcn.004014f0
add ebp, 0xfffffff0
mov dword [esp + 0x238], 0xffffffff
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x40dccd
mov ecx, dword [ebp]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebp
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004b84de
add esp, 0x228
ret
Function at 0x40e100
Capabilities:
Check if file exists

Disassembly:
mov ecx, dword [esi]
mov eax, dword [ecx - 0xc]
test eax, eax
push edi
je 0x40e139
lea edx, [eax - 1]
test edx, edx
jl 0x40e1bf
cmp edx, eax
jg 0x40e1bf
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x40e139
cmp ax, 0x2f
je 0x40e139
mov edx, 0x4f09a4
mov edi, esi
call fcn.00413750
push 5
push str.avira
push esi
call fcn.00405fb0
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
test eax, eax
je 0x40e176
lea edx, [eax - 1]
test edx, edx
jl 0x40e1bf
cmp edx, eax
jg 0x40e1bf
movzx eax, word [ecx + edx*2]
cmp ax, 0x5c
je 0x40e176
cmp ax, 0x2f
je 0x40e176
mov edx, 0x4f09a4
mov edi, ebx
call fcn.00413750
push 5
push str.avira
push ebx
call fcn.00405fb0
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40e1b8
mov eax, dword [ebx]
mov ecx, dword [esi]
push eax
push ecx
push str.MoveOrCopyAvira_from__ws__to__ws
mov ecx, 0x515890
call fcn.004899e0
mov edx, dword [ebx]
mov eax, dword [esi]
add esp, 0xc
push 0
push edx
push eax
call fcn.004216e0
add esp, 0xc
mov eax, 1
pop edi
ret
push 0x80070057
call fcn.00401340
int3
Function at 0x40f3f0
Capabilities:
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x4e4f70
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
jne 0x40f5b1
cmp dword [esi + 0x40], ebx
jne 0x40f42f
push esi
call fcn.0040f620
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x134]
mov dword [esi + 0xec], eax
cmp dword [0x515628], ebx
je 0x40f44e
call fcn.00407cc0
mov eax, dword [0x5157dc]
cmp eax, ebx
je 0x40f48a
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x4a
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], 0x2711
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0xf4]
cmp eax, ebx
je 0x40f4a8
mov ecx, dword [esi + 0x98]
push ecx
push 0x4f1060
push ebx
push 0x64
call eax
add esp, 0x10
mov edx, dword [esi + 0xec]
push edx
push str.install_success__install_cost_time:_dms
mov ecx, 0x515890
call fcn.004899e0
add esp, 8
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARETencentQQPCMgr
mov dword [esp + 0x50], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, ebx
jne 0x40f521
lea ecx, [esp + 0x10]
push ecx
push str.ConvertConfig2Hive
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ebx
call fcn.004096b0
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov edx, dword [esp + 0x10]
mov dword [0x5154e4], edx
je 0x40f521
push str.ConvertConfig2Hive
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp dword [esi + 0x48], ebx
je 0x40f59b
mov eax, dword [esi + 0x90]
sub eax, 0x10
call fcn.004012d0
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x30], 1
call fcn.00421490
lea ecx, [esp + 0x10]
call fcn.00421540
lea eax, [esp + 0x10]
call fcn.00421450
push 0x18
push str.PluginsPluginsSetupBak_
lea eax, [esp + 0x18]
push eax
call fcn.00405fb0
mov esi, dword [esp + 0x10]
push ebx
mov edx, esi
call fcn.0048c160
lea eax, [esi - 0x10]
add esp, 4
mov byte [esp + 0x30], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f59b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.004075d0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x40f602
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40f602
push 0x4f10f0
mov ecx, 0x515890
call fcn.004899e0
mov eax, dword [0x5157dc]
mov esi, dword [esi + 8]
add esp, 4
cmp eax, ebx
je 0x40f602
lea edx, [esp + 0x1c]
push edx
push ebx
push 0x4a
lea ecx, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0x64
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], 0x2711
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], 8
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x28
ret
Function at 0x410150
Capabilities:
Get common file path
Get program files directory

Disassembly:
push 0xffffffffffffffff
push 0x4de5c8
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebx
push esi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x21c]
mov dword fs:[0], eax
mov dword [esp + 0x224], 0
mov esi, dword [esp + 0x22c]
cmp dword [esi - 0xc], 0
jne 0x4101c1
lea eax, [esi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x410278
push 0x206
lea ecx, [esp + 0x16]
push 0
push ecx
mov word [esp + 0x1c], 0
call fcn.004be320
add esp, 0xc
push 0
push 0x26
lea edx, [esp + 0x18]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4101a1
lea eax, [esp + 0x10]
lea edx, [eax + 2]
jmp 0x410200
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x410200
sub eax, edx
sar eax, 1
test eax, eax
jle 0x41025d
cmp dword [esi - 0xc], eax
jl 0x41025d
lea ecx, [esp + 0xc]
lea edx, [esp + 0x22c]
call fcn.004098a0
mov eax, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call fcn.004b9e54
add esp, 8
test eax, eax
lea ecx, [esp + 0xc]
sete bl
call fcn.00416ce0
test bl, bl
je 0x41025d
lea ecx, [esp + 0x22c]
call fcn.00416ce0
mov eax, 1
jmp 0x410286
lea eax, [esi - 0x10]
mov dword [esp + 0x224], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x410284
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x21c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004b84de
add esp, 0x21c
ret 4
Function at 0x4118f0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4e195b
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov eax, dword [esp + 0x238]
push eax
mov ebx, ecx
push str.UpdateSelfProtect__Enter__bEnable_d
mov ecx, 0x515890
call fcn.004899e0
xor esi, esi
push 0x208
lea ecx, [esp + 0x22]
push esi
push ecx
mov word [esp + 0x28], si
call fcn.004be320
add esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xff
cmp eax, 5
push str.TSKSP
jb 0x411983
push str..Global_s
push 0x104
lea edx, [esp + 0x20]
push edx
jmp 0x411992
push str.._s
push 0x104
lea eax, [esp + 0x20]
push eax
call fcn.004b946c
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4119ec
push 0
lea edx, [esp + 0x14]
push edx
push 0
push 0
push 4
lea eax, [esp + 0x24c]
push eax
push 0x22e05c
push edi
mov dword [esp + 0x30], esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
push esi
push ecx
push str.UpdateSelfProtect__Leave__bEnable_d__bResult_d
mov ecx, 0x515890
call fcn.004899e0
add esp, 0xc
cmp dword [esp + 0x238], 0
je 0x411a83
cmp dword [esp + 0x23c], 0
je 0x411a83
mov edx, dword [ebx + 0x64]
cmp dword [edx - 0xc], 0
lea eax, [ebx + 0x64]
je 0x411a83
push eax
lea eax, [esp + 0x14]
push eax
mov ebx, str.QQPCRTP.exe
call fcn.00413810
push 0
mov dword [esp + 0x23c], 0
mov eax, dword [eax]
push 0
push eax
xor ecx, ecx
mov edx, 0x4f072c
call fcn.00422020
mov dword [esp + 0x244], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411a83
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004b84de
add esp, 0x224
ret 8
Function at 0x411ab0
Capabilities:
Check if file exists
Delete registry value
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4e06e8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp + 0x70]
xor ebx, ebx
cmp eax, ebx
je 0x411c8b
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x411b02
xor eax, eax
jmp 0x411c90
mov eax, dword [ebp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp + 0x70], ebx
lea ecx, [esp + 0x14]
push ecx
push str.SOFTWARETencentQQPCMgr
mov dword [esp + 0x2c], ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp eax, ebx
jne 0x411c7c
mov edx, dword [0x5143ac]
mov eax, dword [edx + 0xc]
mov ecx, 0x5143ac
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push str.IsShow
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x20]
mov byte [esp + 0x2c], 1
call fcn.00409710
test eax, eax
je 0x411c58
add ebp, 0x90
lea edx, [esp + 0x2c]
push ebp
push edx
mov ebx, str.QQPCmgrInstallGuide.exe
call fcn.00413810
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00416ce0
test esi, esi
je 0x411c42
push 0x4f1600
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
lea esi, [esp + 0x2c]
call fcn.00416d00
mov bl, 2
mov byte [esp + 0x24], bl
mov esi, dword [esp + 0x30]
push esi
push str.__h_d
lea edi, [esp + 0x34]
call fcn.00406040
lea eax, [esp + 0x38]
push str._sp__show
push eax
mov ecx, edi
call fcn.00416bc0
add esp, 0x10
mov byte [esp + 0x24], 3
call fcn.004013f0
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], bl
call fcn.00416ce0
lea ecx, [esp + 0x30]
push ebp
push ecx
mov ebx, str.QQPCmgrInstallGuide.exe
call fcn.00413810
mov byte [esp + 0x2c], 4
mov eax, dword [eax]
mov edx, dword [esp + 0x34]
push 0
push 0xffffffffffffffff
push eax
xor ecx, ecx
call fcn.00422020
add esp, 0x14
lea ecx, [esp + 0x30]
call fcn.00416ce0
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00416ce0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x411c56
push str.IsShow
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
xor ebx, ebx
mov byte [esp + 0x24], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411c7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x411c8b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x411cb0
Capabilities:
Get disk size

Disassembly:
mov eax, dword [eax]
sub esp, 0x1c
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x411cd5
xor edx, edx
add esp, 0x1c
ret
mov ecx, dword [esp + 4]
test ecx, ecx
mov eax, dword [esp]
mov edx, ecx
jg 0x411cf0
jl 0x411ce8
test eax, eax
jae 0x411cf0
or eax, 0xffffffff
mov edx, SysReAllocString
add esp, 0x1c
ret

Function at 0x412000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e4eed
mov eax, dword fs:[0]
push eax
mov eax, 0x1280
call fcn.004d5b10
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x1278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x1294]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x12a4]
xor edi, edi
mov dword [esp + 0x129c], edi
mov dword [esp + 0x1c], edi
mov eax, dword [0x5143ac]
mov edx, dword [eax + 0xc]
mov ecx, 0x5143ac
mov dword [esp + 0x20], ebp
call edx
add eax, 0x10
mov dword [ebp], eax
push 0x20a
lea eax, [esp + 0x38]
push edi
mov esi, 1
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x24c], edi
mov dword [esp + 0x30], str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
mov dword [esp + 0x34], 0x26
call fcn.004be320
add esp, 0xc
mov dword [esp + 0x129c], esi
cmp dword [esp + 0x240], edi
jne 0x4120c0
lea esi, [esp + 0x24]
call fcn.0046b6b0
push 0x1046
lea ecx, [esp + 0x24a]
push edi
push ecx
mov dword [esp + 0x24], edi
mov word [esp + 0x250], di
call fcn.004be320
add esp, 0xc
cmp dword [esp + 0x240], edi
je 0x412130
lea edx, [esp + 0x18]
push edx
push 0x1048
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x250]
mov edx, str.IEHomepage
call fcn.0046b590
cmp eax, edi
jl 0x412130
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x248]
push ecx
mov edx, ecx
mov ecx, dword [esp + 0x30]
push eax
push edx
mov edx, dword [esp + 0x34]
call fcn.0046ba60
add esp, 0x10
lea eax, [esp + 0x244]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x412140
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x244]
mov ebx, eax
push ecx
mov eax, ebp
call fcn.00401450
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x41216f
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebp
mov ecx, dword [esp + 0x1294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1278]
xor ecx, esp
call fcn.004b84de
add esp, 0x128c
ret 4
Function at 0x412460
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4e2140
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x50f130]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
push edi
mov eax, dword [0x50f130]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov eax, dword [ebx + 0x40]
xor edi, edi
cmp eax, edi
jne 0x4125b9
mov ecx, dword [ebx + 0x90]
mov eax, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], edi
mov word [esp + 0x2c], di
lea esi, [eax + 2]
lea esp, [esp]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x4124c0
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x30]
call fcn.004024d0
mov dword [esp + 0x50], edi
mov ecx, dword [ebx + 0x90]
mov eax, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
lea esi, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, di
jne 0x412500
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x14]
call fcn.004024d0
mov ecx, str.package.dat
lea edx, [esp + 0x28]
mov byte [esp + 0x50], 1
call fcn.0048b3c0
mov ecx, str.pkgdll.dat
mov edx, esi
call fcn.0048b3c0
mov eax, dword [esp + 0x2c]
mov esi, 8
cmp dword [esp + 0x40], esi
jae 0x41254c
lea eax, [esp + 0x2c]
lea ecx, [ebx + 0x9c]
call fcn.00418490
test eax, eax
jne 0x41256d
push 0x4f18bc
mov ecx, 0x515890
call fcn.004899e0
add esp, 4
cmp dword [esp + 0x24], esi
mov eax, dword [esp + 0x10]
jae 0x41257b
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [esp + 0x24], esi
jb 0x412595
mov eax, dword [esp + 0x10]
push eax
call fcn.004b84d9
add esp, 4
cmp dword [esp + 0x40], esi
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
jb 0x4125b9
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.004b84d9
add esp, 4
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.004b84de
add esp, 0x48
ret