Function at 0x41a600
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4aac70
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x4cc850]
xor eax, esp
mov dword [esp + 0x190], eax
push ebx
push esi
push edi
mov eax, dword [0x4cc850]
xor eax, esp
push eax
lea eax, [esp + 0x1a8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, ecx
call fcn.004073f0
mov dword [esp + 0x14], eax
mov byte [eax + 0x45], 1
mov eax, dword [esp + 0x14]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x10]
push eax
mov edx, esi
mov ecx, edi
mov dword [esp + 0x1b4], ebx
call fcn.0041c7b0
test al, al
je 0x41b0c4
push 0xc
push str.UninsVer.txt
lea esi, [esp + 0x11c]
mov dword [esp + 0x134], 7
mov dword [esp + 0x130], ebx
mov word [esp + 0x120], bx
call fcn.00406d50
mov ecx, esi
push ecx
lea edx, [esp + 0x14]
push edx
mov byte [esp + 0x1b8], 1
call fcn.004235e0
cmp dword [eax + 0x18], 8
jb 0x41a6d6
mov eax, dword [eax + 4]
jmp 0x41a6d9
add eax, 4
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00423a10
mov byte [esp + 0x1b0], 3
cmp dword [esp + 0x12c], 8
jb 0x41a706
mov ecx, dword [esp + 0x118]
push ecx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0xb8], ebx
mov dword [esp + 0x12c], 7
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], bx
je 0x41b095
lea eax, [edi + 0x90]
push eax
lea edx, [esp + 0x68]
push edx
call fcn.00426870
add esp, 8
lea esi, [esp + 0x6c]
call fcn.00425400
test eax, eax
jne 0x41a76f
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x6c]
lea ecx, [esp + ecx + 0x64]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x41a768
or eax, 4
push ebx
push eax
call fcn.00412820
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
mov byte [esp + 0x1b0], 4
cmp dword [edi + 0x64], 1
jne 0x41a865
mov eax, dword [edi + 0x68]
mov edx, dword [edi + 0x58]
lea ecx, [edi + 0x90]
push ecx
mov ecx, dword [edi + 0x6c]
push ecx
add eax, 0x1c
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00453430
mov edx, str._UninsFolder_
lea eax, [esp + 0x14c]
mov byte [esp + 0x1b0], 5
call fcn.00405e60
lea ecx, [esp + 0x14c]
push ecx
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 6
call fcn.004539c0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x138]
mov byte [esp + 0x1b8], 7
call fcn.00406430
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x41a820
mov edx, dword [esp + 0x3c]
push edx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x41a84a
mov eax, dword [esp + 0x150]
push eax
call fcn.004692b1
add esp, 4
mov byte [esp + 0x1b0], 4
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], vtable.CAUEnv.0
call fcn.00406b70
jmp 0x41a86a
mov esi, 8
cmp dword [edi + 0x64], 2
jne 0x41a92c
mov eax, dword [edi + 0x68]
mov ecx, dword [edi + 0x5c]
push ecx
add eax, 0x1c
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00452b10
mov edx, str._UninsFolder_
lea eax, [esp + 0x14c]
mov byte [esp + 0x1b0], 8
call fcn.00405e60
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 9
call fcn.004539c0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x138]
mov byte [esp + 0x1b8], 0xa
call fcn.00406430
cmp dword [esp + 0x50], esi
jb 0x41a8e9
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x41a913
mov edx, dword [esp + 0x150]
push edx
call fcn.004692b1
add esp, 4
mov byte [esp + 0x1b0], 4
lea eax, [esp + 0x20]
mov dword [esp + 0x1c], vtable.CAUEnv.0
call fcn.00406b70
cmp dword [esp + 0x144], ebx
jne 0x41a989
cmp dword [esp + 0x148], esi
jb 0x41a94e
mov eax, dword [esp + 0x134]
push eax
call fcn.004692b1
add esp, 4
lea ecx, [esp + 0xbc]
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], ebx
mov word [esp + 0x134], bx
mov byte [esp + 0x1b0], 0
call fcn.00423ad0
lea ecx, [esp + 0xbc]
push ecx
jmp 0x41b0b1
cmp dword [esp + 0x148], esi
mov esi, dword [esp + 0x134]
jae 0x41a9a0
lea esi, [esp + 0x134]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41a9bb
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
setne al
test al, al
jne 0x41a9cb
lea edx, [esp + 0x130]
push edx
call fcn.004495c0
add esp, 4
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
xor edi, edi
cmp eax, edi
je 0x41a9fa
lea ecx, [esp + 0x10]
cmp eax, ecx
je 0x41a9ff
call fcn.00484029
cmp ebx, esi
je 0x41af60
cmp dword [esp + 0x1c], edi
jne 0x41aa12
call fcn.00484029
mov edx, dword [esp + 0x1c]
cmp ebx, dword [edx + 4]
jne 0x41aa20
call fcn.00484029
cmp dword [ebx + 0x40], 8
jb 0x41aa2b
mov edx, dword [ebx + 0x2c]
jmp 0x41aa2e
lea edx, [ebx + 0x2c]
mov eax, edx
mov dword [esp + 0x164], 7
mov dword [esp + 0x160], edi
mov word [esp + 0x150], di
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x41aa50
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x154]
call fcn.00406d50
mov eax, esi
push eax
lea esi, [esp + 0x118]
mov byte [esp + 0x1b4], 0xb
call fcn.00449650
add esp, 4
cmp dword [esp + 0x164], 8
jb 0x41aaa1
mov ecx, dword [esp + 0x150]
push ecx
call fcn.004692b1
add esp, 4
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], edi
mov word [esp + 0xfc], di
mov byte [esp + 0x1b0], 0xe
mov edx, dword [esp + 0x118]
mov esi, 8
cmp dword [esp + 0x12c], esi
jae 0x41aadf
lea edx, [esp + 0x118]
cmp dword [esp + 0x148], esi
mov ecx, dword [esp + 0x134]
jae 0x41aaf6
lea ecx, [esp + 0x134]
lea eax, [esp + 0xf8]
push eax
call fcn.0043df40
add esp, 4
push 0x5c
push 0x2f
lea edi, [esp + 0x100]
call fcn.00401c00
mov eax, dword [esp + 0x104]
add esp, 8
cmp dword [esp + 0x110], esi
jae 0x41ab30
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x41ab63
mov ecx, dword [esp + 0x1c]
cmp ebx, dword [ecx + 4]
jne 0x41ab4a
call fcn.00484029
lea edx, [esp + 0xf8]
push edx
lea eax, [ebx + 0x28]
push eax
call fcn.0041d1c0
cmp al, 1
jne 0x41abe2
cmp dword [esp + 0x110], esi
mov esi, dword [esp + 0xfc]
jae 0x41ab7a
lea esi, [esp + 0xfc]
mov ecx, dword [esp + 0x1c]
cmp ebx, dword [ecx + 4]
jne 0x41ab88
call fcn.00484029
mov edi, 8
cmp dword [ebx + 0x40], edi
jb 0x41ab97
mov eax, dword [ebx + 0x2c]
jmp 0x41ab9a
lea eax, [ebx + 0x2c]
push 0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41abe4
lea ecx, [esp + 0xf8]
call fcn.00401a00
lea ecx, [esp + 0x114]
call fcn.00401a00
lea ecx, [esp + 0x130]
call fcn.00401a00
lea eax, [esp + 0x64]
mov byte [esp + 0x1b0], 0
call fcn.0041b100
jmp 0x41b0c4
mov edi, esi
xor eax, eax
push 0xd
push str.UninstRsc.dll
lea esi, [esp + 0x170]
mov dword [esp + 0x188], 7
mov dword [esp + 0x184], eax
mov word [esp + 0x174], ax
call fcn.00406d50
cmp dword [esp + 0x180], edi
mov ecx, dword [esp + 0x16c]
jae 0x41ac2a
lea ecx, [esp + 0x16c]
cmp dword [esp + 0x12c], edi
mov eax, dword [esp + 0x118]
jae 0x41ac41
lea eax, [esp + 0x118]
push 0xffffffffffffffff
push ecx
push 0xffffffffffffffff
push eax
push 1
push 0x800
call dword [sym.imp.KERNEL32.dll_CompareStringW]
add eax, 0xfffffffe
sete bl
cmp dword [esp + 0x180], 8
jb 0x41ac74
mov edx, dword [esp + 0x16c]
push edx
call fcn.004692b1
add esp, 4
test bl, bl
je 0x41aef3
lea edi, [esp + 0xf8]
call fcn.00405f60
xor eax, eax
mov dword [esp + 0x164], 7
mov dword [esp + 0x160], eax
mov word [esp + 0x150], ax
mov byte [esp + 0x1b0], 0xf
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp esi, dword [eax + 4]
jne 0x41acbe
call fcn.00484029
cmp dword [esi + 0x40], 8
jb 0x41acc9
mov ecx, dword [esi + 0x2c]
jmp 0x41accc
lea ecx, [esi + 0x2c]
lea edx, [esp + 0x14c]
push edx
call fcn.0043ddf0
lea eax, [esp + 0x150]
add esp, 4
push eax
lea esi, [esp + 0x16c]
call fcn.00449650
add esp, 4
push 1
push 0x4b5618
mov eax, esi
mov byte [esp + 0x1b8], 0x10
call fcn.00424c80
push 9
xor edi, edi
push 0x4b561c
lea esi, [esp + 0x40]
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
call fcn.00406d50
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x170]
mov byte [esp + 0x1b8], 0x11
mov esi, dword [esp + 0x54]
push ecx
lea ebx, [esp + 0x120]
call fcn.00424b40
mov ebx, 8
mov byte [esp + 0x1b0], 0x10
cmp dword [esp + 0x50], ebx
jb 0x41ad6f
mov edx, dword [esp + 0x3c]
push edx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x12c], ebx
mov edx, dword [esp + 0x118]
jae 0x41ad86
lea edx, [esp + 0x118]
cmp dword [esp + 0x148], ebx
mov ecx, dword [esp + 0x134]
jae 0x41ad9d
lea ecx, [esp + 0x134]
lea eax, [esp + 0xf8]
push eax
call fcn.0043df40
add esp, 4
push 0x5c
push 0x2f
lea edi, [esp + 0x100]
call fcn.00401c00
mov eax, dword [esp + 0x104]
add esp, 8
cmp dword [esp + 0x110], ebx
jae 0x41add7
lea eax, [esp + 0xfc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
mov esi, dword [esp + 0x20]
jne 0x41ae0e
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 4]
jne 0x41adf5
call fcn.00484029
lea edx, [esp + 0xf8]
push edx
lea eax, [esi + 0x28]
push eax
call fcn.0041d1c0
cmp al, 1
jne 0x41aea0
cmp dword [esp + 0x110], ebx
mov edi, dword [esp + 0xfc]
jae 0x41ae25
lea edi, [esp + 0xfc]
mov ecx, dword [esp + 0x1c]
cmp esi, dword [ecx + 4]
jne 0x41ae33
call fcn.00484029
cmp dword [esi + 0x40], ebx
jb 0x41ae3d
mov esi, dword [esi + 0x2c]
jmp 0x41ae40
add esi, 0x2c
xor ebx, ebx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x41aea2
lea ecx, [esp + 0x168]
call fcn.00401a00
lea ecx, [esp + 0x14c]
call fcn.00401a00
lea ecx, [esp + 0xf8]
call fcn.00401a00
lea ecx, [esp + 0x114]
call fcn.00401a00
lea ecx, [esp + 0x130]
call fcn.00401a00
lea eax, [esp + 0x64]
mov byte [esp + 0x1b0], bl
call fcn.0041b100
jmp 0x41b0c4
xor ebx, ebx
mov esi, 8
cmp dword [esp + 0x180], esi
jb 0x41aec0
mov edx, dword [esp + 0x16c]
push edx
call fcn.004692b1
add esp, 4
cmp dword [esp + 0x164], esi
mov dword [esp + 0x180], 7
mov dword [esp + 0x17c], ebx
mov word [esp + 0x16c], bx
jb 0x41aef3
mov eax, dword [esp + 0x150]
push eax
call fcn.004692b1
add esp, 4
lea esi, [esp + 0x1c]
call fcn.00407f80
mov esi, 8
cmp dword [esp + 0x110], esi
jb 0x41af1a
mov ecx, dword [esp + 0xfc]
push ecx
call fcn.004692b1
add esp, 4
xor eax, eax
mov byte [esp + 0x1b0], 4
cmp dword [esp + 0x12c], esi
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], eax
mov word [esp + 0xfc], ax
jb 0x41a9e0
mov edx, dword [esp + 0x118]
push edx
call fcn.004692b1
add esp, 4
jmp 0x41a9e0
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x19c], 7
mov dword [esp + 0x198], edi
mov word [esp + 0x188], di
mov bl, 0x13
mov edx, 0x4b3a90
lea eax, [esp + 0x38]
mov byte [esp + 0x1b0], bl
call fcn.00405e60
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x58]
mov byte [esp + 0x1b4], 0x14
call fcn.004062b0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b0], bl
call fcn.00401a00
mov ecx, esi
push ecx
lea ecx, [esp + 0x3c]
call fcn.0043e6a0
add esp, 4
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x18c]
mov byte [esp + 0x1b8], 0x15
call fcn.00406430
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b0], bl
call fcn.00401a00
mov edx, str.INSTALL_UIW
lea eax, [esp + 0x1c]
call fcn.00405e60
mov edx, 0x4b3ac8
lea eax, [esp + 0x38]
mov byte [esp + 0x1b0], 0x16
call fcn.00405e60
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x188]
lea edx, [esp + 0x3c]
mov byte [esp + 0x1b4], 0x17
call fcn.004444d0
add esp, 4
lea ecx, [esp + 0x38]
call fcn.00401a00
lea ecx, [esp + 0x1c]
call fcn.00401a00
lea ecx, [esp + 0x184]
call fcn.00401a00
call fcn.00406240
lea ecx, [esp + 0x130]
call fcn.00401a00
lea eax, [esp + 0x64]
mov byte [esp + 0x1b0], 0
call fcn.0041b100
lea eax, [esp + 0x10]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.00406b70
mov al, 1
jmp 0x41b0da
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1b0], 0
call fcn.00423ad0
lea eax, [esp + 0xbc]
push eax
mov dword [esp + 0xc0], vtable.std::ios_base.0
call fcn.004a173c
add esp, 4
lea eax, [esp + 0x10]
mov dword [esp + 0x1b0], 0xffffffff
call fcn.00406b70
xor al, al
mov ecx, dword [esp + 0x1a8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x190]
xor ecx, esp
call fcn.00483bf3
mov esp, ebp
pop ebp
ret 4