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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5ed0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
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, dword [ebp + 0xc]
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x4579a3
push 0x80004005
call fcn.0041ce60
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 0
push 0x2e
push dword [edi]
call fcn.004a6ff1
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x457a80
mov eax, dword [edi]
sub ebx, eax
sar ebx, 1
cmp ebx, 0xffffffff
je 0x457a80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x457a80
push ebx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.004220d0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0041c740
mov byte [ebp - 4], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 0x48]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x457a23
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp + 8], 0
je 0x457a47
push 4
push str..dat
lea ecx, [ebp - 0x44]
call fcn.0041c4b0
mov esi, dword [ebp - 0x44]
mov edx, esi
push ecx
mov ecx, dword [edi]
call fcn.00475a30
jmp 0x457a77
lea eax, [ebp - 0x40]
push eax
push dword [edi]
call fcn.004b5748
add esp, 8
lea ecx, [ebp - 0x44]
push 4
push str..xml
call fcn.0041c4b0
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x44]
mov edx, esi
mov ecx, dword [edi]
lea eax, [eax + eax*4]
push eax
call fcn.00475b20
add esp, 4
test eax, eax
jne 0x457a9c
jmp 0x457a83
or ebx, 0xffffffff
push dword [edi]
push 0
push dword [ebp + 8]
push str.encrypttype_d_err_d_path_s.
push 0x515408
call fcn.0048c0f0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x457ab8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
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 0x4586c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4418
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 0x515408
call fcn.0048be90
push str.QQPCRTP.exe
mov edx, ebx
lea ecx, [ebp - 0x14]
call fcn.0041c030
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 0x458732
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4587a4
push str.QQPCRTP.exe
mov edx, ebx
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x18]
call fcn.0041c030
add esp, 4
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [eax]
mov edx, 0x4f4c9c
push 0
push 0xbb8
call fcn.00458a10
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 0x45878f
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 0x515408
call fcn.0048be90
add esp, 0xc
push str.QQPCRTP__t_end
push 0x515408
call fcn.0048be90
push str.QQPCRTP_Stop_begin
push 0x515408
call fcn.0048be90
call fcn.0046a920
push str.QQPCRTP_Stop_end
push 0x515408
mov esi, eax
call fcn.0048be90
mov ecx, str.QQPCRTP.exe
call fcn.0048ed80
push str.QQPCRTP_CloseProcessByFile_ok
push 0x515408
call fcn.0048be90
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 0x458900
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d60a8
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.004a73c0
add esp, 0xc
mov dword [ebp - 0x6c], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0x181
movups xmmword [ebp - 0x24], xmm0
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x458965
push 0x80004005
call fcn.0041ce60
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.00422000
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 0x4589d4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_failed__the_error_code_is__d
push 0x515408
call fcn.0048be90
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 0x4589f6
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 0x458a10
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d60d8
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.004a73c0
add esp, 0xc
mov dword [ebp - 0x74], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x48], 0x181
movups xmmword [ebp - 0x28], xmm0
call fcn.0041bef0
mov ecx, eax
test ecx, ecx
jne 0x458a7a
push 0x80004005
call fcn.0041ce60
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.00422000
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 0x458b01
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 0x515408
call fcn.0048be90
add esp, 0x1c
jmp 0x458b28
mov eax, dword [ebp + 8]
test eax, eax
je 0x458b23
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x458b23
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 0x458b3f
push eax
call edi
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x458b50
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 0x458b6f
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 0x458fd0
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.004a73c0
add esp, 0xc
push edi
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x45908d
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x459086
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 0x45906c
test ecx, ecx
je 0x45906c
cmp ecx, 4
je 0x45906c
push dword [ebp - 0x234]
lea eax, [ebp - 0x20c]
push eax
call fcn.004aa58e
add esp, 8
test eax, eax
je 0x459080
lea eax, [ebp - 0x230]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x459040
jmp 0x459085
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.004a474b
mov esp, ebp
pop ebp
ret

Function at 0x4590a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x508758
push 0x4a96a0
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 0x459155
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x459155
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.00459182
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.004a474b
mov esp, ebp
pop ebp
ret
Function at 0x4595b0
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 0x4595f3
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x4595fc
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 0x4595d8
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 0x459b10
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
push esi
push edi
push str.IsWow64Process2
push str.kernel32
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], esi
test edi, edi
jne 0x459b60
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_get_proc_address_IsWow64Process2_failed:__d
push 0x515408
call fcn.0048be90
add esp, 0xc
jmp 0x459c16
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x459b95
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_IsWow64Process2_failed:__d
push 0x515408
call fcn.0048be90
add esp, 0xc
jmp 0x459c16
movzx eax, word [esp + 0xc]
push eax
push str.KFunction::IsArmArchitecture_uNativeMachine:__d
push 0x515408
call fcn.0048be90
mov eax, dword [esp + 0x18]
mov ecx, 0x1c0
add esp, 0xc
cmp cx, ax
je 0x459c11
mov ecx, 0xaa64
cmp cx, ax
je 0x459c11
xorps xmm0, xmm0
mov dword [esp + 0x34], esi
lea eax, [esp + 0x14]
push eax
movups xmmword [esp + 0x18], xmm0
movups xmmword [esp + 0x28], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [esp + 0x14]
push eax
push str.KFunction::IsArmArchitecture_stSystemInfo.wProcessorArchitecture:__d
push 0x515408
call fcn.0048be90
mov eax, dword [esp + 0x20]
mov ecx, 5
add esp, 0xc
cmp cx, ax
je 0x459c11
mov ecx, 0xc
cmp cx, ax
jne 0x459c16
mov esi, 1
push esi
push str.KFunction::IsArmArchitecture_ret:__d
push 0x515408
call fcn.0048be90
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45acf0
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d63ad
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 0x4ec230
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], 0
call fcn.0041c9e0
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 0x45ae17
call fcn.00488a60
push 0x105
test eax, eax
je 0x45add9
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.0041c9e0
lea eax, [ebp - 0x434]
push eax
call fcn.0045a950
push eax
mov ecx, edi
mov dword [ebp - 4], 1
call fcn.0041c740
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 0x45ae10
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x45ae10
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 0x45adf2
sub ecx, edx
lea eax, [ebp - 0x220]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0041cd40
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.004a474b
mov esp, ebp
pop ebp
ret 8

