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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x6eb874]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], ecx
cmp dword [0x6f72f4], 0
je 0x459356
xor eax, eax
jmp 0x459772
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx eax, al
test eax, eax
je 0x459435
mov dword [0x6f72f4], 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 0x4593d5
call fcn.0052ccf0
mov eax, dword [eax + 4]
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00456650
add esp, 8
push eax
mov ecx, 0x6fbb3c
call fcn.0040d360
lea ecx, [ebp - 0x58]
call fcn.00413870
mov dword [0x6f72f4], 0
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
jne 0x459428
xor eax, eax
mov byte [ebp - 0x3d], al
mov ecx, 0x6fbb3c
call fcn.0040dcd0
shl eax, 1
push eax
mov ecx, 0x6fbb3c
call fcn.00422c50
push eax
push 1
push 0x688b28
lea ecx, [ebp - 0x3d]
call fcn.0045dd60
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x1c]
call fcn.00421c50
jmp 0x4594d3
mov ecx, 0x6fbb3c
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4594d3
mov dword [0x6f72f4], 1
call fcn.0052ccf0
mov ecx, dword [eax + 4]
push ecx
lea edx, [ebp - 0x5c]
push edx
call fcn.00456650
add esp, 8
push eax
mov ecx, 0x6fbb3c
call fcn.0040d360
lea ecx, [ebp - 0x5c]
call fcn.00413870
mov dword [0x6f72f4], 0
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx eax, al
test eax, eax
jne 0x4594d3
xor ecx, ecx
mov byte [ebp - 0x3e], cl
mov ecx, 0x6fbb3c
call fcn.0040dcd0
shl eax, 1
push eax
mov ecx, 0x6fbb3c
call fcn.00422c50
push eax
push 1
push 0x688b44
lea ecx, [ebp - 0x3e]
call fcn.0045d0e0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
je 0x4594ee
mov eax, 0x80004005
jmp 0x459772
lea ecx, [ebp - 0x48]
call fcn.00413220
lea ecx, [ebp - 0x3c]
call fcn.00413220
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x6b4]
mov dword [ebp - 0x4c], ecx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.0045a400
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x45953e
mov dword [ebp - 0x60], 0
lea ecx, [ebp - 0x3c]
call fcn.00413870
lea ecx, [ebp - 0x48]
call fcn.00413870
mov eax, dword [ebp - 0x60]
jmp 0x459772
lea eax, [ebp - 0x64]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cb170
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d360
lea ecx, [ebp - 0x64]
call fcn.00413870
push 0x6fbb3c
lea ecx, [ebp - 0x3c]
call fcn.0040d360
mov edx, dword [ebp - 0x4c]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.0044be00
mov eax, dword [eax + 0x14]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.00606cc6
add esp, 8
mov ecx, eax
call fcn.00424f40
push eax
lea ecx, [ebp - 0x3c]
call fcn.004318c0
lea ecx, [ebp - 0x34]
call fcn.00421c50
push 0x688b60
lea ecx, [ebp - 0x3c]
call fcn.004318c0
lea ecx, [ebp - 0x3c]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4595dc
push 1
mov ecx, dword [ebp - 0x38]
call fcn.0045b090
jmp 0x459758
lea ecx, [ebp - 0x48]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45963e
push 0
lea ecx, [ebp - 0x3c]
call fcn.00422c50
push eax
lea ecx, [ebp - 0x48]
call fcn.00422c50
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
je 0x45961e
push 1
mov ecx, dword [ebp - 0x38]
call fcn.0045b090
jmp 0x459639
push 0x10
push 0x688b6c
push 0x688b74
call fcn.0052ccf0
mov edx, dword [eax + 4]
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x459758
lea ecx, [ebp - 0x3c]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459758
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.0044be00
mov ecx, eax
call fcn.005cac60
lea edx, [ebp - 0x80]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x6d4
call fcn.00418cd0
push eax
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x84]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x6d4
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx edx, al
test edx, edx
je 0x459750
push 0x210e
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 0x60c]
mov edx, dword [ecx + 4]
push edx
push 0
push ecx
mov ecx, esp
lea eax, [ebp - 0x48]
push eax
call fcn.00421650
push ecx
mov ecx, esp
lea edx, [ebp - 0x50]
push edx
call fcn.00421650
call fcn.004da4c0
add esp, 0x14
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x44]
call fcn.0058fbf0
push eax
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x38]
add ecx, 0x6a8
call fcn.0044bef0
mov ecx, eax
call fcn.0040d360
lea ecx, [ebp - 0x70]
call fcn.00413870
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x4c]
push ecx
mov ecx, dword [ebp - 0x44]
add ecx, 8
call fcn.0044be00
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x78], edx
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6d4
call fcn.0044bf90
mov ecx, dword [ebp - 0x7c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x78]
mov dword [eax + 4], edx
lea ecx, [ebp - 0x50]
call fcn.00413870
mov dword [ebp - 0x74], 0
lea ecx, [ebp - 0x3c]
call fcn.00413870
lea ecx, [ebp - 0x48]
call fcn.00413870
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.006135ac
mov esp, ebp
pop ebp
ret 0x10