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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6790
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea edx, [ecx + 0x64]
push str.QQPCRTP.exe
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0
call fcn.0041c030
add esp, 4
push str.LoadRtp:_Begin__Run_QQPCRTP__s
mov dword [ebp - 4], 0
push 0x515408
mov dword [ebx], 0
call fcn.0048be90
add esp, 8
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
or edi, 0xffffffff
test esi, esi
je 0x45d72d
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x1388
mov edx, 0x4f5394
call fcn.00458a10
add esp, 0xc
push dword [ebp - 0x34]
push str.LoadRtp:_QQPCRTP.exe__s__return:__d
push 0x515408
call fcn.0048be90
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x45d715
push str.mmon.dll
xor esi, esi
mov dword [ebx], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45d71a
lea ecx, [ebp - 0x2c]
call fcn.0048cae0
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x45d646
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c9e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00433800
lea ecx, [ebp - 0x38]
call fcn.00487500
push str.mmon.dll
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x30]
call fcn.0041c030
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x30]
mov ecx, edi
mov dword [ebp - 0x40], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45d69e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45d6f5
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 4
push eax
push 0x20019
push 0
push str.SOFTWAREMShield3
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x30], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push 0x4ed450
push 0x515408
call fcn.0048be90
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebx], 0
test eax, eax
je 0x45d6ee
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d71a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45d71a
mov esi, 1
push esi
push str.LoadRtp:_End__Success_u
push 0x515408
call fcn.0048be90
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x45d74c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret 4
Function at 0x45d770
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d67d0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.AcLayers.dll
mov dword [ebp - 0x10], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
mov ecx, 1
lea eax, [ebp - 0x10]
cmovne edi, ecx
mov ecx, esi
push eax
call fcn.0045d560
push dword [esi + 4]
push str.Check_need_start_qqpcmgr__bDownloadSetupInOne_d
push 0x515408
call fcn.0048be90
add esp, 0xc
or ebx, 0xffffffff
cmp dword [esi + 4], 0
jne 0x45d845
cmp dword [ebp + 8], 0
je 0x45d7ef
push edi
mov ecx, esi
call fcn.004627d0
cmp dword [esi + 8], 0
je 0x45d845
push str.QMPersonalCenter.exe
lea edx, [esi + 0x64]
lea ecx, [ebp - 0x14]
call fcn.0041c030
add esp, 4
push 0
mov dword [ebp - 4], 0
mov edx, str.wndtype3_supplyid200
mov ecx, dword [eax]
push 1
push 0
call fcn.00458a10
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x14]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45d845
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x45d8b4
push str.QQPCTray.exe
lea edx, [esi + 0x64]
lea ecx, [ebp + 8]
call fcn.0041c030
add esp, 4
push str.Run_QQPCTray
push 0x515408
mov dword [ebp - 4], 1
call fcn.0048be90
add esp, 8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45d895
mov ecx, dword [ebp + 8]
mov edx, str._regrun
push edi
push edi
push edi
call fcn.00458a10
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45d8b4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
push dword [ebp - 0x10]
mov ecx, esi
call fcn.004628a0
test edi, edi
je 0x45d8ca
mov ecx, esi
call fcn.00462a50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45d8e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d67f8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45d965
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 4
test eax, eax
je 0x45d973
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x4f27c4
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45d965
cmp dword [ebp - 0x18], 4
jne 0x45d965
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45d973
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x45d990
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6828
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x45da02
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45da10
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x45da10
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x45da30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4628
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x10]
jne 0x45dac5
test eax, eax
je 0x45dad0
mov edx, dword [ebp + 0xc]
lea ebx, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x45da90
sub edx, ebx
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
push dword [ebp + 0xc]
push 1
push 0
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
cmove esi, ecx
test eax, eax
je 0x45dad0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45de40
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d68a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
sub ecx, 0x10
call fcn.0041c6e0
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
or ebx, 0xffffffff
cmp dword [esi - 0xc], 3
jle 0x45decc
push 3
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004220d0
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041c740
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45dec9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x10]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45def3
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
jmp 0x45def9
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
shrd ecx, eax, 0x14
shr eax, 0x14
cmp ecx, 0x1f4
jge 0x45df0f
mov edi, 1
jmp 0x45df40
cmp dword [edi + 0x3c], 0
jne 0x45df3e
mov eax, dword [ebp + 8]
push ecx
mov edi, esp
mov dword [ebp - 0x14], edi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.0041c6e0
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [edi], eax
call fcn.00463c90
test eax, eax
jne 0x45df3e
lea edi, [eax + 2]
jmp 0x45df40
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45df5c
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45df90
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d68cb
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, dword [esi + 0x64]
sub ecx, 0x10
mov dword [ebp - 0xf4], esi
call fcn.0041c6e0
add eax, 0x10
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xe4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
mov dword [ebp - 0xe8], eax
test eax, eax
je 0x45e12c
cmp dword [esi + 0x3c], 0
jne 0x45e06d
push dword [esi + 0x64]
push 0x4f55e0
push 0x515408
call fcn.0048be90
add esp, 0xc
mov byte [ebp - 4], 1
xor ebx, ebx
lea eax, [ebp - 0xe0]
mov dword [ebp - 0xec], ebx
push 0xc8
push ebx
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
nop dword [eax + eax]
lea edi, [ebp - 0xe0]
cmp word [edi + ebx*2], 0
lea edi, [edi + ebx*2]
jne 0x45e089
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0xe8]
cmp eax, 1
jne 0x45e184
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
push 0x4f5638
jmp 0x45e197
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x45e176
movzx eax, word [edi]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xe4]
mov ebx, dword [eax - 0xc]
test ebx, ebx
jg 0x45e0b9
push 0x80070057
call fcn.0041ce60
cmp dword [eax - 4], 1
jle 0x45e0d1
push ebx
lea ecx, [ebp - 0xe4]
call fcn.0041cb00
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xf0]
mov word [eax], cx
test ebx, ebx
js 0x45e0af
mov eax, dword [ebp - 0xe4]
cmp ebx, dword [eax - 8]
jg 0x45e0af
mov dword [eax - 0xc], ebx
xor ecx, ecx
mov eax, dword [ebp - 0xe4]
mov word [eax + ebx*2], cx
lea ecx, [ebp - 0xe4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x45e170
movzx eax, word [edi]
push eax
push ecx
lea ecx, [esi + 0x64]
call fcn.00464ff0
push dword [esi + 0x64]
push 0x4f560c
push 0x515408
call fcn.0048be90
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e151
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 1
jmp 0x45e1cb
mov ebx, dword [ebp - 0xec]
add ebx, 4
mov dword [ebp - 0xec], ebx
jmp 0x45e050
cmp eax, 2
jne 0x45e1a4
mov eax, dword [esi]
mov ecx, esi
push 0x13
call dword [eax + 0x1c]
push 0x4f5654
push 0x515408
call fcn.0048be90
add esp, 8
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45e1c9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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 - 0x14]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x45ee30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
mov edi, ecx
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x45ee83
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x64
jmp 0x45ef16
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea esi, [edi + 0x6c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.TencentQQPCMgr_
lea eax, [ebp - 0x210]
push eax
push str._s_s_x_
push esi
call fcn.00422000
mov ecx, dword [esi]
add esp, 0x14
call fcn.00488900
test eax, eax
jne 0x45ef50
push eax
push 0x23
lea eax, [ebp - 0x210]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x45ef50
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push str.TencentQQPCMgrSetupTemp_
lea eax, [ebp - 0x210]
push eax
push 0x4ec424
push esi
call fcn.00422000
mov ecx, dword [esi]
add esp, 0x10
call fcn.00488900
test eax, eax
jne 0x45ef50
mov esi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x65
mov ecx, edi
call dword [esi + 0x20]
push str.Failed_to_InitTempPath
push 0x515408
call fcn.0048be90
add esp, 8
lea ecx, [edi + 0x6c]
call fcn.0041caa0
mov edx, dword [edi]
mov ecx, edi
push 0x16
call dword [edx + 0x1c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret
push dword [esi]
push str.temp_:__ws
push 0x515408
call fcn.0048be90
add esp, 0xc
push dword [esi]
call fcn.00420820
mov ecx, eax
call fcn.00420520
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x460ff0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6d01
mov eax, dword fs:[0]
push eax
sub esp, 0x228
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 edi, ecx
cmp dword [ebp + 8], 0
je 0x46121b
cmp dword [edi + 0x118], 0
jne 0x46106f
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x46106f
push esi
push str.Setup.xml_supply_is__d.
push 0x515408
call fcn.0048be90
add esp, 0xc
mov dword [edi + 0x118], esi
call fcn.0047d4e0
mov ecx, dword [edi + 0x118]
test ecx, ecx
je 0x46106f
mov dword [eax + 0x18], ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x46106f
mov dword [eax + 0x20], ecx
push str.C0F87C1E_7FD0_4b43_99BD_C6386C56F41E
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x4611ef
push 4
push 0
push 0
push 4
push ebx
mov dword [edi + 0x118], 0x2714
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
mov dword [ebp - 0x228], esi
test esi, esi
je 0x4611e8
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call fcn.004a73c0
push 0xffffffffffffffff
push esi
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.004b586c
add esp, 0x1c
lea eax, [ebp - 0x21c]
lea ecx, [ebp - 0x220]
push eax
call fcn.0041c9e0
push 0x4f6030
push 0x4f4fb0
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], 0
call fcn.00420950
push dword [ebp - 0x220]
lea ecx, [ebp - 0x234]
call fcn.004550a0
mov byte [ebp - 4], 1
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x461133
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push eax
push 0x4f6034
lea ecx, [ebp - 0x234]
call fcn.004552d0
mov esi, dword [ebp - 0x224]
test eax, eax
je 0x461191
push esi
call fcn.004afca9
add esp, 4
mov dword [edi + 0x118], eax
call fcn.0047d4e0
mov ecx, dword [edi + 0x118]
test ecx, ecx
je 0x461191
mov dword [eax + 0x18], ecx
mov eax, dword [eax + 0x28]
test eax, eax
je 0x461191
mov dword [eax + 0x20], ecx
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
lea edx, [esi - 0x10]
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4611bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x234]
call fcn.00457f20
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x4611e8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x118]
test eax, eax
je 0x461224
push eax
push str.Write_the_NewSupplyID:__d
push 0x515408
call fcn.0048be90
add esp, 0xc
mov ecx, edi
push dword [edi + 0x118]
call fcn.00463e90
jmp 0x461224
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x118], 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
Function at 0x461340
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6d80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ecx, dword [eax + 0x58]
xor ebx, ebx
sub ecx, 0x10
call fcn.0041c6e0
add eax, 0x10
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.00487540
lea ecx, [ebp - 0x10]
call fcn.004875f0
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x4613ce
lea eax, [ecx - 1]
test eax, eax
js 0x461468
cmp eax, ecx
jg 0x461468
movzx eax, word [esi + eax*2]
cmp eax, 0x5c
je 0x4613ce
cmp eax, 0x2f
je 0x4613ce
push str.0s
lea ecx, [ebp - 0x10]
call fcn.0041c1b0
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x461436
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
push str.0s
add edx, 0x68
call fcn.0041c030
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
call fcn.0041c4b0
mov byte [ebp - 4], 0
mov eax, edi
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x461422
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0041c740
mov esi, dword [ebp - 0x10]
mov ebx, 1
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x461452
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0041ce60
int3
Function at 0x461480
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6db6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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 edi, ecx
mov dword [ebp - 0x228], edi
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x4614ea
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x21c], esi
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x461521
push dword [ebp - 0x220]
mov ecx, edi
call fcn.00461340
test eax, eax
je 0x461521
lea edi, [ebx + 2]
jmp 0x4615d8
push 0
push 0x26
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, eax
test edi, edi
je 0x4615d8
lea eax, [ebp - 0x224]
push eax
call fcn.00461270
push eax
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 1
call fcn.0041c740
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x224]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46157b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x21c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x46159e
jns 0x461594
push 0x80070057
call fcn.0041ce60
mov ax, word [esi]
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
mov eax, dword [ebp - 0x228]
push str.0s
push dword [eax + 0x68]
lea eax, [ebp - 0x218]
push str.TencentQQPCMgr_
push eax
push str._s_s_s_s
push dword [ebp - 0x220]
call fcn.00422000
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4615f4
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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