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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5c78
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 ebx, ecx
push str.QQPCRTP__t_begin
push 0x515488
call fcn.0048d4b0
push str.QQPCRTP.exe
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.0041c010
add esp, 0xc
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45a9a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x45aa14
push str.QQPCRTP.exe
mov edx, ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
call fcn.0041c010
add esp, 4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
mov edx, 0x4f574c
push 0
push 0xbb8
call fcn.0045ac80
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x45a9ff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x10]
push str.QQPCRtp__t_return:__u
push 0x515488
call fcn.0048d4b0
add esp, 0xc
push str.QQPCRTP__t_end
push 0x515488
call fcn.0048d4b0
push str.QQPCRTP_Stop_begin
push 0x515488
call fcn.0048d4b0
call fcn.0046bd20
push str.QQPCRTP_Stop_end
push 0x515488
mov esi, eax
call fcn.0048d4b0
mov ecx, str.QQPCRTP.exe
call fcn.004903b0
push str.QQPCRTP_CloseProcessByFile_ok
push 0x515488
call fcn.0048d4b0
add esp, 0x20
mov eax, esi
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 0x45ab70
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7c38
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
push 0x40
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x181
movups xmmword [ebp - 0x24], xmm0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x45abd5
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x14]
add esp, 0x10
xor eax, eax
mov word [ebp - 0x3c], ax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x6c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45ac44
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_failed__the_error_code_is__d
push 0x515488
call fcn.0048d4b0
add esp, 0xc
mov edi, dword [ebp - 0x24]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45ac66
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
mov esp, ebp
pop ebp
ret
Function at 0x45ac80
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7c68
mov eax, dword fs:[0]
push eax
sub esp, 0x68
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, edx
mov esi, ecx
mov dword [ebp - 0x18], esi
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x70]
push ebx
push eax
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x74], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x181
movups xmmword [ebp - 0x28], xmm0
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x45acea
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push str.__s___s
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x14]
xor eax, eax
add esp, 0x10
mov ecx, 0xa
cmp dword [ebp + 0xc], eax
cmovne ax, cx
push esi
mov word [ebp - 0x44], ax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45ad71
push edi
push dword [ebp - 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_ws
push 0x515488
call fcn.0048d4b0
add esp, 0x1c
jmp 0x45ad98
mov eax, dword [ebp + 8]
test eax, eax
je 0x45ad93
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x45ad93
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ebx, 1
mov eax, dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x45adaf
push eax
call edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x45adc0
push eax
call edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45addf
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
Function at 0x45b240
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x22c
xor edi, edi
mov dword [ebp - 0x234], ecx
lea eax, [ebp - 0x230]
push edi
push eax
call fcn.004a8960
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x45b2fd
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x45b2f6
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
nop word [eax + eax]
mov ecx, dword [ebp - 0x228]
cmp ecx, ebx
je 0x45b2dc
test ecx, ecx
je 0x45b2dc
cmp ecx, 4
je 0x45b2dc
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004abafd
add esp, 8
test eax, eax
je 0x45b2f0
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x45b2b0
jmp 0x45b2f5
mov edi, 1
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret

Function at 0x45b310
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x508f08
push 0x4aac40
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x511070]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x2c], esi
xorps xmm0, xmm0
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
lea eax, [ebp - 0x30]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x45b3c5
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x45b3c5
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 2
push esi
push esi
push esi
lea eax, [ebp - 0x2c]
push eax
push esi
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov ecx, 1
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 0xfffffffe
call fcn.0045b3f2
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x45b820
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
mov esi, edx
mov dword [ebp - 4], 0
push esi
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45b863
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x45b86c
push 0
lea ecx, [ebp - 4]
push ecx
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x45b848
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45ccb0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7f0d
mov eax, dword fs:[0]
push eax
sub esp, 0x430
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 edi, dword [ebp + 8]
mov ecx, edi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
push 0x4ed230
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], 0
call fcn.0041c970
push esi
push 0
mov dword [ebp - 4], 0
push 0x410
mov dword [ebp - 0x438], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x45cdd7
call fcn.0048a560
push 0x105
test eax, eax
je 0x45cd99
lea eax, [ebp - 0x430]
push eax
push esi
call dword [sym.imp.PSAPI.DLL_GetProcessImageFileNameW]
push ecx
lea eax, [ebp - 0x430]
mov ecx, esp
push eax
call fcn.0041c970
lea eax, [ebp - 0x434]
push eax
call fcn.0045c910
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0041c6d0
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov edx, dword [ebp - 0x434]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45cdd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45cdd0
lea eax, [ebp - 0x220]
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45cdb2
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0041ccd0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
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 8

