joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ca3f0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54aa20
push 0x4e0800
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x550144]
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
xorps xmm0, xmm0
movlpd qword [ebp - 0x3c], xmm0
movups xmmword [ebp - 0x2c], xmm0
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 0x4ca49d
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4ca49d
mov dword [ebp - 0x2c], 1
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
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.004ca4ca
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.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4ca5a0
Capabilities:
Get system information on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x48
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 [ebp - 8], esi
mov dword [ebp - 4], esi
test edi, edi
jne 0x4ca5fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_get_proc_address_IsWow64Process2_failed:__d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
jmp 0x4ca6a8
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call edi
test eax, eax
jne 0x4ca62e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_IsWow64Process2_failed:__d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
jmp 0x4ca6a8
movzx eax, word [ebp - 4]
push eax
push str.KFunction::IsArmArchitecture_uNativeMachine:__d
push 0x550bb8
call fcn.0048d540
mov eax, dword [ebp - 4]
mov ecx, 0x1c0
add esp, 0xc
cmp cx, ax
je 0x4ca6a3
mov ecx, 0xaa64
cmp cx, ax
je 0x4ca6a3
xorps xmm0, xmm0
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x40]
movaps xmmword [ebp - 0x40], xmm0
push eax
movaps xmmword [ebp - 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x40]
push eax
push str.KFunction::IsArmArchitecture_stSystemInfo.wProcessorArchitecture:__d
push 0x550bb8
call fcn.0048d540
mov ax, word [ebp - 0x40]
mov ecx, 5
add esp, 0xc
cmp cx, ax
je 0x4ca6a3
mov ecx, 0xc
cmp cx, ax
jne 0x4ca6a8
mov esi, 1
push esi
push str.KFunction::IsArmArchitecture_ret:__d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4caeb0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51587d
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x44
xor eax, eax
movlpd qword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x10]
movlpd qword [ebp - 0x58], xmm0
xor edi, edi
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
mov word [ebp - 0x22], ax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x38], 0x181
call fcn.0047d1f0
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0048cfa0
add esp, 0x10
cmp dword [ebp + 0x14], edi
je 0x4caf43
lea eax, [edi + 0xa]
jmp 0x4caf45
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [ebp - 0x34], ax
call fcn.0044c0a0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
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 0x4cafa2
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
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 0x550bb8
call fcn.0048d540
add esp, 0x1c
jmp 0x4cafc9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4cafc4
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cafc4
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov edi, 1
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4cafe0
push eax
call esi
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4caff1
push ecx
call esi
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x10]
call fcn.0044c080
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 0x4cb010
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5158ad
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push esi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x64], 0x44
xor eax, eax
movlpd qword [ebp - 0x60], xmm0
lea ecx, [ebp - 0x10]
movlpd qword [ebp - 0x58], xmm0
movlpd qword [ebp - 0x50], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x32], xmm0
movlpd qword [ebp - 0x2a], xmm0
mov word [ebp - 0x22], ax
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x38], 0x181
call fcn.0047d1f0
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 0
push dword [ebp + 8]
push str.__s___s
push eax
call fcn.0048cfa0
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x4cb0a7
mov eax, 0xa
jmp 0x4cb0a9
xor eax, eax
lea ecx, [ebp - 0x10]
mov word [ebp - 0x34], ax
call fcn.0044c0a0
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x64]
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 0x4cb0f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_failed__the_error_code_is__d
push 0x550bb8
call fcn.0048d540
add esp, 0xc
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x10]
call fcn.0044c080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4cb2e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 0
push eax
push esi
push edi
push ebx
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4cb32b
nop word [eax + eax]
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x4cb334
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 0x4cb310
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 0x4cdcd0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515bc0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
call fcn.004cdcc0
lea ecx, [edi + 0x4c]
mov dword [ebp - 4], 0
mov dword [edi], vtable.CInstaller.0
mov dword [edi + 4], vtable.CInstaller.1.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 9
mov dword [edi + 0x2c], 4
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
call fcn.0047d1f0
lea ecx, [edi + 0x50]
call fcn.0047d1f0
lea ecx, [edi + 0x54]
call fcn.0047d1f0
lea ecx, [edi + 0x58]
call fcn.0047d1f0
lea ecx, [edi + 0x5c]
call fcn.0047d1f0
lea ecx, [edi + 0x60]
call fcn.0047d1f0
lea ecx, [edi + 0x64]
call fcn.0047d1f0
lea ecx, [edi + 0x68]
call fcn.0047d1f0
lea ecx, [edi + 0x6c]
call fcn.0047d1f0
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 9
mov dword [edi + 0x70], 0
call fcn.004d89a0
lea ecx, [edi + 0x130]
mov byte [ebp - 4], 0xa
mov dword [edi + 0xe8], 0
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
mov dword [edi + 0xf4], 0
mov dword [edi + 0xf8], 0
mov dword [edi + 0xfc], 0
mov dword [edi + 0x100], 0
mov dword [edi + 0x104], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x110], 0
mov dword [edi + 0x114], 0xffffffff
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov dword [edi + 0x124], 0
mov dword [edi + 0x128], 0
mov dword [edi + 0x12c], 0xffffffff
call fcn.00479be0
lea ecx, [edi + 0x134]
mov byte [ebp - 4], 0xb
call fcn.00479be0
lea ecx, [edi + 0x138]
call fcn.004a62d0
lea ecx, [edi + 0x144]
mov byte [ebp - 4], 0xd
call fcn.00499890
lea ecx, [edi + 0x178]
mov byte [ebp - 4], 0xe
call fcn.004c6380
lea ecx, [edi + 0x1b0]
mov byte [ebp - 4], 0xf
call fcn.0044a750
lea ecx, [edi + 0x1bc]
mov byte [ebp - 4], 0x10
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
call fcn.004c7a80
lea esi, [edi + 0x228]
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x22c]
mov dword [esi], 0
call fcn.004ab4b0
lea ecx, [edi + 0x23c]
call fcn.0047d1f0
push esi
call fcn.004a4020
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 0x4cece0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515c25
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x550144]
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, ecx
lea ecx, [edi + 0x5c]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x40]
call fcn.0048cfc0
lea ecx, [edi + 0x5c]
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cfc0
push str.package.dat
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0048f4e0
push str.pkgdll.dat
lea ecx, [ebp - 0x28]
call fcn.0048f4e0
lea ecx, [ebp - 0x40]
call fcn.0044a630
push eax
lea ecx, [edi + 0x74]
call fcn.004d8b20
test eax, eax
jne 0x4ced7a
push 0x523678
push 0x550bb8
call fcn.0048d880
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044a630
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0044a640
lea ecx, [ebp - 0x40]
call fcn.0044a640
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.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4cfb80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515f55
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp + 8]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x10]
call fcn.0048d090
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.004857d0
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cfbea
test eax, 0x4800
je 0x4cfbea
xor esi, esi
jmp 0x4cfc27
lea eax, [ebp - 0x10]
push eax
call fcn.00485820
lea eax, [ebp - 0x10]
push eax
call fcn.00485920
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0048d370
test al, al
je 0x4cfc12
mov esi, 1
jmp 0x4cfc27
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0048d090
mov ecx, esi
call fcn.004cfb80
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.0044c080
lea ecx, [ebp + 8]
call fcn.0044c080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4d02c0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516055
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 0xc8
mov dword [ebp - 0x1c], 0
call fcn.0047d1f0
push str.Uninst.exe
lea edi, [esi + 0x50]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0048c050
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d0443
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push str.SupplyID
call fcn.004d5bb0
push str.ck_WxS
push 0x32
mov ecx, esi
call fcn.004d5e10
push str._S_skiprtpprotect1setupover1___
lea ecx, [ebp - 0x14]
call fcn.0044f4c0
push edi
lea ecx, [ebp - 0x14]
call fcn.0048e210
cmp dword [esi + 0x3c], 0
lea eax, [ebp - 0x10]
push eax
jne 0x4d03c5
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x18]
call fcn.0044c0a0
push eax
call fcn.004caeb0
push dword [ebp - 0x10]
push str.Uninst.exe:return__d
push 0x550bb8
call fcn.0048d880
mov ecx, dword [ebp - 0x10]
add esp, 0x20
test ecx, ecx
je 0x4d042f
cmp ecx, 0x65
je 0x4d042f
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x4d0448
mov ecx, esi
call fcn.004d0240
test eax, eax
je 0x4d03e0
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x4d0448
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0048d370
test al, al
jne 0x4d0410
push edi
mov ecx, esi
call fcn.004d5ee0
test eax, eax
jne 0x4d0410
push 0x522938
push 0x550bb8
call fcn.0048d880
add esp, 8
xor esi, esi
jmp 0x4d0448
cmp dword [esi + 8], 0
jne 0x4d042f
push 0
push 0
push esi
push 0x4d6420
push 0
push 0
call fcn.004e950d
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d0443
push eax
push str.SupplyID
mov ecx, esi
call fcn.004d84f0
mov esi, 1
lea ecx, [ebp - 0x18]
call fcn.0044c080
lea ecx, [ebp - 0x14]
call fcn.0044c080
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4d1040
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54ba90
push 0x4e0800
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1018
call fcn.004dec30
mov eax, dword [0x550144]
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
mov dword [ebp - 0x1028], 0
push 0x802
push 0
lea eax, [ebp - 0x1024]
push eax
call fcn.004e0230
push 0x802
push 0
lea eax, [ebp - 0x820]
push eax
call fcn.004e0230
add esp, 0x18
mov dword [ebp - 0x1030], 0x400
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1028]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWindows
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d11d3
lea eax, [ebp - 0x1030]
push eax
lea eax, [ebp - 0x1024]
push eax
push 0
push 0
push str.AppInit_DLLs
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d11d3
push str.RCD_AppInit.dll
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4d11d3
mov dword [ebp - 0x102c], 0
lea edi, [ebp - 0x1024]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test edi, edi
je 0x4d119b
cmp word [edi], 0
je 0x4d119b
push 0x3b
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
mov dword [ebp - 0x102c], esi
test esi, esi
je 0x4d116f
xor eax, eax
mov word [esi], ax
add esi, 2
mov dword [ebp - 0x102c], esi
push str.RCD_AppInit.dll
push edi
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
jne 0x4d1197
push edi
lea eax, [ebp - 0x820]
push eax
call ebx
push 0x539e34
lea eax, [ebp - 0x820]
push eax
call ebx
mov edi, esi
jmp 0x4d1142
lea ecx, [ebp - 0x820]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d11a4
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x820]
push eax
push 1
push 0
push str.AppInit_DLLs
push dword [ebp - 0x1028]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], 0xfffffffe
call fcn.004d11fb
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.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4d1210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51623d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x550144]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push str.UpdateTrayIcon.exe
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0048c050
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048cfc0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a630
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d12fa
push str._DoRollback_1
lea ecx, [ebp - 0x2c]
call fcn.0044f140
push str.__d__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0048c580
lea eax, [esi + 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048e210
push 0x5384e0
lea ecx, [ebp - 0x2c]
call fcn.0048c580
push dword [ebp - 0x2c]
push str.UpdateTrayIcon.exe__ws
push 0x550bb8
call fcn.0048d540
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a630
push eax
call fcn.004caeb0
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a640
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4d1720
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516300
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x550144]
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
lea edi, [esi + 0x5c]
mov dword [ebp - 0xe4], esi
push edi
lea ecx, [ebp - 0xe0]
call fcn.0048d090
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
mov dword [ebp - 4], 0
call dword [eax + 4]
mov dword [ebp - 0xe8], eax
test eax, eax
je 0x4d1836
cmp dword [esi + 0x40], 0
jne 0x4d1861
push dword [edi]
push 0x522428
push 0x550bb8
call fcn.0048d880
push 0xc8
xor ebx, ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0xdc]
push ebx
push eax
call fcn.004e0230
add esp, 0x18
lea eax, [ebp - 0xdc]
push eax
push 0x64
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
lea edi, [ebp - 0xdc]
cmp word [edi + ebx*2], 0
lea edi, [edi + ebx*2]
je 0x4d1854
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4d1876
movzx eax, word [edi]
lea ecx, [ebp - 0xe0]
push eax
push 0
call fcn.004d6850
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4d1876
movzx eax, word [edi]
lea ecx, [esi + 0x5c]
push eax
push 0
call fcn.004d6850
push dword [esi + 0x5c]
push 0x52245c
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.0044c080
mov eax, 1
jmp 0x4d18ab
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x4d187e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
push 0x52248c
jmp 0x4d1891
add ebx, 4
jmp 0x4d17d0
cmp eax, 2
jne 0x4d189e
mov eax, dword [esi]
mov ecx, esi
push 0x13
call dword [eax + 0x1c]
push 0x5224a8
push 0x550bb8
call fcn.0048d880
add esp, 8
lea ecx, [ebp - 0xe0]
call fcn.0044c080
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.004de46d
mov esp, ebp
pop ebp
ret
Function at 0x4d1990
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516345
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x550144]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [ebp - 0x14]
call fcn.00479be0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.0047d1f0
push 0
push 1
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00479c10
lea eax, [ebp - 0x10]
push eax
push str.InstallDir
lea ecx, [ebp - 0x14]
call fcn.00479d70
lea ecx, [ebp - 0x10]
call fcn.0048d370
test al, al
je 0x4d1a1c
push dword [ebp + 0xc]
mov ecx, edi
push dword [ebp + 8]
call fcn.004d2440
neg eax
sbb esi, esi
neg esi
jmp 0x4d1a61
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4d1a33
xor esi, esi
jmp 0x4d1a61
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push str.Version
call fcn.00479d70
mov esi, eax
test esi, esi
je 0x4d1a61
lea eax, [ebp - 0x10]
push eax
call fcn.004857d0
add esp, 4
lea eax, [ebp - 0x10]
lea ecx, [edi + 0x50]
push eax
call fcn.0048d300
lea ecx, [ebp - 0x10]
call fcn.0044c080
lea ecx, [ebp - 0x14]
call fcn.00479bf0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8