Function at 0x10074087
Capabilities:
Check if file exists
Copy file
Create process on windows
Persist via run registry key
Set registry value

Disassembly:
push ebp
sub esp, 0x800
lea ebp, [esp - 4]
mov eax, dword [0x1019c8c8]
xor eax, ebp
mov dword [ebp + 0x800], eax
push 0x20
mov eax, 0x1013f788
call fcn.101018b2
lea eax, [ebp - 0x2c]
xor ebx, ebx
push eax
mov dword [ebp - 0x28], ebx
call fcn.100dea00
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], ebx
call fcn.100df876
pop ecx
pop ecx
mov edi, 0x1015c6c8
push edi
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.100058db
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.100015d9
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x10074173
lea eax, [ebp - 0x18]
push eax
call fcn.100deb14
pop ecx
push edi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 4
call fcn.100058db
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.10005459
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.100015d9
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x10074173
lea eax, [ebp - 0x10]
push eax
call fcn.100de590
pop ecx
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 6
call fcn.100058db
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call fcn.10005459
lea ecx, [ebp - 0x18]
call fcn.100015d9
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.100015d9
push dword [ebp - 0x14]
call esi
test eax, eax
je 0x10074309
mov eax, dword [0x1019a028]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push dword [ebp - 0x2c]
mov byte [ebp - 4], 8
push str.__s____s__RunOnceUpdate
push eax
call fcn.100020c6
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx - 8]
add esp, 0x10
add eax, eax
push eax
push ecx
xor edi, edi
inc edi
push edi
push str.BaidubarXUpdate
push str.SoftwareMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x28], edi
call fcn.100df876
pop ecx
mov edi, str.BarBroker.exe
push edi
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 9
call fcn.100058db
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call fcn.100015d9
push dword [ebp - 0x10]
call esi
test eax, eax
jne 0x100742ae
lea eax, [ebp - 0x24]
push eax
call fcn.100deb14
pop ecx
push edi
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0xc
call fcn.100058db
push dword [eax]
call esi
lea ecx, [ebp - 0x1c]
mov ebx, eax
call fcn.100015d9
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.100015d9
test ebx, ebx
je 0x100742ac
lea eax, [ebp - 0x1c]
push eax
call fcn.100deb14
mov dword [esp], str.BarBroker_CloseIEUpdate.exe
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xd
call fcn.100058db
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xe
call fcn.10005459
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.100015d9
lea eax, [ebp - 0x1c]
push eax
call fcn.100deb14
pop ecx
push edi
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 0xf
call fcn.100058db
push 0
push dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [ebp - 0x24]
call fcn.100015d9
lea ecx, [ebp - 0x1c]
call fcn.100015d9
xor ebx, ebx
push dword [ebp - 0x10]
call esi
test eax, eax
je 0x100742f9
push 0x7fe
lea eax, [ebp + 2]
push ebx
push eax
mov word [ebp], bx
call fcn.101027c0
push 0x1015ced0
push 0x1015cec8
push 0xffffffffffffffff
lea eax, [ebp]
push 0x400
push eax
call fcn.10101c5e
add esp, 0x20
push 1
push ebx
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x10]
call fcn.100015d9
lea ecx, [ebp - 0x20]
call fcn.100015d9
lea ecx, [ebp - 0x14]
call fcn.100015d9
lea ecx, [ebp - 0x2c]
call fcn.100015d9
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x800]
xor ecx, ebp
call fcn.101018a3
add ebp, 0x804
leave
ret