Function at 0x45b960
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 0x45ba1d
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 0x45ba1d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x2710
jae 0x45ba2b
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 4]
jb 0x45ba2b
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 0x45ba04
lea eax, [ebp - 0x20]
push eax
call edi
cmp dword [ebp - 0x1c], 0x12
je 0x45ba2b
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call esi
test eax, eax
jne 0x45b9e6
push 4
push 0x4ff
push 0x64
push 0
push 0
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjectsEx]
cmp dword [ebx + 0xc], 0
je 0x45b9a0
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 0x45ba40
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 0x45bb85
push 0x4ee108
push dword [edi + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
call fcn.004b010a
mov eax, dword [ebp - 0x18]
add esp, 0xc
test eax, eax
je 0x45bb7f
push esi
push 2
push ebx
push eax
call fcn.004b043d
push dword [ebp - 0x18]
call fcn.004b0a36
mov esi, eax
add esp, 0x10
mov dword [ebp - 0x24], esi
cmp esi, 0x2800
jge 0x45bb6d
cmp esi, 0xffffffff
je 0x45bb6d
push esi
call fcn.004a47b7
add esi, 0x40
mov dword [ebp - 0x20], eax
push esi
mov dword [ebp - 0x28], esi
call fcn.004a47b7
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
push ebx
push dword [ebp - 0x20]
call fcn.004a73c0
push esi
push ebx
push dword [ebp - 0x1c]
call fcn.004a73c0
push ebx
push ebx
push dword [ebp - 0x18]
call fcn.004b043d
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
push esi
push 1
push dword [ebp - 0x20]
call fcn.004b0c0d
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.00433480
add esp, 0x48
test al, al
je 0x45bb4a
push dword [ebp - 0x28]
mov ecx, edi
push dword [ebp - 0x1c]
call fcn.0045bbb0
test eax, eax
jne 0x45bb4e
or dword [edi + 0x1c], 0x10
jmp 0x45bb4e
or dword [edi + 0x1c], 8
push dword [ebp - 0x1c]
call fcn.004a47b2
push esi
call fcn.004a47b2
add esp, 8
push dword [ebp - 0x18]
call fcn.004b4992
add esp, 4
pop esi
jmp 0x45bb89
push dword [ebp - 0x18]
or dword [edi + 0x1c], 4
call fcn.004b4992
add esp, 4
pop esi
jmp 0x45bb89
or dword [edi + 0x1c], 2
jmp 0x45bb89
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.004a474b
mov esp, ebp
pop ebp
ret 8
Function at 0x45cb30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6638
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 + 0x64]
push str.QQPCRTP.exe
lea ecx, [ebp - 0x10]
call fcn.0041c030
add esp, 4
push str.OpenSelfProtect:_Begin__Run_QQPCRTP__e
push 0x515408
mov dword [ebp - 4], 0
call fcn.0048be90
add esp, 8
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45cbb1
mov ecx, dword [ebp - 0x10]
mov edx, 0x4f51b8
push 0
push 0
push 0x1388
call fcn.00458a10
add esp, 0xc
mov ecx, 1
call fcn.00488530
push str.OpenSelfProtect:_End
push 0x515408
call fcn.0048be90
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 0x45cbe5
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 0x45d3a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6748
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 + 0x6c]
lea edi, [esi + 0x6c]
xor eax, eax
cmp dword [ecx - 0xc], eax
jle 0x45d3e1
push ecx
push eax
lea ecx, [esi + 0x7c]
call fcn.00468420
test eax, eax
je 0x45d546
push str.setup.xml
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.0041c030
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [esi + 0x180]
push dword [eax]
call fcn.00454330
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 0x45d433
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test ebx, ebx
je 0x45d544
push str.InitBugReportSupport
push 0x515408
call fcn.0048be90
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.004995e0
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 0x45d48a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [esi + 0x3c], 0
je 0x45d52d
push str.UpdateTrayIcon.exe
mov edx, edi
lea ecx, [ebp - 0x10]
call fcn.0041c030
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 0x45d4ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x45d52d
push str.CheckTrayIcon
push 0x515408
call fcn.0048be90
push str.UpdateTrayIcon.exe
mov edx, edi
lea ecx, [ebp - 0x14]
call fcn.0041c030
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.00458a10
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 0x45d52d
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