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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515250
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.004dfec0
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.004c7320
push 0x208
lea eax, [ebp - 0x21c]
push eax
push 0x208
push eax
push 0x26
push str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
call fcn.00472a80
add esp, 0x24
test eax, eax
jne 0x4c9bfa
lea eax, [ebp - 0x224]
push eax
call fcn.00489390
push str.QMPacket.dat
push eax
lea eax, [ebp - 0x220]
mov dword [ebp - 4], 0
push eax
call fcn.0048c0d0
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 0x4c9bef
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.004de0fd
mov esp, ebp
pop ebp
ret 4

Function at 0x4c9f50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5134cd
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.0048d5c0
push str.QQPCRTP.exe
lea eax, [ebp - 0x14]
push edi
push eax
call fcn.0048c0d0
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 0x4ca01a
push str.QQPCRTP.exe
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], 0
push edi
push eax
call fcn.0048c0d0
add esp, 0xc
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
push 0
push 0x7d0
push 0x520ee0
mov ecx, eax
call fcn.0044c0a0
push eax
call fcn.004cabc0
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.0048d5c0
add esp, 0xc
push str.QQPCRTP__t_end
push 0x550bb8
call fcn.0048d5c0
push str.QQPCRTP_Stop_begin
push 0x550bb8
call fcn.0048d5c0
call fcn.004db6b0
push str.QQPCRTP_Stop_end
push 0x550bb8
mov esi, eax
call fcn.0048d5c0
push str.QQPCRTP.exe
call fcn.004909b0
push str.QQPCRTP_CloseProcessByFile_ok
push 0x550bb8
call fcn.0048d5c0
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 0x4ca100
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54a880
push 0x4e0490
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 0x4ca1ad
lea eax, [ebp - 0x3c]
push eax
push str.SeDebugPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4ca1ad
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.004ca1da
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4ca2b0
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 0x4ca30e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_get_proc_address_IsWow64Process2_failed:__d
push 0x550bb8
call fcn.0048d5c0
add esp, 0xc
jmp 0x4ca3b8
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 0x4ca33e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.KFunction::IsArmArchitecture_IsWow64Process2_failed:__d
push 0x550bb8
call fcn.0048d5c0
add esp, 0xc
jmp 0x4ca3b8
movzx eax, word [ebp - 4]
push eax
push str.KFunction::IsArmArchitecture_uNativeMachine:__d
push 0x550bb8
call fcn.0048d5c0
mov eax, dword [ebp - 4]
mov ecx, 0x1c0
add esp, 0xc
cmp cx, ax
je 0x4ca3b3
mov ecx, 0xaa64
cmp cx, ax
je 0x4ca3b3
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.0048d5c0
mov ax, word [ebp - 0x40]
mov ecx, 5
add esp, 0xc
cmp cx, ax
je 0x4ca3b3
mov ecx, 0xc
cmp cx, ax
jne 0x4ca3b8
mov esi, 1
push esi
push str.KFunction::IsArmArchitecture_ret:__d
push 0x550bb8
call fcn.0048d5c0
add esp, 0xc
mov eax, esi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4cabc0
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51540d
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.0047d240
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.0048d020
add esp, 0x10
cmp dword [ebp + 0x14], edi
je 0x4cac53
lea eax, [edi + 0xa]
jmp 0x4cac55
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 0x4cacb2
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.0048d5c0
add esp, 0x1c
jmp 0x4cacd9
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4cacd4
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4cacd4
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 0x4cacf0
push eax
call esi
mov dword [ebp - 0x20], 0
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x4cad01
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 0x4cad20
Capabilities:
Create process on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51543d
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.0047d240
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.0048d020
add esp, 0x10
cmp dword [ebp + 0x10], 0
je 0x4cadb7
mov eax, 0xa
jmp 0x4cadb9
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 0x4cae08
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Create_failed__the_error_code_is__d
push 0x550bb8
call fcn.0048d5c0
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 0x4caff0
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 0x4cb03b
nop word [eax + eax]
add edi, dword [ebp - 4]
sub esi, dword [ebp - 4]
je 0x4cb044
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 0x4cb020
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 0x4cd9e0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515750
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.004cd9d0
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.0047d240
lea ecx, [edi + 0x50]
call fcn.0047d240
lea ecx, [edi + 0x54]
call fcn.0047d240
lea ecx, [edi + 0x58]
call fcn.0047d240
lea ecx, [edi + 0x5c]
call fcn.0047d240
lea ecx, [edi + 0x60]
call fcn.0047d240
lea ecx, [edi + 0x64]
call fcn.0047d240
lea ecx, [edi + 0x68]
call fcn.0047d240
lea ecx, [edi + 0x6c]
call fcn.0047d240
lea ecx, [edi + 0x74]
mov byte [ebp - 4], 9
mov dword [edi + 0x70], 0
call fcn.004d8630
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.00479c60
lea ecx, [edi + 0x134]
mov byte [ebp - 4], 0xb
call fcn.00479c60
lea ecx, [edi + 0x138]
call fcn.004a6380
lea ecx, [edi + 0x144]
mov byte [ebp - 4], 0xd
call fcn.00499950
lea ecx, [edi + 0x178]
mov byte [ebp - 4], 0xe
call fcn.004c60a0
lea ecx, [edi + 0x1b0]
mov byte [ebp - 4], 0xf
call fcn.0044a760
lea ecx, [edi + 0x1bc]
mov byte [ebp - 4], 0x10
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b8], 0
call fcn.004c77a0
lea esi, [edi + 0x228]
mov byte [ebp - 4], 0x11
lea ecx, [edi + 0x22c]
mov dword [esi], 0
call fcn.004ab570
lea ecx, [edi + 0x23c]
call fcn.0047d240
push esi
call fcn.004a40e0
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 0x4ce9f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5157b5
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.0048d040
lea ecx, [edi + 0x5c]
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048d040
push str.package.dat
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0048f560
push str.pkgdll.dat
lea ecx, [ebp - 0x28]
call fcn.0048f560
lea ecx, [ebp - 0x40]
call fcn.0044a640
push eax
lea ecx, [edi + 0x74]
call fcn.004d87b0
test eax, eax
jne 0x4cea8a
push 0x523528
push 0x550bb8
call fcn.0048d900
add esp, 8
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x28]
call fcn.0044a650
lea ecx, [ebp - 0x40]
call fcn.0044a650
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4cf890
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515ae5
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.0048d110
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.00485820
add esp, 4
lea ecx, [ebp - 0x10]
call fcn.0044c0a0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4cf8fa
test eax, 0x4800
je 0x4cf8fa
xor esi, esi
jmp 0x4cf937
lea eax, [ebp - 0x10]
push eax
call fcn.00485870
lea eax, [ebp - 0x10]
push eax
call fcn.00485970
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.0048d3f0
test al, al
je 0x4cf922
mov esi, 1
jmp 0x4cf937
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.0048d110
mov ecx, esi
call fcn.004cf890
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 0x4cffd0
Capabilities:
Check if file exists
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515be5
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.0047d240
push str.Uninst.exe
lea edi, [esi + 0x50]
mov dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0048c0d0
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 0x4d0153
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
push str.SupplyID
call fcn.004d58d0
push str.ck_WxS
push 0x32
mov ecx, esi
call fcn.004d5b30
push str._S_skiprtpprotect1setupover1___
lea ecx, [ebp - 0x14]
call fcn.0044f4c0
push edi
lea ecx, [ebp - 0x14]
call fcn.0048e290
cmp dword [esi + 0x3c], 0
lea eax, [ebp - 0x10]
push eax
jne 0x4d00d5
push 0
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x18]
call fcn.0044c0a0
push eax
call fcn.004cabc0
push dword [ebp - 0x10]
push str.Uninst.exe:return__d
push 0x550bb8
call fcn.0048d900
mov ecx, dword [ebp - 0x10]
add esp, 0x20
test ecx, ecx
je 0x4d013f
cmp ecx, 0x65
je 0x4d013f
mov eax, dword [esi]
push ecx
push 0x67
mov ecx, esi
call dword [eax + 0x20]
xor esi, esi
jmp 0x4d0158
mov ecx, esi
call fcn.004cff50
test eax, eax
je 0x4d00f0
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push 0x68
call dword [eax + 0x20]
xor esi, esi
jmp 0x4d0158
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0048d3f0
test al, al
jne 0x4d0120
push edi
mov ecx, esi
call fcn.004d5c00
test eax, eax
jne 0x4d0120
push 0x5227e8
push 0x550bb8
call fcn.0048d900
add esp, 8
xor esi, esi
jmp 0x4d0158
cmp dword [esi + 8], 0
jne 0x4d013f
push 0
push 0
push esi
push 0x4d60b0
push 0
push 0
call fcn.004e919d
add esp, 0x18
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4d0153
push eax
push str.SupplyID
mov ecx, esi
call fcn.004d8180
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 0x4d0d50
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x54b8f0
push 0x4e0490
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1018
call fcn.004de8c0
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.004dfec0
push 0x802
push 0
lea eax, [ebp - 0x820]
push eax
call fcn.004dfec0
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 0x4d0ee3
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 0x4d0ee3
push str.RCD_AppInit.dll
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4d0ee3
mov dword [ebp - 0x102c], 0
lea edi, [ebp - 0x1024]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test edi, edi
je 0x4d0eab
cmp word [edi], 0
je 0x4d0eab
push 0x3b
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
mov dword [ebp - 0x102c], esi
test esi, esi
je 0x4d0e7f
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 0x4d0ea7
push edi
lea eax, [ebp - 0x820]
push eax
call ebx
push 0x539cc4
lea eax, [ebp - 0x820]
push eax
call ebx
mov edi, esi
jmp 0x4d0e52
lea ecx, [ebp - 0x820]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4d0eb4
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.004d0f0b
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.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4d0f20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515dcd
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.0048c0d0
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0048d040
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4d100a
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.0048c600
lea eax, [esi + 0x5c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0048e290
push 0x538378
lea ecx, [ebp - 0x2c]
call fcn.0048c600
push dword [ebp - 0x2c]
push str.UpdateTrayIcon.exe__ws
push 0x550bb8
call fcn.0048d5c0
add esp, 0xc
lea ecx, [ebp - 0x2c]
push 0
push 0
push 0
call fcn.0044c0a0
push eax
lea ecx, [ebp - 0x28]
call fcn.0044a640
push eax
call fcn.004cabc0
add esp, 0x14
lea ecx, [ebp - 0x2c]
call fcn.0044c080
lea ecx, [ebp - 0x28]
call fcn.0044a650
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004de0fd
mov esp, ebp
pop ebp
ret
Function at 0x4d1430
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515e90
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.0048d110
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 0x4d1546
cmp dword [esi + 0x40], 0
jne 0x4d1571
push dword [edi]
push 0x5222d8
push 0x550bb8
call fcn.0048d900
push 0xc8
xor ebx, ebx
mov byte [ebp - 4], 1
lea eax, [ebp - 0xdc]
push ebx
push eax
call fcn.004dfec0
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 0x4d1564
push edi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x4d1586
movzx eax, word [edi]
lea ecx, [ebp - 0xe0]
push eax
push 0
call fcn.004d64e0
mov eax, dword [esi]
lea ecx, [ebp - 0xe0]
push ecx
mov ecx, esi
call dword [eax + 4]
test eax, eax
jne 0x4d1586
movzx eax, word [edi]
lea ecx, [esi + 0x5c]
push eax
push 0
call fcn.004d64e0
push dword [esi + 0x5c]
push 0x52230c
push 0x550bb8
call fcn.0048d900
add esp, 0xc
lea ecx, [ebp - 0xe0]
call fcn.0044c080
mov eax, 1
jmp 0x4d15bb
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 4], 0
cmp eax, 1
jne 0x4d158e
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 0x1c]
push 0x52233c
jmp 0x4d15a1
add ebx, 4
jmp 0x4d14e0
cmp eax, 2
jne 0x4d15ae
mov eax, dword [esi]
mov ecx, esi
push 0x13
call dword [eax + 0x1c]
push 0x522358
push 0x550bb8
call fcn.0048d900
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.004de0fd
mov esp, ebp
pop ebp
ret