Function at 0x45c770
Capabilities:
Check if file exists
Check os version
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ef521
mov eax, dword fs:[0]
push eax
sub esp, 0x1f8
mov eax, dword [0x5441b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
add edi, 0x5c
cmp dword [edi + 0x14], 8
jb 0x45c7ae
mov eax, dword [edi]
jmp 0x45c7b0
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45caa9
xor ebx, ebx
mov esi, 0xf
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0xa8], ebx
mov byte [ebp - 0xb8], bl
lea eax, [ebp - 0x204]
push eax
mov dword [ebp - 4], ebx
call fcn.00413990
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
push pe_nt_image_headers32
lea ecx, [ebp - 0x1d0]
push ebx
mov byte [ebp - 4], 2
push ecx
mov dword [ebp - 0x1d4], 0x11c
call fcn.004be120
add esp, 0xc
lea edx, [ebp - 0x1d4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x45c836
cmp dword [ebp - 0x1d0], 6
jb 0x45c836
push 0x4c
push str.aHR0cHM6Ly9kb3dubG9hZC5yb25nbWVpYmFvLm5ldC9wbHVnaW4vY2VmXzM3MjlfMTU3X3YyLjd6
jmp 0x45c83d
push 0x44
push str.aHR0cHM6Ly9kb3dubG9hZC5yb25nbWVpYmFvLm5ldC9wbHVnaW4vY2VmMjYyMy43eg
lea ecx, [ebp - 0x2c]
call fcn.00406bf0
cmp dword [ebp - 0x18], 0x10
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x1d8], ebx
jae 0x45c857
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x1d8]
push eax
push edx
lea edx, [ebp - 0x80]
call fcn.004011c0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 3
call fcn.004630d0
push str._tmp
lea ecx, [ebp - 0x48]
push edi
push ecx
mov byte [ebp - 4], 4
call fcn.00404300
add esp, 0x10
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], 8
mov edx, dword [ebp - 0x48]
jae 0x45c8a0
lea edx, [ebp - 0x48]
xor eax, eax
mov word [ebp - 0x9c], ax
mov eax, edx
mov dword [ebp - 0x88], 7
mov dword [ebp - 0x8c], ebx
lea esi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x45c8c0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x9c]
call fcn.004073c0
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x64]
mov esi, 8
cmp dword [ebp - 0x50], esi
jae 0x45c8f0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x204]
push ecx
lea ebx, [ebp - 0x9c]
call fcn.00414230
test al, al
sete bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x88], esi
jb 0x45c923
mov edx, dword [ebp - 0x9c]
push edx
call fcn.004b6106
add esp, 4
test bl, bl
je 0x45c9fc
mov eax, dword [0x547e58]
xor edi, edi
cmp eax, edi
je 0x45c96b
cmp dword [eax + 8], 2
mov ebx, eax
jl 0x45c96b
push 0x515234
push 2
push ecx
mov eax, esp
mov dword [ebp - 0x1d8], esp
push eax
mov ecx, 0x5124e8
mov esi, 0x135
call fcn.0042d450
push ebx
mov ecx, esi
call fcn.0042b0b0
mov esi, 8
cmp dword [ebp - 0x34], esi
jb 0x45c97c
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
xor edx, edx
mov ebx, 7
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x50], esi
jb 0x45c99e
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b6106
add esp, 4
xor ecx, ecx
mov esi, 0x10
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], edi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], esi
jb 0x45c9c0
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b6106
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], edi
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0x18], esi
jb 0x45c9e0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], edi
mov byte [ebp - 0x2c], 0
call fcn.00413a90
xor al, al
jmp 0x45caab
cmp dword [edi + 0x14], esi
jb 0x45ca05
mov eax, dword [edi]
jmp 0x45ca07
mov eax, edi
mov ecx, dword [ebp - 0x48]
cmp dword [ebp - 0x34], esi
jae 0x45ca12
lea ecx, [ebp - 0x48]
push 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp dword [ebp - 0x34], esi
jb 0x45ca2d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.004b6106
add esp, 4
xor esi, esi
xor edx, edx
cmp dword [ebp - 0x50], 8
mov edi, 7
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
jb 0x45ca52
mov eax, dword [ebp - 0x64]
push eax
call fcn.004b6106
add esp, 4
mov dword [ebp - 0x50], edi
xor ecx, ecx
mov edi, 0x10
mov dword [ebp - 0x54], esi
mov word [ebp - 0x64], cx
cmp dword [ebp - 0x6c], edi
jb 0x45ca74
mov edx, dword [ebp - 0x80]
push edx
call fcn.004b6106
add esp, 4
mov ebx, 0xf
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], esi
mov byte [ebp - 0x80], 0
cmp dword [ebp - 0x18], edi
jb 0x45ca94
mov eax, dword [ebp - 0x2c]
push eax
call fcn.004b6106
add esp, 4
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x2c], 0
call fcn.00413a90
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b6111
mov esp, ebp
pop ebp
ret 4