Function at 0x467430
Capabilities:
Copy file
Delete file
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xab4
push ebx
push esi
push edi
push 0x210
mov edi, eax
lea eax, [esp + 0x8e]
push 0
push eax
mov word [esp + 0x94], 0
call sub.msvcrt.dll_memset
lea edx, [esp + 0x94]
add esp, 0xc
mov eax, edi
sub edx, edi
lea ecx, [ecx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x467470
lea ecx, [esp + 0x88]
push 0x5c
push ecx
call sub.msvcrt.dll_wcsrchr
add esp, 8
test eax, eax
jne 0x4674a2
xor ax, ax
mov word [esp + 0x88], ax
jmp 0x4674af
mov word [eax], 0
mov ax, word [esp + 0x88]
test ax, ax
lea ecx, [esp + 0x88]
mov edx, ecx
je 0x4674db
movzx eax, ax
cmp ax, 0x5c
je 0x4674cc
cmp ax, 0x2f
jne 0x4674cf
lea edx, [ecx + 2]
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x4674c0
mov ebx, dword [ebp + 8]
mov eax, edx
add ebx, 4
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4674e6
sub eax, esi
sar eax, 1
cmp eax, 0x104
jl 0x467501
mov eax, 0x103
lea esi, [eax + eax]
push esi
push edx
push ebx
call sub.msvcrt.dll_memcpy
add esp, 0xc
push 0x210
lea edx, [esp + 0x2a6]
push 0
push edx
mov word [esi + ebx], 0
mov word [esp + 0x2ac], 0
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
push 0
push 3
push 0
push 0
push SysReAllocString
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4675be
lea eax, [esp + 0x4b8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x46757d
push 0x104
lea ecx, [esp + 0x4bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea edx, [esp + 0x2a0]
push edx
push 0
push 0x46fb24
lea eax, [esp + 0x4c4]
push eax
mov word [esp + 0x2b0], 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea ecx, [esp + 0x2a4]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea esi, [esp + 0x2a0]
jmp 0x4675c5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x3ff
lea edx, [esp + 0x6c5]
push 0
push edx
mov byte [esp + 0x6cc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
push 0
push 0
push 0x3ff
lea eax, [esp + 0x6cc]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x6c4]
push edx
mov dword [esp + 0x34], 0
call fcn.00445460
mov edi, dword [esp + 0x34]
add esp, 8
test edi, edi
je 0x467d2e
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0xffffffffffffffff
push str.SELECT_visits.id__visits.visit_time__visits.from_visit__urls.url__urls.title___urls.visit_count__urls.typed_count__visits.transition_FROM_visits_LEFT_JOIN_urls_ON_visits.url__urls.id
lea esi, [esp + 0x30]
mov eax, edi
mov dword [esp + 0x30], 0
call fcn.00449a60
mov ebx, dword [esp + 0x30]
add esp, 0x14
test ebx, ebx
je 0x467d27
mov eax, ebx
call fcn.0044df10
cmp eax, 0x64
jne 0x467d1c
call fcn.00451040
cmp dword [0x47c2f0], 0
jne 0x467d1c
xor edi, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], edi
cmp dword [ebx + 0x14], edi
je 0x4676d1
cmp word [ebx + 0x54], di
jbe 0x4676d1
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, edi
je 0x4676cc
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
jmp 0x467717
mov eax, dword [ebx]
cmp eax, edi
je 0x467712
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x4676e8
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, edi
je 0x467712
test word [eax + 8], 0x2460
je 0x46770c
mov esi, eax
call fcn.00410ef0
jmp 0x467712
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x46772a
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
jmp 0x46776f
test al, 8
je 0x467739
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x46776f
test al, 0x12
je 0x467769
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x40]
push ecx
mov cl, byte [edx + 0xa]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
call fcn.00409da0
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x46776f
xor esi, esi
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x467789
cmp ecx, 0xc0a
je 0x467789
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x46778e
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x4677a4
push eax
call dword [0x47a064]
add esp, 4
mov dword [esp + 0x64], esi
cmp dword [ebx + 0x14], edi
je 0x4677cf
cmp word [ebx + 0x54], 1
jbe 0x4677cf
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, edi
je 0x4677c7
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
add edx, 0x28
jmp 0x467815
mov eax, dword [ebx]
cmp eax, edi
je 0x467810
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x4677e6
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, edi
je 0x467810
test word [eax + 8], 0x2460
je 0x46780a
mov esi, eax
call fcn.00410ef0
jmp 0x467810
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x46782c
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x46787b
test al, 8
je 0x46783f
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
jmp 0x46787b
test al, 0x12
je 0x467873
mov cl, byte [edx + 0xa]
lea eax, [esp + 0x38]
push eax
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.00409da0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x46787b
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x467895
cmp ecx, 0xc0a
je 0x467895
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x46789a
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x4678b0
push eax
call dword [0x47a064]
add esp, 4
cmp dword [ebx + 0x14], edi
je 0x4678d7
cmp word [ebx + 0x54], 2
jbe 0x4678d7
mov ecx, dword [ebx]
mov eax, dword [ecx + 0xc]
cmp eax, edi
je 0x4678cf
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [ebx + 0x14]
add edx, 0x50
jmp 0x46791d
mov eax, dword [ebx]
cmp eax, edi
je 0x467918
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x4678ee
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [ebx]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, edi
je 0x467918
test word [eax + 8], 0x2460
je 0x467912
mov esi, eax
call fcn.00410ef0
jmp 0x467918
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x467930
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
jmp 0x467975
test al, 8
je 0x46793f
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x467975
test al, 0x12
je 0x46796f
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x58]
push ecx
mov cl, byte [edx + 0xa]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.00409da0
mov edx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x467975
xor esi, esi
mov dword [esp + 0x14], edi
mov eax, dword [ebx]
cmp byte [eax + 0x41], 0
mov ecx, dword [ebx + 0x50]
jne 0x46798f
cmp ecx, 0xc0a
je 0x46798f
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x467994
call fcn.00415310
mov dword [ebx + 0x50], eax
mov eax, dword [ebx]
mov eax, dword [eax + 0xc]
cmp eax, edi
je 0x4679aa
push eax
call dword [0x47a064]
add esp, 4
mov edi, 4
mov dword [esp + 0x80], esi
call fcn.0041cac0
mov esi, dword [esp + 0x1c]
mov edi, 3
mov ebx, esi
mov dword [esp + 0x6c], eax
call fcn.0041cac0
xor ebx, ebx
mov dword [esp + 0x68], eax
cmp dword [esi + 0x14], ebx
je 0x4679ff
cmp word [esi + 0x54], 6
jbe 0x4679ff
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x4679f4
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [esi + 0x14]
add edx, 0xf0
jmp 0x467a49
mov eax, dword [esi]
cmp eax, ebx
je 0x467a44
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x467a16
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [esi]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, ebx
je 0x467a44
test word [eax + 8], 0x2460
je 0x467a3e
mov esi, eax
call fcn.00410ef0
mov esi, dword [esp + 0x1c]
jmp 0x467a44
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x467a5c
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
jmp 0x467aa1
test al, 8
je 0x467a6b
mov eax, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x467aa1
test al, 0x12
je 0x467a9b
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x50]
push ecx
mov cl, byte [edx + 0xa]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.00409da0
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x467aa1
xor edi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
cmp byte [eax + 0x41], bl
mov ecx, dword [esi + 0x50]
jne 0x467aba
cmp ecx, 0xc0a
je 0x467aba
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x467abf
call fcn.00415310
mov dword [esi + 0x50], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x467ad5
push eax
call dword [0x47a064]
add esp, 4
mov dword [esp + 0x7c], edi
cmp dword [esi + 0x14], ebx
je 0x467b03
cmp word [esi + 0x54], 5
jbe 0x467b03
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x467af8
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [esi + 0x14]
add edx, 0xc8
jmp 0x467b4d
mov eax, dword [esi]
cmp eax, ebx
je 0x467b48
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x467b1a
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [esi]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, ebx
je 0x467b48
test word [eax + 8], 0x2460
je 0x467b42
mov esi, eax
call fcn.00410ef0
mov esi, dword [esp + 0x1c]
jmp 0x467b48
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x467b60
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
jmp 0x467ba5
test al, 8
je 0x467b6f
mov eax, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x467ba5
test al, 0x12
je 0x467b9f
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x30]
push ecx
mov cl, byte [edx + 0xa]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00409da0
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x34]
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x467ba5
xor edi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
cmp byte [eax + 0x41], bl
mov ecx, dword [esi + 0x50]
jne 0x467bbe
cmp ecx, 0xc0a
je 0x467bbe
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x467bc3
call fcn.00415310
mov dword [esi + 0x50], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x467bd9
push eax
call dword [0x47a064]
add esp, 4
mov dword [esp + 0x78], edi
cmp dword [esi + 0x14], ebx
je 0x467c07
cmp word [esi + 0x54], 7
jbe 0x467c07
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
cmp eax, ebx
je 0x467bfc
push eax
call dword [0x47a05c]
add esp, 4
mov edx, dword [esi + 0x14]
add edx, 0x118
jmp 0x467c51
mov eax, dword [esi]
cmp eax, ebx
je 0x467c4c
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x467c1e
push eax
call dword [0x47a05c]
add esp, 4
mov eax, dword [esi]
mov dword [eax + 0x34], 0x19
mov eax, dword [eax + 0xec]
cmp eax, ebx
je 0x467c4c
test word [eax + 8], 0x2460
je 0x467c46
mov esi, eax
call fcn.00410ef0
mov esi, dword [esp + 0x1c]
jmp 0x467c4c
mov word [eax + 8], 1
mov edx, 0x472cc0
movzx eax, word [edx + 8]
test al, 4
je 0x467c64
mov edi, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x14], edx
jmp 0x467ca9
test al, 8
je 0x467c73
mov eax, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp + 0x14], eax
jmp 0x467ca9
test al, 0x12
je 0x467ca3
mov eax, dword [edx + 0xc]
lea ecx, [esp + 0x48]
push ecx
mov cl, byte [edx + 0xa]
mov edx, dword [edx + 0x10]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
call fcn.00409da0
mov edx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
add esp, 4
mov dword [esp + 0x14], edx
jmp 0x467ca9
xor edi, edi
mov dword [esp + 0x14], ebx
mov eax, dword [esi]
cmp byte [eax + 0x41], bl
mov ecx, dword [esi + 0x50]
jne 0x467cc2
cmp ecx, 0xc0a
je 0x467cc2
mov eax, dword [eax + 0x38]
and eax, ecx
jmp 0x467cc7
call fcn.00415310
mov dword [esi + 0x50], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
cmp eax, ebx
je 0x467cdd
push eax
call dword [0x47a064]
add esp, 4
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea ebx, [esp + 0x78]
mov dword [esp + 0x8c], edi
call fcn.004673c0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov eax, dword [eax]
add esp, 8
lea edx, [esp + 0x64]
push edx
call eax
mov eax, esi
call fcn.0044df10
cmp eax, 0x64
mov ebx, dword [esp + 0x1c]
je 0x467670
mov eax, ebx
call fcn.004499a0
mov edi, dword [esp + 0x2c]
mov eax, edi
call fcn.00444220
cmp word [esp + 0x2a0], 0
je 0x467d47
lea ecx, [esp + 0x2a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4