Function at 0x5e4aa0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x5f979f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x2c]
lea eax, [esp + 8]
push edi
mov edi, dword [esp + 0x34]
xor ebp, ebp
push eax
push 0x20019
push ebp
push edi
push esi
mov dword [esp + 0x20], ebp
call fcn.005df260
add esp, 0x14
cmp eax, ebp
je 0x5e4b4b
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.005e1440
add esp, 8
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebp
cmp eax, ebp
je 0x5e4b00
mov edx, dword [eax]
jmp 0x5e4b02
xor edx, edx
xor ecx, ecx
push ebp
xor eax, eax
push edx
push ecx
push eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
push edx
push edi
mov ecx, dword [eax + 4]
push 2
push ecx
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
call fcn.005e2c10
mov ecx, dword [esp + 0x34]
add esp, 0x20
cmp ecx, ebp
je 0x5e4b37
call fcn.005d8ce0
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push ebp
lea edx, [esp + 0x14]
push ebp
push edx
call fcn.005e1630
add esp, 0xc
cmp esi, 0x80000003
mov dword [esp + 0x28], 1
mov esi, 0x5fee88
je 0x5e4b74
mov esi, str.HKLM
push 0xc
call fcn.005ea803
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, ebp
mov byte [esp + 0x28], 2
je 0x5e4b95
push esi
mov ecx, eax
call fcn.005d8c20
jmp 0x5e4b97
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x28], 1
mov dword [esp + 0x34], eax
jne 0x5e4bae
push 0x8007000e
call fcn.005f8460
push ebx
mov bl, 3
push 0xc
mov byte [esp + 0x30], bl
call fcn.005ea803
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x2c], 4
je 0x5e4bda
push 0x5fe38c
mov ecx, eax
call fcn.005d8c20
jmp 0x5e4bdc
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x2c], bl
mov dword [esp + 0x34], eax
jne 0x5e4bf2
push 0x8007000e
call fcn.005f8460
push 0xc
mov byte [esp + 0x30], 5
call fcn.005ea803
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x2c], 6
je 0x5e4c23
lea ecx, [esp + 0x34]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, eax
call fcn.005e2f70
mov esi, eax
jmp 0x5e4c25
xor esi, esi
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
je 0x5e4c32
call fcn.005d8ce0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x38], esi
cmp ecx, ebp
mov byte [esp + 0x2c], bl
je 0x5e4c47
call fcn.005d8ce0
push 0xc
call fcn.005ea803
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x2c], 7
je 0x5e4c68
push edi
mov ecx, eax
call fcn.005d8c20
jmp 0x5e4c6a
xor eax, eax
cmp eax, ebp
mov byte [esp + 0x2c], bl
mov dword [esp + 0x34], eax
jne 0x5e4c80
push 0x8007000e
call fcn.005f8460
push 0xc
mov byte [esp + 0x30], 8
call fcn.005ea803
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebp
mov byte [esp + 0x2c], 9
je 0x5e4cb1
lea ecx, [esp + 0x34]
lea edx, [esp + 0x38]
push ecx
push edx
mov ecx, eax
call fcn.005e2f70
mov esi, eax
jmp 0x5e4cb3
xor esi, esi
mov ecx, dword [esp + 0x38]
cmp ecx, ebp
je 0x5e4cc0
call fcn.005d8ce0
mov ecx, dword [esp + 0x34]
mov eax, esi
cmp ecx, ebp
mov dword [esp + 0x38], eax
mov byte [esp + 0x2c], bl
je 0x5e4cdf
call fcn.005d8ce0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x34], ebp
cmp eax, ebp
je 0x5e4ce7
mov ecx, dword [eax]
jmp 0x5e4ce9
xor ecx, ecx
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5e4cf5
mov eax, dword [eax]
jmp 0x5e4cf7
xor eax, eax
push ecx
mov ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.005e0120
mov edx, dword [esp + 0x20]
add esp, 0x10
mov bl, al
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x5e4d24
mov eax, dword [eax]
jmp 0x5e4d26
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esp + 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
mov byte [esp + 0x2c], 1
je 0x5e4d5d
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x5e4d59
cmp esi, ebp
je 0x5e4d59
push 1
mov ecx, esi
call fcn.005d98e0
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
cmp eax, ebp
je 0x5e4d86
mov esi, eax
add eax, 8
push eax
call edi
test eax, eax
jne 0x5e4d86
cmp esi, ebp
je 0x5e4d86
push 1
mov ecx, esi
call fcn.005d98e0
mov ecx, dword [esp + 0x24]
mov al, bl
pop ebx
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret