Function at 0x1008f740
Capabilities:
Copy file
Create directory
Create process on windows
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10178242
mov eax, dword fs:[0]
push eax
sub esp, 0xb04
mov eax, dword [0x101e8118]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa8c], 0
mov dword [ebp - 4], 1
cmp dword [ebp + 0x10], 0
je 0x1008f78d
movzx eax, byte [0x101ea624]
test eax, eax
je 0x1008f7ba
mov byte [ebp - 0xa35], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10006030
mov al, byte [ebp - 0xa35]
jmp 0x1008fed0
push 1
lea ecx, [ebp - 0x824]
push ecx
call fcn.100addf0
add esp, 8
mov byte [ebp - 4], 2
push str.tmp_
push 0
lea edx, [ebp - 0xa3c]
push edx
call fcn.100addf0
add esp, 8
mov dword [ebp - 0xa90], eax
mov eax, dword [ebp - 0xa90]
mov dword [ebp - 0xa94], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0xa94]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.10019630
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa3c]
call fcn.10006030
lea ecx, [ebp - 0xa34]
call fcn.10005760
mov byte [ebp - 4], 6
lea eax, [ebp - 0xa2c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0xa2c]
push ecx
lea ecx, [ebp - 0xa34]
call fcn.10005aa0
push 0
push 1
push 0
lea ecx, [ebp + 8]
call fcn.10005f10
push eax
lea edx, [ebp - 0x820]
push edx
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0
je 0x1008f8d6
mov byte [ebp - 0xa3d], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa34]
call fcn.10006030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10006030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x824]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10006030
mov al, byte [ebp - 0xa3d]
jmp 0x1008fed0
push 0
lea ecx, [ebp - 0x18]
call fcn.10005a00
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0x820]
push ecx
call fcn.1013e98f
add esp, 4
mov edx, dword [ebp - 0x820]
lea eax, [edx + eax*2 - 2]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1008f91f
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x10]
sub eax, 2
mov dword [ebp - 0x10], eax
cmp edx, 0x5c
je 0x1008f91f
jmp 0x1008f903
mov ecx, dword [ebp - 0x10]
add ecx, 2
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x14]
call fcn.100057d0
mov byte [ebp - 4], 7
push 0x10190b14
push 0x10190b18
lea ecx, [ebp - 0x14]
call fcn.10005ad0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0xa44]
push edx
call fcn.10019590
mov dword [ebp - 0xa98], eax
mov eax, dword [ebp - 0xa98]
mov dword [ebp - 0xa9c], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0xa9c]
call fcn.10005a00
push eax
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa44]
call fcn.10006030
push 0
push 0x10190b1c
lea edx, [ebp - 0xa34]
push edx
lea eax, [ebp - 0xa48]
push eax
call fcn.10019630
mov dword [ebp - 0xaa0], eax
mov ecx, dword [ebp - 0xaa0]
mov dword [ebp - 0xaa4], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xaa4]
call fcn.10005a00
push eax
push 0x10190b34
push 1
lea edx, [ebp - 0xa4c]
push edx
call fcn.100addf0
add esp, 8
mov dword [ebp - 0xaa8], eax
mov eax, dword [ebp - 0xaa8]
mov dword [ebp - 0xaac], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0xaac]
push ecx
lea edx, [ebp - 0xa50]
push edx
call fcn.10019630
mov dword [ebp - 0xab0], eax
mov eax, dword [ebp - 0xab0]
mov dword [ebp - 0xab4], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xab4]
call fcn.10005a00
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa50]
call fcn.10006030
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4c]
call fcn.10006030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa48]
call fcn.10006030
mov ecx, dword [ebp - 0x820]
push ecx
call fcn.1013f51e
add esp, 4
lea edx, [ebp + 0xc]
push edx
push 1
lea eax, [ebp - 0xa54]
push eax
call fcn.100addf0
add esp, 8
mov dword [ebp - 0xab8], eax
mov ecx, dword [ebp - 0xab8]
mov dword [ebp - 0xabc], ecx
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xabc]
push edx
lea eax, [ebp - 0xa58]
push eax
call fcn.10019590
mov dword [ebp - 0xac0], eax
mov ecx, dword [ebp - 0xac0]
mov dword [ebp - 0xac4], ecx
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0xac4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x14]
push edx
push str.__s___s___s_
lea eax, [ebp - 0x81c]
push eax
call fcn.1013b37a
add esp, 0x14
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa58]
call fcn.10006030
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa54]
call fcn.10006030
push 0x10190b68
push ecx
mov ecx, esp
mov dword [ebp - 0xa60], esp
push 0x10190b6c
call fcn.100057d0
mov dword [ebp - 0xac8], eax
mov ecx, dword [ebp - 0xac8]
mov dword [ebp - 0xacc], ecx
mov byte [ebp - 4], 0xe
push ecx
mov ecx, esp
mov dword [ebp - 0xa64], esp
push 0x10190b70
call fcn.100057d0
mov dword [ebp - 0xad0], eax
mov edx, dword [ebp - 0xad0]
mov dword [ebp - 0xad4], edx
mov byte [ebp - 4], 0xf
push ecx
mov ecx, esp
mov dword [ebp - 0xa68], esp
push 0x10190b74
call fcn.100057d0
mov dword [ebp - 0xad8], eax
mov eax, dword [ebp - 0xad8]
mov dword [ebp - 0xadc], eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xa6c]
push ecx
mov byte [ebp - 4], 7
call fcn.100ad100
add esp, 0x10
mov dword [ebp - 0xae0], eax
mov edx, dword [ebp - 0xae0]
mov dword [ebp - 0xae4], edx
mov byte [ebp - 4], 0x11
mov eax, dword [ebp - 0xa8c]
or eax, 1
mov dword [ebp - 0xa8c], eax
mov ecx, dword [ebp - 0xae4]
push ecx
call fcn.1008d870
movzx edx, al
test edx, edx
je 0x1008fcbe
push 0x10190b9c
push ecx
mov ecx, esp
mov dword [ebp - 0xa70], esp
push 0x10190ba0
call fcn.100057d0
mov dword [ebp - 0xae8], eax
mov eax, dword [ebp - 0xae8]
mov dword [ebp - 0xaec], eax
mov dword [ebp - 4], 0x12
push ecx
mov ecx, esp
mov dword [ebp - 0xa74], esp
push 0x10190ba4
call fcn.100057d0
mov dword [ebp - 0xaf0], eax
mov ecx, dword [ebp - 0xaf0]
mov dword [ebp - 0xaf4], ecx
mov byte [ebp - 4], 0x13
push ecx
mov ecx, esp
mov dword [ebp - 0xa78], esp
push 0x10190ba8
call fcn.100057d0
mov dword [ebp - 0xaf8], eax
mov edx, dword [ebp - 0xaf8]
mov dword [ebp - 0xafc], edx
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xa7c]
push eax
mov byte [ebp - 4], 0x11
call fcn.100ad100
add esp, 0x10
mov dword [ebp - 0xb00], eax
mov ecx, dword [ebp - 0xb00]
mov dword [ebp - 0xb04], ecx
mov dword [ebp - 4], 0x15
mov edx, dword [ebp - 0xa8c]
or edx, 2
mov dword [ebp - 0xa8c], edx
mov eax, dword [ebp - 0xb04]
push eax
call fcn.1008d870
movzx ecx, al
test ecx, ecx
je 0x1008fcbe
mov dword [ebp - 0xb08], 1
jmp 0x1008fcc8
mov dword [ebp - 0xb08], 0
mov dl, byte [ebp - 0xb08]
mov byte [ebp - 0xa59], dl
mov dword [ebp - 4], 0x11
mov eax, dword [ebp - 0xa8c]
and eax, 2
je 0x1008fcf8
and dword [ebp - 0xa8c], 0xfffffffd
lea ecx, [ebp - 0xa7c]
call fcn.10006030
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0xa8c]
and ecx, 1
je 0x1008fd1c
and dword [ebp - 0xa8c], 0xfffffffe
lea ecx, [ebp - 0xa6c]
call fcn.10006030
movzx edx, byte [ebp - 0xa59]
test edx, edx
je 0x1008fe07
call fcn.10108150
movzx eax, al
test eax, eax
je 0x1008fd4b
push 0x30
push 0x10190bcc
push str.Please_choose_Run_or_Allow_in_system_dialogs_if_asked_to_update_your_Toolbar_properly
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0x34
push 0x10190bdc
push 0x10190c9c
mov ecx, dword [ebp + 0x14]
add ecx, 0xc4
mov edx, dword [ebp + 0x14]
mov eax, dword [edx + 0xc4]
mov edx, dword [eax + 0xb4]
call edx
push eax
push str.All_running_IE_Windows_will_be_closed_before_toolbars_Update._Continue_
push str.closeAllWindowsForUpdate
mov ecx, dword [ebp + 0x14]
add ecx, 0xc4
mov eax, dword [ebp + 0x14]
mov edx, dword [eax + 0xc4]
mov eax, dword [edx + 0xb4]
call eax
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 7
jne 0x1008fe07
mov byte [ebp - 0xa7d], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.10006030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa34]
call fcn.10006030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10006030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x824]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10006030
mov al, byte [ebp - 0xa7d]
jmp 0x1008fed0
push 5
lea ecx, [ebp - 0xa34]
call fcn.10005a00
push eax
lea ecx, [ebp - 0x81c]
push ecx
push str.update.exe
lea edx, [ebp - 0xa34]
push edx
lea eax, [ebp - 0xa84]
push eax
call fcn.10019630
mov dword [ebp - 0xb0c], eax
mov ecx, dword [ebp - 0xb0c]
mov dword [ebp - 0xb10], ecx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xb10]
call fcn.10005a00
push eax
push 0x10190d90
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xa84]
call fcn.10006030
mov byte [ebp - 0xa85], 1
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x14]
call fcn.10006030
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xa34]
call fcn.10006030
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10006030
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x824]
call fcn.10006030
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10006030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.10006030
mov al, byte [ebp - 0xa85]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1013a297
mov esp, ebp
pop ebp
ret