Function at 0x420f50
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c97e
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x4bc704]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x10]
call fcn.00417c00
push str.Okys
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00409300
add esp, 0xc
mov byte [ebp - 4], 1
test byte [sym.Okinstall.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
jne 0x420fc9
or dword [sym.Okinstall.exe____B_1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_51], 1
mov byte [ebp - 4], 2
call fcn.00413bf0
push 0x495560
call fcn.004683c5
add esp, 4
mov byte [ebp - 4], 1
lea edi, [ebp - 0x1c]
mov ecx, sym.Okinstall.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wra
call fcn.00414f30
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x1c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x30], esp
mov esi, esp
call fcn.00404780
lea edx, [ebp - 0x2c]
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.004181f0
mov edi, eax
add esp, 8
lea eax, [ebp - 0x18]
push eax
mov ecx, str.Uninst.exe
call fcn.00404d20
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.0040a4b0
add esp, 0xc
lea ecx, [ebp - 0x24]
push ecx
push sym.Okinstall.exe__t__1__get_instance___singleton_VCFpInstallPath___serialization_boost__CAAAVCFpInstallPath__XZ_4V__singleton_wra
mov byte [ebp - 4], 5
call fcn.00414ff0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 6
call fcn.0040a4b0
mov eax, dword [eax]
mov edx, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileW]
add esp, 0xc
push 0
push eax
push edx
call esi
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42107e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x14]
push ecx
mov ecx, str._setup.ini
call fcn.00404d20
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
push ecx
mov byte [ebp - 4], 7
call fcn.0040a4b0
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov byte [ebp - 4], 8
call fcn.0040a4b0
mov eax, dword [eax]
mov edx, dword [ebp - 0x20]
add esp, 0x18
push 0
push eax
push edx
call esi
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4210e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421106
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421129
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42114c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42116f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x421192
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4211fe
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret