Function at 0x10030930
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10170447
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x860
mov eax, dword [0x101f9014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 0xc]
lea ecx, [ebp - 0x860]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x86c], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x868], eax
xor eax, eax
push 7
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 0
push str.history
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x84c], 7
mov word [ebp - 0x860], ax
call fcn.10007df0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 3
jne 0x100309e8
push 0xc
push str.uhistory3.db
lea ecx, [ebp - 0x860]
call fcn.10007df0
xor eax, eax
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
mov byte [ebp - 0x861], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 7
mov word [ebp - 0x830], ax
mov byte [ebp - 4], 1
cmp byte [ebx + 0x10], al
lea eax, [ebp - 0x860]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
push esi
lea eax, [ebp - 0x848]
push eax
je 0x10030b40
call fcn.1012e2f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x830]
cmp eax, esi
je 0x10030a8b
mov ecx, eax
call fcn.10007d90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x830], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x820], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.10007d90
push 0x800
lea eax, [ebp - 0x818]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x818]
push eax
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x818]
push eax
push 0
push 0x1019e6d4
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x818]
push eax
call edi
cmp dword [ebp - 0x81c], 8
lea ecx, [ebp - 0x818]
push 0
lea eax, [ebp - 0x830]
cmovae eax, dword [ebp - 0x830]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x10030b98
lea ecx, [ebp - 0x818]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10030b15
sub ecx, edx
lea eax, [ebp - 0x818]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x830]
call fcn.10007df0
mov byte [ebp - 0x861], 1
jmp 0x10030b98
call fcn.1012e2f0
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x830]
cmp eax, esi
je 0x10030b89
mov ecx, eax
call fcn.10007d90
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x830], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x820], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.10007d90
push ecx
push dword [ebp - 0x868]
lea eax, [ebp - 0x830]
push dword [ebp - 0x86c]
push eax
call fcn.10030ef0
test al, al
jne 0x10030cae
cmp byte [ebp - 0x861], al
je 0x10030bd8
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
cmovae eax, dword [ebp - 0x830]
push eax
call edi
cmp dword [0x101fdd8c], 0
je 0x10030ca5
push 0
mov ecx, 0x101fdd8c
call fcn.10152790
mov eax, dword [0x101fdd8c]
cmp byte [eax + 0x54], 0
je 0x10030ca5
cmp dword [eax + 0x58], 4
jb 0x10030ca5
mov al, byte [eax + 0x5c]
mov byte [ebp - 0x861], al
xor eax, eax
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x838], 0
mov dword [ebp - 0x834], 7
mov word [ebp - 0x848], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x848]
push 7
push 0x101a3828
call fcn.10007df0
push 0x28d
push str.RC::RCNavigationNotifyMgr::GetHistoryRecord
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdhipswebprotect_src_navigationwatch_rcnavigationnotifymgr.cpp
lea eax, [ebp - 0x848]
mov ecx, 0x101fdd8c
push eax
push 4
call fcn.10153110
cmp byte [ebp - 0x861], 0
je 0x10030c96
lea eax, [ebp - 0x848]
mov ecx, 0x101fdd8c
push eax
call fcn.10153430
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x848]
call fcn.10007d90
mov byte [ebp - 0x861], 0
jmp 0x10030cd5
cmp byte [ebp - 0x861], 0
je 0x10030cce
cmp dword [ebp - 0x81c], 8
lea eax, [ebp - 0x830]
cmovae eax, dword [ebp - 0x830]
push eax
call edi
mov byte [ebp - 0x861], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.10007d90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x860]
call fcn.10007d90
mov al, byte [ebp - 0x861]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101669b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x14