Function at 0x429ced
Capabilities:
Copy file

Disassembly:
push 0xa8
mov eax, 0x440610
call fcn.0043d0b2
lea eax, [ebp - 0x18]
xor esi, esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
call fcn.00427655
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_DoesPathExists_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____const__]
pop ecx
test eax, eax
jne 0x429d3c
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
call fcn.0043d18a
ret 4
lea ecx, [ebp - 0x28]
call dword [0x474bb4]
lea ecx, [ebp - 0x30]
call dword [0x474bb4]
lea ecx, [ebp - 0x2c]
call dword [0x474bb4]
lea eax, [ebp - 0x74]
mov ebx, 0x800
push eax
mov edi, ebx
mov byte [ebp - 4], 4
call fcn.0042cd50
lea eax, [ebp - 0xb4]
push eax
mov byte [ebp - 4], 5
call fcn.0042cd50
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call dword [0x474b9c]
push 0x481b70
push str.cookies.txt
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace_1]
push esi
push esi
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x474b9c]
lea edi, [ebp - 0x74]
call fcn.0042ce06
cmp eax, esi
je 0x429ee0
push 1
push esi
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call dword [0x474b9c]
lea edi, [ebp - 0xb4]
call fcn.0042ce06
cmp eax, esi
je 0x429ee0
push ebx
mov dword [ebp - 0x1c], esi
call sub.mfc90u.dll_new__
pop ecx
push ebx
mov edi, eax
push esi
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
jmp 0x429ea0
push edi
lea ecx, [ebp - 0x20]
call dword [0x4746f0]
push 0
mov byte [ebp - 4], 8
push dword [ebp + 8]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find_1]
test eax, eax
jl 0x429e38
cmp dword [ebp - 0x1c], 0
jne 0x429e38
xor eax, eax
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
jmp 0x429e93
xor eax, eax
test edi, edi
je 0x429e67
mov eax, 0x400
mov edx, eax
mov ecx, edi
xor esi, esi
cmp word [ecx], 0
je 0x429e54
inc ecx
inc ecx
dec edx
jne 0x429e49
test edx, edx
jne 0x429e63
mov esi, 0x80070057
xor eax, eax
mov ecx, esi
jmp 0x429e6c
sub eax, edx
jmp 0x429e5f
mov ecx, 0x80070057
test ecx, ecx
jl 0x429e74
add eax, eax
jmp 0x429e76
xor eax, eax
lea ecx, [eax + 2]
lea eax, [ebp - 0xb4]
push eax
mov edx, edi
call fcn.0042d05c
push ebx
push 0
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x58]
add ecx, eax
push ebx
lea esi, [ebp - 0x74]
mov dword [ebp - 0x54], ecx
call fcn.0042cf25
test eax, eax
jne 0x429e07
push ebx
push eax
push edi
call sub.MSVCR90.dll_memset
add esp, 0xc
push edi
call sub.mfc90u.dll_delete__
pop ecx
call fcn.0042ce94
lea esi, [ebp - 0xb4]
call fcn.0042ce94
xor esi, esi
push esi
push dword [ebp - 0x18]
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
test al, al
je 0x429f08
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 0xc]
push esi
push ecx
push eax
call dword [sym.imp.K9PCUhelper.dll_enum_PCO_ERROR_CODES___cdecl_ShellDeleteFile_wchar_t_const___int__bool_]
add esp, 0xc
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 5
call fcn.0042cdc4
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 4
call fcn.0042cdc4
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x24]
jmp 0x429d20