Function at 0x440fb0
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 [0x6f6d94], 0
je 0x440fd1
jmp 0x441377
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx eax, al
test eax, eax
je 0x4410b0
mov dword [0x6f6d94], 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 0x441050
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 [0x6f6d94], 0
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
jne 0x4410a3
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 0x687f50
lea ecx, [ebp - 0x39]
call fcn.0044c240
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea ecx, [ebp - 0x1c]
call fcn.00421c50
jmp 0x44114e
mov ecx, 0x6fbb3c
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x44114e
mov dword [0x6f6d94], 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 [0x6f6d94], 0
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx eax, al
test eax, eax
jne 0x44114e
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 0x687f6c
lea ecx, [ebp - 0x3a]
call fcn.0044cce0
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, 0x6fbb3c
call fcn.0040dd70
movzx edx, al
test edx, edx
je 0x441164
jmp 0x441377
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, 0x624
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, 0x624
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 0x687f88
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 0x44121c
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00441390
jmp 0x441367
lea ecx, [ebp - 0x44]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x44127e
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 0x44125e
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00441390
jmp 0x441279
push 0x10
push 0x687f94
push 0x687f9c
call fcn.0052ccf0
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x441367
lea ecx, [ebp - 0x40]
call fcn.0040d3c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x441367
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x624
call fcn.0044be00
mov ecx, eax
call fcn.005cac60
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp - 0x38]
add ecx, 0x6a8
call fcn.00418cd0
push eax
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0x6a8
call fcn.0042fc70
mov ecx, eax
call fcn.00413ab0
movzx ecx, al
test ecx, ecx
je 0x44135f
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, 0x624
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, 0x6a8
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