Function at 0x458558
Capabilities:
Delete file
Move file

Disassembly:
push 0x5d4
mov eax, 0x4d9884
call fcn.004b67cf
mov al, byte [0x57bd4a]
test al, al
jne 0x4588f7
call fcn.00457b80
test eax, eax
jne 0x4585e5
xor ebx, ebx
cmp byte [ebp + 8], bl
jne 0x4588f7
push ebx
push 0x2010
push 0x52dc10
push ecx
mov ecx, esp
mov dword [ebp - 0x43c], esp
push str.RESOURCESTRING
call fcn.0040254f
push ecx
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x438], esp
push str.IDS_CANNOT_CONNECT
call fcn.0040254f
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x448]
push eax
call fcn.00406eff
mov dword [ebp - 4], 1
push dword [eax]
call fcn.00491d70
mov ecx, dword [ebp - 0x448]
jmp 0x4588ef
push 0x52dc10
lea ecx, [ebp - 0x444]
mov byte [0x57bd4a], 1
call fcn.0040254f
mov esi, 0x208
push esi
xor ebx, ebx
lea eax, [ebp - 0x224]
push ebx
push eax
mov dword [ebp - 4], 2
call fcn.004b62d0
add esp, 0xc
lea eax, [ebp - 0x224]
push eax
call fcn.0045d1ed
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x430]
call fcn.0040254f
lea eax, [ebp - 0x430]
push eax
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.004022fa
push ecx
mov dword [ebp - 0x440], esp
mov ecx, esp
push 0x57a390
mov byte [ebp - 4], 4
call fcn.004022fa
lea ecx, [ebp - 0x430]
call fcn.00406dfa
push dword [ebp - 0x430]
call fcn.00407178
test al, al
je 0x45868c
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 5
call fcn.00457b6d
push 3
push dword [ebp - 0x430]
lea eax, [ebp - 0x4d4]
mov dword [ebp - 0x4d8], eax
lea eax, [ebp - 0x4d8]
push eax
call fcn.00407362
push 3
mov byte [ebp - 4], 6
push dword [0x57a38c]
lea eax, [ebp - 0x558]
mov dword [ebp - 0x55c], eax
lea eax, [ebp - 0x55c]
push eax
call fcn.00407362
mov byte [ebp - 4], 7
push dword [ebp - 0x4d8]
push dword [ebp - 0x55c]
call fcn.00457b3b
lea eax, [ebp - 0x558]
pop ecx
pop ecx
cmp dword [ebp - 0x55c], eax
je 0x45870a
push dword [ebp - 0x55c]
call fcn.004b2850
pop ecx
lea eax, [ebp - 0x4d4]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x4d8], eax
je 0x458728
push dword [ebp - 0x4d8]
call fcn.004b2850
pop ecx
mov eax, 0x54129c
cmp byte [ebp + 0xc], bl
je 0x458737
mov eax, 0x541298
push eax
push str.hidden
call fcn.00457b93
pop ecx
pop ecx
push dword [0x57a04c]
call fcn.00407178
test al, al
je 0x4587a7
push 3
push dword [0x57a04c]
lea eax, [ebp - 0x5dc]
mov dword [ebp - 0x5e0], eax
lea eax, [ebp - 0x5e0]
push eax
call fcn.00407362
mov byte [ebp - 4], 8
push dword [ebp - 0x5e0]
push str.language
call fcn.00457b93
lea eax, [ebp - 0x5dc]
pop ecx
mov byte [ebp - 4], 5
pop ecx
cmp dword [ebp - 0x5e0], eax
je 0x4587a7
push dword [ebp - 0x5e0]
call fcn.004b2850
pop ecx
mov byte [0x57bd4a], 1
call fcn.00457b57
mov dword [ebp - 4], 4
cmp eax, ebx
je 0x4588c7
lea eax, [ebp - 0x454]
call fcn.00442a09
call fcn.0049219b
push eax
lea ecx, [ebp - 0x438]
call fcn.00402802
lea ecx, [ebp - 0x454]
mov byte [ebp - 4], 0xa
call fcn.00442a35
push eax
lea ecx, [ebp - 0x454]
call fcn.00442a71
push eax
lea ecx, [ebp - 0x454]
call fcn.00442a53
push eax
lea eax, [ebp - 0x438]
push str.productSetup_Setup__d__d__d.exe
push eax
call fcn.00402a07
add esp, 0x14
push esi
lea eax, [ebp - 0x42c]
push ebx
push eax
call fcn.004b62d0
add esp, 0xc
lea eax, [ebp - 0x42c]
push eax
call fcn.0045d1ed
lea eax, [ebp - 0x42c]
push eax
lea ecx, [ebp - 0x434]
call fcn.0040254f
push ecx
lea eax, [ebp - 0x438]
mov dword [ebp - 0x440], esp
mov ecx, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.004022fa
lea ecx, [ebp - 0x434]
call fcn.00406dfa
push dword [ebp - 0x434]
call fcn.00407178
test al, al
je 0x458888
push dword [ebp - 0x434]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x434]
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [ebp - 0x434]
push eax
mov ecx, 0x57a394
call fcn.004025ee
mov ecx, dword [ebp - 0x434]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x438]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x43c]
add ecx, 0xfffffff0
mov byte [0x57bd4a], bl
call fcn.00402845
mov ecx, dword [ebp - 0x430]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [ebp - 0x444]
add ecx, 0xfffffff0
call fcn.00402845
call fcn.004b682b
ret