Function at 0x45d930
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 4
push 0x4ff
push 0x64
push 0
push 0
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp dword [ebx + 0xc], 0
jne 0x45d9ed
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax]
cmp dword [ebx + 0x10], 0
jne 0x45d9ed
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x2710
jae 0x45d9fb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x45d9fb
push 1
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
movq qword [ebp - 0xc], xmm0
push eax
movups xmmword [ebp - 0x1c], xmm0
call esi
test eax, eax
je 0x45d9d4
lea eax, [ebp - 0x20]
push eax
call edi
cmp dword [ebp - 0x1c], 0x12
je 0x45d9fb
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x45d9b6
push 4
push 0x4ff
push 0x64
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp dword [ebx + 0xc], 0
je 0x45d970
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x45da10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
test ebx, ebx
jne 0x45db55
push 0x4ef0d0
push dword [edi + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
call fcn.004b1655
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
je 0x45db4f
push esi
push 2
push ebx
push eax
call fcn.004b1988
push dword [ebp - 0x18]
call fcn.004b1f81
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x24], esi
cmp esi, 0x2800
jge 0x45db3d
cmp esi, 0xffffffff
je 0x45db3d
push esi
call fcn.004a5d8d
add esi, 0x40
mov dword [ebp - 0x20], eax
push esi
mov dword [ebp - 0x28], esi
call fcn.004a5d8d
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push ebx
push dword [ebp - 0x20]
call fcn.004a8960
push esi
push ebx
push dword [ebp - 0x1c]
call fcn.004a8960
push ebx
push ebx
push dword [ebp - 0x18]
call fcn.004b1988
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
push esi
push 1
push dword [ebp - 0x20]
call fcn.004b2158
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], 0x910f032
push eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], 0xb5dc7989
mov edx, esi
mov dword [ebp - 0xc], 0x715d2fc0
mov esi, dword [ebp - 0x20]
mov ecx, esi
push eax
mov dword [ebp - 8], 0x884a6cee
call fcn.00433230
add esp, 0x48
test al, al
je 0x45db1a
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0045db80
test eax, eax
jne 0x45db1e
or dword [edi + 0x1c], 0x10
jmp 0x45db1e
or dword [edi + 0x1c], 8
push dword [ebp - 0x1c]
call fcn.004a5d88
push esi
call fcn.004a5d88
add esp, 8
push dword [ebp - 0x18]
call fcn.004b5ee2
add esp, 4
pop esi
jmp 0x45db59
push dword [ebp - 0x18]
or dword [edi + 0x1c], 4
call fcn.004b5ee2
add esp, 4
pop esi
jmp 0x45db59
or dword [edi + 0x1c], 2
jmp 0x45db59
or dword [edi + 0x1c], 1
mov ecx, dword [ebp - 4]
mov dword [edi + 0x18], ebx
xor ecx, ebp
mov dword [edi + 0x10], 1
pop edi
pop ebx
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
Function at 0x45ea70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8188
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x58]
push str.QQPCRTP.exe
lea ecx, [ebp - 0x10]
call fcn.0041c010
add esp, 4
push str.OpenSelfProtect:_Begin__Run_QQPCRTP__e
push 0x515488
mov dword [ebp - 4], 0
call fcn.0048d4b0
add esp, 8
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45eaf1
mov ecx, dword [ebp - 0x10]
mov edx, 0x4f5b30
push 0
push 0
push 0x1388
call fcn.0045ac80
add esp, 0xc
mov ecx, 1
call fcn.0048a030
push str.OpenSelfProtect:_End
push 0x515488
call fcn.0048d4b0
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov eax, dword [ebp - 0x10]
or ecx, 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x45eb25
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
mov esp, ebp
pop ebp
ret
Function at 0x45f2e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8298
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 esi, ecx
mov ecx, dword [esi + 0x60]
lea edi, [esi + 0x60]
xor eax, eax
cmp dword [ecx - 0xc], eax
jle 0x45f321
push ecx
push eax
lea ecx, [esi + 0x70]
call fcn.004695c0
test eax, eax
je 0x45f486
push str.setup.xml
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [esi + 0x174]
push dword [eax]
call fcn.004566d0
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f373
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x45f484
push str.InitBugReportSupport
push 0x515488
call fcn.0048d4b0
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
add esp, 8
push ecx
mov ecx, esi
call dword [eax + 0x10]
mov dword [ebp - 4], 1
mov ecx, dword [eax]
call fcn.0049ab30
mov dword [ebp - 4], 0xffffffff
or ebx, 0xffffffff
mov edx, dword [ebp - 0x10]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f3ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x3c], 0
je 0x45f46d
push str.UpdateTrayIcon.exe
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.0041c010
add esp, 4
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 0x10]
mov esi, eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x45f40a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x45f46d
push str.CheckTrayIcon
push 0x515488
call fcn.0048d4b0
push str.UpdateTrayIcon.exe
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.0041c010
add esp, 0xc
push 0
mov dword [ebp - 4], 2
mov edx, str._CheckTrayIcon_1
mov ecx, dword [eax]
push 0
push 0x1388
call fcn.0045ac80
mov dword [ebp - 4], 0xffffffff
add esp, 0xc
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x45f46d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 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
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
Function at 0x45f4a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d82e0
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 + 0x58]
push str.QQPCRTP.exe
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], 0
call fcn.0041c010
add esp, 4
push str.LoadRtp:_Begin__Run_QQPCRTP__s
mov dword [ebp - 4], 0
push 0x515488
mov dword [ebx], 0
call fcn.0048d4b0
add esp, 8
push dword [ebp - 0x3c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, eax
or edi, 0xffffffff
test esi, esi
je 0x45f66d
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x1388
mov edx, 0x4f5d0c
call fcn.0045ac80
add esp, 0xc
push dword [ebp - 0x34]
push str.LoadRtp:_QQPCRTP.exe__s__return:__d
push 0x515488
call fcn.0048d4b0
add esp, 0xc
cmp dword [ebp - 0x34], 0
je 0x45f655
push str.mmon.dll
xor esi, esi
mov dword [ebx], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x45f65a
lea ecx, [ebp - 0x2c]
call fcn.0048e100
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x45f586
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x38]
call fcn.0041c970
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.004335b0
lea ecx, [ebp - 0x38]
call fcn.00489000
push str.mmon.dll
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x30]
call fcn.0041c010
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 0x45f5de
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x45f635
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 0x4ee3e0
push 0x515488
call fcn.0048d4b0
mov eax, dword [ebp - 0x30]
add esp, 8
mov dword [ebx], 0
test eax, eax
je 0x45f62e
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 0x45f65a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45f65a
mov esi, 1
push esi
push str.LoadRtp:_End__Success_u
push 0x515488
call fcn.0048d4b0
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 0x45f68c
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.004a5d13
mov esp, ebp
pop ebp
ret 4
Function at 0x45f6b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8320
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.0045f4a0
push dword [esi + 4]
push str.Check_need_start_qqpcmgr__bDownloadSetupInOne_d
push 0x515488
call fcn.0048d4b0
add esp, 0xc
or ebx, 0xffffffff
cmp dword [esi + 4], 0
jne 0x45f785
cmp dword [ebp + 8], 0
je 0x45f72f
push edi
mov ecx, esi
call fcn.00463e20
cmp dword [esi + 8], 0
je 0x45f785
push str.QMPersonalCenter.exe
lea edx, [esi + 0x58]
lea ecx, [ebp - 0x14]
call fcn.0041c010
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.0045ac80
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 0x45f785
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x45f7f4
push str.QQPCTray.exe
lea edx, [esi + 0x58]
lea ecx, [ebp + 8]
call fcn.0041c010
add esp, 4
push str.Run_QQPCTray
push 0x515488
mov dword [ebp - 4], 1
call fcn.0048d4b0
add esp, 8
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45f7d5
mov ecx, dword [ebp + 8]
mov edx, str._regrun
push edi
push edi
push edi
call fcn.0045ac80
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 0x45f7f4
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.00463ef0
test edi, edi
je 0x45f80a
mov ecx, esi
call fcn.004640a0
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