joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c9e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515780
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
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, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push 0x20a
push 0
push eax
call fcn.004e02e0
add esp, 0xc
mov dword [ebp - 0x228], 0
mov ecx, esi
push 0xffffffffffffffff
call fcn.0044c0a0
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.004c76c0
push 0x208
lea eax, [ebp - 0x21c]
push eax
push 0x208
push eax
push 0x26
push str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.00472a10
add esp, 0x24
test eax, eax
jne 0x4c9f9a
lea eax, [ebp - 0x224]
push eax
call fcn.00489320
push str.QMPacket.dat
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.0048c050
add esp, 0x10
lea ecx, [ebp - 0x224]
call fcn.0044c080
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
lea ecx, [ebp - 0x220]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4c9f8f
push 0
lea eax, [ebp - 0x228]
push eax
push 0x208
lea eax, [ebp - 0x21c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x220]
call fcn.0044c080
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de51d
mov esp, ebp
pop ebp
ret 4

Function at 0x4ca2f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5139cd
mov eax, dword fs:[0]
push eax
sub esp, 0xc
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
push str.QQPCRTP__t_begin
push 0x550bb8
call fcn.0048d540
push str.QQPCRTP.exe
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0048c050
add esp, 0x14
mov ecx, eax
call fcn.0044c0a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.0044c080
test esi, esi
je 0x4ca3ba
push str.QQPCRTP.exe
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.0048c050
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push 0x7d0
push 0x5210c8
mov ecx, eax
call fcn.0044c0a0
push eax
call fcn.004caf60
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0044c080
push dword [ebp - 0x10]
push str.QQPCRtp__t_return:__u
push 0x550bb8
call fcn.0048d540
add esp, 0xc
push str.QQPCRTP__t_end
push 0x550bb8
call fcn.0048d540
push str.QQPCRTP_Stop_begin
push 0x550bb8
call fcn.0048d540
call fcn.004dbad0
push str.QQPCRTP_Stop_end
push 0x550bb8
mov esi, eax
call fcn.0048d540
push str.QQPCRTP.exe
call fcn.00490930
push str.QQPCRTP_CloseProcessByFile_ok
push 0x550bb8
call fcn.0048d540
add esp, 0x24
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
Function at 0x4ca4a0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54aae8
push 0x4e08b0
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 0x4ca54d
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4ca54d
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.004ca57a
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4ca650
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 0x4ca6ae
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 0x4ca758
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 0x4ca6de
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 0x4ca758
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 0x4ca753
mov ecx, 0xaa64
cmp cx, ax
je 0x4ca753
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 0x4ca753
mov ecx, 0xc
cmp cx, ax
jne 0x4ca758
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 0x4caf60
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51593d
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 0x4caff3
lea eax, [edi + 0xa]
jmp 0x4caff5
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 0x4cb052
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 0x4cb079
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4cb074
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cb074
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 0x4cb090
push eax
call esi
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4cb0a1
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 0x4cb0c0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51596d
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 0x4cb157
mov eax, 0xa
jmp 0x4cb159
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 0x4cb1a8
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 0x4cb390
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 0x4cb3db
nop word [eax + eax]
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x4cb3e4
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 0x4cb3c0
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 0x4cdd80
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515c80
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.004cdd70
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.004d8a50
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.004c6440
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.004c7b40
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 0x4ced90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515ce5
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.004d8bd0
test eax, eax
jne 0x4cee2a
push 0x523710
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4cfc30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516015
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 0x4cfc9a
test eax, 0x4800
je 0x4cfc9a
xor esi, esi
jmp 0x4cfcd7
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 0x4cfcc2
mov esi, 1
jmp 0x4cfcd7
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0048d090
mov ecx, esi
call fcn.004cfc30
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 0x4d0370
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516115
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 0x4d04f3
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push str.SupplyID
call fcn.004d5c60
push str.ck_WxS
push 0x32
mov ecx, esi
call fcn.004d5ec0
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 0x4d0475
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x18]
call fcn.0044c0a0
push eax
call fcn.004caf60
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 0x4d04df
cmp ecx, 0x65
je 0x4d04df
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x4d04f8
mov ecx, esi
call fcn.004d02f0
test eax, eax
je 0x4d0490
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x4d04f8
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0048d370
test al, al
jne 0x4d04c0
push edi
mov ecx, esi
call fcn.004d5f90
test eax, eax
jne 0x4d04c0
push 0x5229d0
push 0x550bb8
call fcn.0048d880
add esp, 8
xor esi, esi
jmp 0x4d04f8
cmp dword [esi + 8], 0
jne 0x4d04df
push 0
push 0
push esi
push 0x4d64d0
push 0
push 0
call fcn.004e95bd
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d04f3
push eax
push str.SupplyID
mov ecx, esi
call fcn.004d85a0
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 0x4d10f0
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54bb58
push 0x4e08b0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1018
call fcn.004dece0
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.004e02e0
push 0x802
push 0
lea eax, [ebp - 0x820]
push eax
call fcn.004e02e0
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 0x4d1283
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 0x4d1283
push str.RCD_AppInit.dll
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4d1283
mov dword [ebp - 0x102c], 0
lea edi, [ebp - 0x1024]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test edi, edi
je 0x4d124b
cmp word [edi], 0
je 0x4d124b
push 0x3b
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
mov dword [ebp - 0x102c], esi
test esi, esi
je 0x4d121f
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 0x4d1247
push edi
lea eax, [ebp - 0x820]
push eax
call ebx
push 0x539ec4
lea eax, [ebp - 0x820]
push eax
call ebx
mov edi, esi
jmp 0x4d11f2
lea ecx, [ebp - 0x820]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d1254
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.004d12ab
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4d12c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5162fd
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 0x4d13aa
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 0x538570
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.004caf60
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.004de51d
mov esp, ebp
pop ebp
ret
Function at 0x4d17d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5163c0
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 0x4d18e6
cmp dword [esi + 0x40], 0
jne 0x4d1911
push dword [edi]
push 0x5224c0
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.004e02e0
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 0x4d1904
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4d1926
movzx eax, word [edi]
lea ecx, [ebp - 0xe0]
push eax
push 0
call fcn.004d6900
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4d1926
movzx eax, word [edi]
lea ecx, [esi + 0x5c]
push eax
push 0
call fcn.004d6900
push dword [esi + 0x5c]
push 0x5224f4
push 0x550bb8
call fcn.0048d880
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.0044c080
mov eax, 1
jmp 0x4d195b
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x4d192e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
push 0x522524
jmp 0x4d1941
add ebx, 4
jmp 0x4d1880
cmp eax, 2
jne 0x4d194e
mov eax, dword [esi]
mov ecx, esi
push 0x13
call dword [eax + 0x1c]
push 0x522540
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.004de51d
mov esp, ebp
pop ebp
ret