Function at 0x4659d0
Capabilities:
Check if file exists
Copy file
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
cmp dword [0x6f829c], 0
je 0x4659f1
jmp 0x465d97
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx eax, al
test eax, eax
je 0x465ad0
mov dword [0x6f829c], 1
lea ecx, [ebp - 0x1c]
call fcn.004219f0
lea ecx, [ebp - 0x1c]
push ecx
call sym.birdwp.exe_bool___cdecl_Loop::GetDLPath_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t____
add esp, 4
lea ecx, [ebp - 0x1c]
call fcn.00424f40
push eax
mov ecx, 0x6fbb3c
call fcn.00413a70
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
je 0x465a70
call fcn.0052ccf0
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00456650
add esp, 8
push eax
mov ecx, 0x6fbb3c
call fcn.0040d360
lea ecx, [ebp - 0x4c]
call fcn.00413870
mov dword [0x6f829c], 0
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
jne 0x465ac3
xor eax, eax
mov byte [ebp - 0x39], al
mov ecx, 0x6fbb3c
call fcn.0040dcd0
shl eax, 1
push eax
mov ecx, 0x6fbb3c
call fcn.00422c50
push eax
push 1
push 0x6892ec
lea ecx, [ebp - 0x39]
call fcn.0046b130
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x1c]
call fcn.00421c50
jmp 0x465b6e
mov ecx, 0x6fbb3c
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465b6e
mov dword [0x6f829c], 1
call fcn.0052ccf0
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.00456650
add esp, 8
push eax
mov ecx, 0x6fbb3c
call fcn.0040d360
lea ecx, [ebp - 0x50]
call fcn.00413870
mov dword [0x6f829c], 0
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx eax, al
test eax, eax
jne 0x465b6e
xor ecx, ecx
mov byte [ebp - 0x3a], cl
mov ecx, 0x6fbb3c
call fcn.0040dcd0
shl eax, 1
push eax
mov ecx, 0x6fbb3c
call fcn.00422c50
push eax
push 1
push 0x689308
lea ecx, [ebp - 0x3a]
call fcn.0046ada0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
je 0x465b84
jmp 0x465d97
lea ecx, [ebp - 0x44]
call fcn.00413220
lea ecx, [ebp - 0x40]
call fcn.00413220
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cb170
push eax
lea ecx, [ebp - 0x44]
call fcn.0040d360
lea ecx, [ebp - 0x54]
call fcn.00413870
push 0x6fbb3c
lea ecx, [ebp - 0x40]
call fcn.0040d360
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005caa30
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00606cc6
add esp, 8
mov ecx, eax
call fcn.00424f40
push eax
lea ecx, [ebp - 0x40]
call fcn.004318c0
lea ecx, [ebp - 0x34]
call fcn.00421c50
push 0x689324
lea ecx, [ebp - 0x40]
call fcn.004318c0
lea ecx, [ebp - 0x40]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465c3c
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00465e80
jmp 0x465d87
lea ecx, [ebp - 0x44]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x465c9e
push 0
lea ecx, [ebp - 0x40]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x44]
call fcn.00422c50
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0
je 0x465c7e
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00465e80
jmp 0x465c99
push 0x10
push 0x689330
push 0x689338
call fcn.0052ccf0
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x465d87
lea ecx, [ebp - 0x40]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x465d87
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005cac60
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x6ac
call fcn.00418cd0
push eax
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6ac
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx ecx, al
test ecx, ecx
je 0x465d7f
push 0x211b
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x60c]
mov ecx, dword [eax + 4]
push ecx
push 0
push ecx
mov ecx, esp
lea edx, [ebp - 0x44]
push edx
call fcn.00421650
push ecx
mov ecx, esp
lea eax, [ebp - 0x48]
push eax
call fcn.00421650
call fcn.004da4c0
add esp, 0x14
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x64], ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x628
call fcn.0044be00
mov ecx, eax
call fcn.005caa30
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6ac
call fcn.0044bf90
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
mov edx, dword [ebp - 0x60]
mov dword [eax + 4], edx
lea ecx, [ebp - 0x48]
call fcn.00413870
lea ecx, [ebp - 0x40]
call fcn.00413870
lea ecx, [ebp - 0x44]
call fcn.00413870
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 4