Function at 0x435370
Capabilities:
Check if file exists
Move file

Disassembly:
push 0xffffffffffffffff
push 0x44e888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword [0x463290]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
mov ebp, ecx
push esi
mov ecx, str.install
push edi
test ecx, ecx
mov byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
je 0x4353f8
mov edx, ecx
shr edx, 0x10
jne 0x4353c3
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x18]
push eax
call fcn.004050d0
jmp 0x4353f8
push str.install
call ebx
mov esi, eax
test esi, esi
je 0x4353f8
push esi
lea ecx, [esp + 0x1c]
call fcn.00402e70
test eax, eax
je 0x4353f8
mov edi, dword [esp + 0x18]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.install
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x54], 0
call fcn.004458f0
mov ecx, eax
call fcn.004464b0
mov eax, dword [esp + 0x18]
mov ecx, dword [0x463294]
mov byte [esp + 0x4c], 2
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43544a
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43544a
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43594d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43594d
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00413ac0
add esp, 4
test eax, eax
je 0x43594d
mov edx, dword [0x463290]
mov eax, str.main
test eax, eax
mov dword [esp + 0x1c], edx
je 0x4354e2
mov ecx, eax
shr ecx, 0x10
jne 0x4354ad
xor eax, eax
mov edx, str.main
mov ax, dx
lea ecx, [esp + 0x1c]
push eax
call fcn.004050d0
jmp 0x4354e2
push str.main
call ebx
mov esi, eax
test esi, esi
je 0x4354e2
push esi
lea ecx, [esp + 0x20]
call fcn.00402e70
test eax, eax
je 0x4354e2
mov edi, dword [esp + 0x1c]
lea ecx, [esi + esi]
mov eax, ecx
mov esi, str.main
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x2c]
push ecx
push edx
mov byte [esp + 0x54], 3
call fcn.004458f0
mov ecx, eax
call fcn.004464b0
mov eax, dword [esp + 0x1c]
mov edx, dword [0x463294]
mov byte [esp + 0x4c], 5
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x435531
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x435531
mov edx, dword [esp + 0x1c]
lea eax, [edx - 0xc]
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [0x463290]
mov ecx, 0x4d6e34
test ecx, ecx
mov dword [esp + 0x28], eax
je 0x435590
mov edx, ecx
shr edx, 0x10
jne 0x43555b
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x28]
push eax
call fcn.004050d0
jmp 0x435590
push 0x4d6e34
call ebx
mov esi, eax
test esi, esi
je 0x435590
push esi
lea ecx, [esp + 0x2c]
call fcn.00402e70
test eax, eax
je 0x435590
mov edi, dword [esp + 0x28]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, 0x4d6e34
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x28]
mov byte [esp + 0x4c], 6
push eax
call fcn.00412a30
mov ecx, dword [esp + 0x30]
add esp, 4
mov eax, dword [ecx - 8]
test eax, eax
je 0x435931
mov eax, dword [esp + 0x28]
mov edx, dword [eax - 8]
test edx, edx
je 0x435931
push eax
push ecx
call fcn.00414360
add esp, 8
test eax, eax
jle 0x435931
mov ecx, dword [0x463290]
mov dword [esp + 0x34], ecx
lea edx, [esp + 0x34]
lea eax, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x54], 7
call fcn.004429f0
mov ecx, dword [0x463290]
mov edx, 0x469488
add esp, 8
mov dword [esp + 0x20], ecx
test edx, edx
je 0x435655
mov eax, edx
shr eax, 0x10
jne 0x435620
xor eax, eax
mov ecx, edx
mov ax, cx
lea ecx, [esp + 0x20]
push eax
call fcn.004050d0
jmp 0x435655
push 0x469488
call ebx
mov esi, eax
test esi, esi
je 0x435655
push esi
lea ecx, [esp + 0x24]
call fcn.00402e70
test eax, eax
je 0x435655
mov edi, dword [esp + 0x20]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, 0x469488
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
push eax
push ecx
mov byte [esp + 0x54], 8
call fcn.004458f0
mov ecx, eax
call fcn.004464b0
mov eax, dword [esp + 0x20]
mov ecx, dword [0x463294]
mov byte [esp + 0x4c], 0xa
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x4356a4
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x4356a4
mov eax, dword [esp + 0x20]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x435915
mov eax, dword [0x463290]
mov ecx, str.notipver
test ecx, ecx
mov dword [esp + 0x24], eax
je 0x43571e
mov edx, ecx
shr edx, 0x10
jne 0x4356e9
xor eax, eax
mov ax, cx
lea ecx, [esp + 0x24]
push eax
call fcn.004050d0
jmp 0x43571e
push str.notipver
call ebx
mov esi, eax
test esi, esi
je 0x43571e
push esi
lea ecx, [esp + 0x28]
call fcn.00402e70
test eax, eax
je 0x43571e
mov edi, dword [esp + 0x24]
lea ecx, [esi + esi]
mov edx, ecx
mov esi, str.notipver
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x24]
lea ecx, [esp + 0x3c]
push eax
push ecx
mov byte [esp + 0x54], 0xb
call fcn.004458f0
mov ecx, eax
call fcn.004464b0
mov eax, dword [esp + 0x24]
mov ecx, dword [0x463294]
mov byte [esp + 0x4c], 0xd
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x43576d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x43576d
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
push eax
call fcn.0044737a
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43578e
mov ecx, dword [esp + 0x2c]
push eax
push ecx
call fcn.00414360
add esp, 8
test eax, eax
jle 0x435907
lea edx, [esp + 0x14]
push str..tmp
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.00409a80
mov edi, eax
mov ecx, dword [ebp + 0x9c0]
mov eax, dword [edi]
lea esi, [ebp + 0x9c0]
cmp ecx, eax
mov byte [esp + 0x4c], 0xe
je 0x4357f9
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x4357cf
mov edx, dword [0x463294]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x4357d6
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x4357e4
mov ecx, dword [eax - 8]
push eax
push ecx
mov ecx, esi
call fcn.00404f60
jmp 0x4357f9
mov ecx, esi
call fcn.00402f00
mov edi, dword [edi]
mov dword [esi], edi
add edi, 0xfffffff4
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 0xd
call fcn.0043c2e0
mov esi, dword [esi]
mov edx, dword [esp + 0x14]
push 3
push esi
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x435907
lea eax, [esp + 0x14]
lea ecx, [ebp + 0x9cc]
push eax
call fcn.00402fa0
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [ebp + 0x9d4]
call fcn.00402fa0
push str.tipver
lea ecx, [esp + 0x3c]
call fcn.00427bb0
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
mov bl, 0xf
push edx
push eax
mov byte [esp + 0x54], bl
call fcn.004458f0
mov ecx, eax
call fcn.004464b0
push eax
lea ecx, [ebp + 0x9e0]
mov byte [esp + 0x50], 0x10
call fcn.00402fa0
lea ecx, [esp + 0x40]
mov byte [esp + 0x4c], bl
call fcn.0043c2e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 0xd
call fcn.0043c2e0
lea ecx, [esp + 0x30]
push ecx
lea ecx, [ebp + 0x9d8]
call fcn.00402fa0
push str.cmdline
lea ecx, [esp + 0x3c]
call fcn.00427bb0
lea edx, [esp + 0x38]
lea eax, [esp + 0x40]
mov bl, 0x11
push edx
push eax
mov byte [esp + 0x54], bl
call fcn.004458f0
mov ecx, eax
call fcn.004464b0
push eax
lea ecx, [ebp + 0x9dc]
mov byte [esp + 0x50], 0x12
call fcn.00402fa0
lea ecx, [esp + 0x40]
mov byte [esp + 0x4c], bl
call fcn.0043c2e0
lea ecx, [esp + 0x38]
mov byte [esp + 0x4c], 0xd
call fcn.0043c2e0
mov al, 1
mov byte [ebp + 0x9bd], al
mov byte [esp + 0x13], al
lea ecx, [esp + 0x3c]
mov byte [esp + 0x4c], 0xa
call fcn.0043c2e0
lea ecx, [esp + 0x30]
mov byte [esp + 0x4c], 7
call fcn.0043c2e0
lea ecx, [esp + 0x34]
mov byte [esp + 0x4c], 6
call fcn.0043c2e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 5
call fcn.0043c2e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x4c], 2
call fcn.0043c2e0
lea ecx, [esp + 0x14]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043c2e0
mov ecx, dword [esp + 0x44]
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4