Function at 0x5d8918
Capabilities:
Delete file

Disassembly:
push ebp
sub esp, 0x68
mov eax, 0x684d6b
call fcn.0062921c
sub esp, 0x3d0
push ebx
push esi
push edi
mov ebx, ecx
xor esi, esi
push 7
pop ecx
xor eax, eax
mov dword [ebp + 0x60], ebx
mov dword [ebp + 0x2c], ecx
mov dword [ebp + 0x28], esi
mov word [ebp + 0x18], ax
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], esi
mov word [ebp - 0x24], ax
mov dword [ebp + 0x14], ecx
mov dword [ebp + 0x10], esi
mov word [ebp], ax
mov dword [ebp + 0x44], ecx
mov dword [ebp + 0x40], esi
mov word [ebp + 0x30], ax
mov byte [ebp - 4], 3
cmp dword [ebx + 0x8c], eax
jne 0x5d8b0f
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x58], esi
mov word [ebp + 0x48], ax
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 4
push eax
mov ecx, 0x771bbc
call fcn.00425c17
mov eax, dword [ebp + 0x68]
add eax, 8
push 8
pop edi
cmp dword [eax + 0x14], edi
jb 0x5d89a2
mov eax, dword [eax]
add ebx, 0xb4
cmp dword [ebx + 0x14], edi
jb 0x5d89b1
mov ecx, dword [ebx]
jmp 0x5d89b3
mov ecx, ebx
lea edx, [ebp + 0x48]
push edx
lea edx, [ebp + 0x64]
push edx
push eax
push ecx
lea ecx, [ebp - 0x1dc]
call fcn.005d7233
lea ecx, [ebp - 0x1dc]
mov byte [ebp - 4], 5
call fcn.005d7b9b
mov esi, eax
push esi
call fcn.00423ad9
pop ecx
push eax
push esi
lea ecx, [ebp]
call fcn.004340c0
cmp dword [ebp + 0x28], 0
je 0x5d8a59
lea eax, [ebp + 0x30]
push eax
sub esp, 0x18
lea eax, [ebp + 0x18]
mov ecx, esp
push eax
call fcn.00423207
lea eax, [ebp + 0x68]
push eax
call fcn.0048400b
mov ecx, dword [ebp + 0x68]
mov byte [ebp - 4], 6
test ecx, ecx
je 0x5d8a48
mov eax, dword [ebp + 0x60]
push 0
add eax, 0x5c
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0056fc0d
push eax
lea ecx, [ebp - 0x24]
call fcn.004232e6
push 0
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
mov ecx, dword [ebp + 0x68]
mov byte [ebp - 4], 7
test ecx, ecx
je 0x5d8a55
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
cmp dword [ebp + 0x64], 0
jne 0x5d8a7e
mov esi, 0x68eb70
lea ecx, [ebp + 0x30]
push esi
call fcn.0043429b
test eax, eax
jne 0x5d8a7e
push esi
lea ecx, [ebp + 0x48]
call fcn.0043429b
test eax, eax
je 0x5d8af2
push 0x100
lea eax, [ebp - 0x3dc]
push eax
push dword [ebp + 0x64]
call fcn.0045d7b1
mov ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x5c], edi
jae 0x5d8a9d
lea ecx, [ebp + 0x48]
mov eax, dword [ebp + 0x30]
cmp dword [ebp + 0x44], edi
jae 0x5d8aa8
lea eax, [ebp + 0x30]
cmp dword [ebx + 0x14], edi
jb 0x5d8aaf
mov ebx, dword [ebx]
push ecx
push eax
push dword [ebp + 0x64]
lea eax, [ebp - 0x3dc]
push eax
push ebx
lea eax, [ebp - 0x3c]
push str.The_install_of__s_failed._n__s__d_.___s____s_
push eax
call fcn.004607f4
add esp, 0x1c
cmp dword [eax + 0x14], edi
jb 0x5d8ad4
mov eax, dword [eax]
xor esi, esi
push esi
push esi
push eax
push dword [0x77ddd4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push 1
lea ecx, [ebp - 0x3c]
call fcn.0042386b
jmp 0x5d8af4
xor esi, esi
lea ecx, [ebp - 0x1dc]
call fcn.005d761b
push esi
push 1
lea ecx, [ebp + 0x48]
call fcn.0042386b
mov ebx, dword [ebp + 0x60]
jmp 0x5d8b2b
push 8
lea eax, [ebx + 0x7c]
pop edi
cmp dword [eax + 0x14], edi
jb 0x5d8b1c
mov eax, dword [eax]
push esi
push esi
push eax
push dword [0x77ddd4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp byte [ebx + 0xe4], 0
jne 0x5d8b48
lea eax, [ebx + 0xb4]
cmp dword [eax + 0x14], edi
jb 0x5d8b41
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebx + 0xe6], 0
je 0x5d8b5c
push 0x77125c
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
xor ebx, ebx
lea ecx, [ebp + 0x30]
push esi
inc ebx
push ebx
call fcn.0042386b
push esi
push ebx
lea ecx, [ebp]
call fcn.0042386b
push esi
push ebx
lea ecx, [ebp - 0x24]
call fcn.0042386b
push esi
push ebx
lea ecx, [ebp + 0x18]
call fcn.0042386b
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
lea esp, [ebp + 0x6c]
pop ebp
ret