joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463610
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8976
mov eax, dword fs:[0]
push eax
mov eax, 0x1484
call fcn.004a6d20
mov eax, dword [0x511070]
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 0x1048
lea eax, [ebp - 0x1058]
mov dword [ebp - 0x1490], 1
push 0
push eax
mov dword [ebp - 0x148c], 0
call fcn.004a8960
add esp, 0xc
mov dword [ebp - 0x1480], 0
lea eax, [ebp - 0x1478]
mov dword [ebp - 0x147c], 0
mov dword [ebp - 0x126c], 0
mov dword [ebp - 0x1488], str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
push 0x20a
push 0
push eax
mov dword [ebp - 0x1484], 0x26
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x1268]
push 0x20a
push 0
push eax
call fcn.004a8960
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1488]
call fcn.00497680
lea eax, [ebp - 0x148c]
push eax
push 4
lea eax, [ebp - 0x1490]
push eax
push str.IELockHomepage
lea ecx, [ebp - 0x1488]
call fcn.00497840
cmp dword [esi + 0x38], 0
lea eax, [ebp - 0x1058]
push 0xffffffffffffffff
je 0x463711
push str.http:__hao.qq.com__unco400493_1s2
jmp 0x463716
push str.http:__hao.qq.com__unco400493_1s1
push 0x824
push eax
call fcn.004b6dbc
add esp, 0x10
lea eax, [ebp - 0x148c]
lea ecx, [ebp - 0x1488]
push eax
push 0x1048
lea eax, [ebp - 0x1058]
push eax
push str.IEHomepage
call fcn.00497840
mov eax, dword [0x511ea4]
cmp eax, 0xffffffff
jne 0x46378d
push str.IsWow64Process
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x46384f
push 0x511ea4
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x46384f
mov eax, dword [0x511ea4]
test eax, eax
je 0x46381f
push 0
lea eax, [ebp - 0x148c]
mov dword [ebp - 0x148c], 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
mov eax, dword [ebp - 0x148c]
jne 0x463814
test eax, eax
je 0x46381f
lea edx, [ebp - 0x1058]
lea esi, [edx + 2]
nop dword [eax]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4637e0
sub edx, esi
sar edx, 1
lea ecx, [edx*2 + 2]
push ecx
lea ecx, [ebp - 0x1058]
push ecx
push 1
push 0
push str.Start_Page
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x148c]
test eax, eax
je 0x46381f
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x1480]
test eax, eax
je 0x463830
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
mov dword [0x511ea4], 0
jmp 0x46381f
Function at 0x463c80
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8a80
mov eax, dword fs:[0]
push eax
sub esp, 0x38
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 esi, ecx
mov edx, dword [esi + 0x58]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp word [edx], ax
jne 0x463ccc
xor ecx, ecx
jmp 0x463ce0
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463cd1
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00439160
mov dword [ebp - 4], 0
xor eax, eax
mov edx, dword [esi + 0x58]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x463d11
xor ecx, ecx
jmp 0x463d25
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463d16
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439160
push str.package.dat
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0048eea0
push str.pkgdll.dat
lea ecx, [ebp - 0x28]
call fcn.0048eea0
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0x80
push 2
push 0
push 1
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x463d9b
push dword [esi + 0x98]
mov edx, dword [esi + 0x9c]
mov ecx, edi
call fcn.0045b820
add esp, 4
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x463dad
push 0x4f6d04
push 0x515488
call fcn.0048d4b0
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x463dd4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x463dfd
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x463e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5678
mov eax, dword fs:[0]
push eax
mov eax, dword [0x511070]
push ecx
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x463e69
push str.Acl_Exist__RunMaster_By_Reg
push 0x515488
call fcn.0048d4b0
add esp, 8
push 1
push str.QQPCMgr
call fcn.0045f8d0
jmp 0x463eda
lea edx, [ecx + 0x58]
push str.QQPCTray.exe
lea ecx, [ebp + 8]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x463eb8
push str.Run_QQPCMgr__and_wait_500_ms
push 0x515488
call fcn.0048d4b0
mov ecx, dword [ebp + 8]
mov edx, str._showui__setup
push 0
push 1
push 0x1f4
call fcn.0045ac80
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463eda
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
mov esp, ebp
pop ebp
ret 4
Function at 0x463ef0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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, ecx
push str.UpdateTrayIcon.exe
lea edx, [edi + 0x60]
lea ecx, [ebp - 0x30]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
jne 0x463f55
xor ecx, ecx
jmp 0x463f6f
mov ecx, edx
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x463f60
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00439160
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x463f9a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464066
push str._t_QQPCTray.exe__c_1__p_1
lea ecx, [ebp - 0x2c]
call fcn.0041c970
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 3
je 0x463fec
push str.CheckRtp
push 0x515488
call fcn.0048d4b0
add esp, 8
lea ecx, [ebp - 0x2c]
push 0xc
push str.__CheckRtp_1
call fcn.0041c490
push 5
push str.__d__
lea ecx, [ebp - 0x2c]
call fcn.0041c490
mov eax, dword [edi + 0x58]
lea ecx, [ebp - 0x2c]
push dword [eax - 0xc]
push eax
call fcn.0041c490
push 1
push 0x4eecc0
lea ecx, [ebp - 0x2c]
call fcn.0041c490
push dword [ebp - 0x2c]
push str.UpdateTrayIcon.exe__ws
push 0x515488
call fcn.0048d4b0
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
push 0
push 0
push 0
call fcn.0045ac80
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x464066
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x46407b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
Function at 0x4640a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3eb8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea edx, [ecx + 0x58]
mov esi, 0xa
push str.QQPCTray.exe
lea ecx, [ebp - 0x10]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.0045ae70
test eax, eax
jne 0x46414d
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
nop dword [eax]
test esi, esi
jle 0x46414d
push 0x3e8
call edi
dec esi
test esi, esi
jg 0x464141
push 0x4f6dfc
push 0x515488
call fcn.0048d4b0
add esp, 8
push dword [ebp - 0x10]
call ebx
test eax, eax
je 0x464141
mov ecx, dword [ebp - 0x10]
mov edx, str._regrun
push 0
push 0
push 0
call fcn.0045ac80
add esp, 0xc
mov ecx, dword [ebp - 0x10]
call fcn.0045ae70
test eax, eax
je 0x464100
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x10]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x46416f
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
Function at 0x464950
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8be0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor edi, edi
call fcn.0041bed0
mov ecx, eax
test ecx, ecx
jne 0x464991
push 0x80004005
call fcn.0041cdf0
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x104]
sub eax, 1
je 0x464a25
sub eax, 1
jne 0x464a8d
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareSogouExplorer
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x464a8d
lea eax, [ebp - 0x10]
push eax
push 0x4ed230
lea ecx, [ebp - 0x14]
call fcn.00440780
test eax, eax
je 0x464a8a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.0041c6d0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [eax], 0x32c8
call fcn.00489000
push str.SogouExplorer.exe
jmp 0x464a82
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQBrowser
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x464a8d
lea eax, [ebp - 0x10]
push eax
push str.InstallDir
lea ecx, [ebp - 0x14]
call fcn.00440780
test eax, eax
je 0x464a8a
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
call fcn.0041c6d0
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
mov dword [eax], 0x2af8
call fcn.00489000
push str.QQBrowser.exe
lea ecx, [ebp - 0x10]
call fcn.0041c190
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
je 0x464aac
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x464aaa
test al, 0x10
jne 0x464aaa
mov edi, 1
jmp 0x464aac
xor edi, edi
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x464aba
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], 0
add esi, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x464ae0
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
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x464b00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8c21
mov eax, dword fs:[0]
push eax
sub esp, 0x444
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
push 0x20a
lea eax, [ebp - 0x430]
mov dword [ebp - 0x438], 0
push 0
push eax
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x440], str.8CEFC9E6_A2B4_4c2a_823C_6903A31139FA
mov dword [ebp - 0x43c], 0x26
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x20a
push 0
push eax
call fcn.004a8960
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x440]
call fcn.00497680
xor ebx, ebx
call fcn.0041bed0
test eax, eax
je 0x464d16
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x444], edi
mov byte [ebp - 4], 1
mov ecx, 1
mov eax, dword [edi - 8]
sub ecx, dword [edi - 4]
sub eax, 0x106
or eax, ecx
jge 0x464beb
push 0x106
lea ecx, [ebp - 0x444]
call fcn.0041cb60
mov edi, dword [ebp - 0x444]
cmp dword [edi - 8], 0x106
jl 0x464d20
xor eax, eax
mov dword [edi - 0xc], 0x106
push eax
push ebx
push edi
push eax
mov word [edi + 0x20c], ax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [edi - 8]
mov esi, eax
push edi
call fcn.004abd99
add esp, 8
test eax, eax
js 0x464d20
cmp eax, dword [edi - 8]
jg 0x464d20
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
test esi, esi
je 0x464cc3
call fcn.0041bed0
test eax, eax
je 0x464d16
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x448], eax
push ebx
push str.defSpecialFolderPath_Cache_
lea eax, [ebp - 0x448]
mov byte [ebp - 4], 2
push str._s_d
push eax
call fcn.00421db0
mov eax, dword [edi - 0xc]
lea ecx, [ebp - 0x44c]
mov esi, dword [ebp - 0x448]
add esp, 0x10
add eax, eax
mov dword [ebp - 0x44c], 0
push ecx
push eax
push edi
push esi
lea ecx, [ebp - 0x440]
call fcn.00497840
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x464cc3
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x464cdf
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
inc ebx
cmp ebx, 0x3d
jle 0x464ba0
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x464cfa
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.004a5d13
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.0041cdf0
push 0x80070057
call fcn.0041cdf0
int3
Function at 0x464d30
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
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, ecx
push str.UpdateTrayIcon.exe
lea edx, [edi + 0x60]
lea ecx, [ebp - 0x30]
call fcn.0041c010
add esp, 4
mov dword [ebp - 4], 0
mov edx, dword [eax]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp word [edx], ax
je 0x464da5
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x464d96
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x28]
call fcn.00439160
mov byte [ebp - 4], 2
or esi, 0xffffffff
mov edx, dword [ebp - 0x30]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464dd0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x464e75
push str._DoRollback_1
lea ecx, [ebp - 0x2c]
call fcn.0041c970
push 5
push str.__d__
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0041c490
mov eax, dword [edi + 0x58]
lea ecx, [ebp - 0x2c]
push dword [eax - 0xc]
push eax
call fcn.0041c490
push 1
push 0x4eecc0
lea ecx, [ebp - 0x2c]
call fcn.0041c490
push dword [ebp - 0x2c]
push str.UpdateTrayIcon.exe__ws
push 0x515488
call fcn.0048d4b0
mov edx, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
add esp, 0xc
cmp dword [ebp - 0x14], 8
cmovae ecx, dword [ebp - 0x28]
push 0
push 0
push 0
call fcn.0045ac80
mov byte [ebp - 4], 2
add esp, 0xc
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x464e75
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x464e8a
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret
Function at 0x464eb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8c60
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x511070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.0041c670
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 1
mov ecx, dword [esi - 0xc]
test ecx, ecx
je 0x464f26
lea eax, [ecx - 1]
test eax, eax
js 0x464f3d
cmp eax, ecx
jg 0x464f3d
movzx eax, word [esi + eax*2]
cmp eax, 0x5c
je 0x464f26
cmp eax, 0x2f
je 0x464f26
push str.0s
lea ecx, [ebp - 0x10]
call fcn.0041c190
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x464f47
test eax, 0x4800
je 0x464f47
xor edi, edi
jmp 0x464f83
push 0x80070057
call fcn.0041cdf0
lea ecx, [ebp - 0x10]
call fcn.00489040
lea ecx, [ebp - 0x10]
call fcn.004890f0
mov esi, dword [ebp - 0x10]
cmp dword [esi - 0xc], 0
jne 0x464f67
mov edi, 1
jmp 0x464f83
push ecx
mov edi, esp
lea ecx, [esi - 0x10]
mov dword [ebp - 0x14], edi
call fcn.0041c670
add eax, 0x10
mov ecx, ebx
mov dword [edi], eax
call fcn.00464eb0
mov edi, eax
lea edx, [esi - 0x10]
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x464fa1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
jg 0x464fc0
mov ecx, dword [eax]
push eax
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
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x464fe0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 4], eax
movaps xmm0, xmmword [0x4fce70]
lea eax, [ebp - 0x2c]
push esi
push edi
mov edi, dword [ebp + 0xc]
push eax
push 0x2001f
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x28], xmm0
push eax
movaps xmm0, xmmword [0x4fce80]
push SysReAllocString
movups xmmword [ebp - 0x18], xmm0
mov word [ebp - 8], 0x5c
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x465084
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x34], 4
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 4
push eax
push esi
push 0x4f71f8
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x465084
mov eax, dword [ebp - 0x30]
push 0x4f71f8
push dword [ebp - 0x2c]
mov dword [edi], eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, 1
jmp 0x46508e
mov eax, 2
cmp esi, eax
cmove esi, eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x46509c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004a5d13
mov esp, ebp
pop ebp
ret 8
Function at 0x465150
Capabilities:
Persist via appinit_dlls registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x509ce8
push 0x4aac40
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, 0x1018
call fcn.004a6d20
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
mov dword [ebp - 0x1028], 0
push 0x802
push 0
lea eax, [ebp - 0x1024]
push eax
call fcn.004a8960
push 0x802
push 0
lea eax, [ebp - 0x820]
push eax
call fcn.004a8960
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 0x4652e3
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 0x4652e3
push str.RCD_AppInit.dll
lea eax, [ebp - 0x1024]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrW]
test eax, eax
je 0x4652e3
mov dword [ebp - 0x102c], 0
lea edi, [ebp - 0x1024]
mov ebx, dword [sym.imp.SHLWAPI.dll_StrCatW]
test edi, edi
je 0x4652ab
cmp word [edi], 0
je 0x4652ab
push 0x3b
push edi
call dword [sym.imp.SHLWAPI.dll_StrChrW]
mov esi, eax
mov dword [ebp - 0x102c], esi
test esi, esi
je 0x46527f
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 0x4652a7
push edi
lea eax, [ebp - 0x820]
push eax
call ebx
push 0x4f5928
lea eax, [ebp - 0x820]
push eax
call ebx
mov edi, esi
jmp 0x465252
lea ecx, [ebp - 0x820]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4652b4
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.0046530b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004a5d13
mov esp, ebp
pop ebp
ret