Function at 0x10032071
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x100bf039
call fcn.100a35ac
sub esp, 0x250
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push 0x90
mov esi, ecx
mov dword [ebp - 4], ebx
call fcn.100a2ba4
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
cmp ecx, ebx
je 0x100320b2
push ebx
push ebx
push dword [esi + 0x74]
call fcn.1003ceb8
jmp 0x100320b4
xor eax, eax
mov dword [esi + 0xa8], eax
push 0x101185a8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
mov dword [eax + 0x8c], esi
call fcn.1005a319
lea edi, [esi + 0x80]
push str.about:blank
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.10002834
cmp eax, ebx
je 0x100322a7
push ebx
push str.http:__
mov ecx, edi
call fcn.10003080
cmp eax, 0xffffffff
jne 0x100322a7
push ebx
push 0x100cb62c
mov ecx, edi
call fcn.10003080
cmp eax, 0xffffffff
jne 0x100322a7
push edi
lea ecx, [ebp - 0x1c]
call fcn.10003561
push ebx
push 0x3f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.10027a4e
cmp eax, ebx
jle 0x1003215f
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100236cf
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.10004a20
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.10001d29
lea eax, [ebp - 0x18]
push ebx
push eax
call fcn.100404f4
pop ecx
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.10001d29
lea eax, [ebp - 0x14]
push eax
call fcn.100406df
pop ecx
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
mov byte [ebp - 4], 8
call fcn.10005363
add esp, 0xc
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xa
call fcn.10001d29
xor eax, eax
push 0x206
mov word [ebp - 0x25c], ax
lea eax, [ebp - 0x25a]
push ebx
push eax
call fcn.100a2490
push dword [ebp - 0x24]
lea eax, [ebp - 0x25c]
push eax
call fcn.100a56ba
add esp, 0x14
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x25c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x10032220
push ecx
lea eax, [ebp - 0x25c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.10005f07
call fcn.10024c36
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1003223b
push 1
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
lea eax, [ebp - 0x18]
push eax
call fcn.100406df
pop ecx
push eax
lea eax, [ebp - 0x14]
push str.file:__
push eax
mov byte [ebp - 4], 0xb
call fcn.1000d42c
add esp, 0xc
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.10004a20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
push edi
lea ecx, [ebp - 0x20]
call fcn.1000d4f1
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push str.FullBannerPath:__s
push eax
mov dword [ebp - 0x38], 0x100cc745
mov dword [ebp - 0x34], str..ItemsImpl.cpp
mov dword [ebp - 0x30], str.Toolbar::Banner::Create
mov dword [ebp - 0x2c], 0xb0d
call fcn.100276a0
add esp, 0xc
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.10003561
call fcn.1007eb04
pop ecx
mov byte [esi + 0x78], al
cmp al, bl
jne 0x1003234c
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.urlInaccessibleBanner
call fcn.10005f07
lea eax, [ebp - 0x14]
push eax
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + 0x12dc]
call fcn.1002bd1b
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call fcn.10004a20
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.10001d29
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x1003234c
push str.marquee_permissions.html
mov ecx, edi
call fcn.10004da9
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001d29
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
leave
ret 4