Function at 0x40e40f
Capabilities:
Check for time delay via gettickcount
Create process on windows
Delete file
Set uefi variable
Terminate process

Disassembly:
push 0x1e4
mov eax, 0x43e909
call fcn.0042bb26
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa4], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xb8], ebx
xor eax, eax
lea edi, [ebp - 0xb4]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xa8], 0x80004005
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push ebx
shr esi, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp esi, eax
jbe 0x40e470
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegNotifyChangeKeyValue]
call fcn.0040b4a9
push 0x40
lea eax, [ebp - 0x13c]
push ebx
push eax
mov dword [ebp - 0x140], ebx
call fcn.00431920
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x114], 1
mov word [ebp - 0x110], ax
mov dword [ebp - 0xa0], ebx
call fcn.004295cd
push 0x64
cdq
pop ecx
idiv ecx
mov esi, edx
inc esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x40e4c2
dec eax
dec eax
je 0x40e4c2
sub eax, 4
jne 0x40e4cc
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
mov eax, esi
imul eax, eax, 5
add eax, 0x15
push 0x63
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x77]
push ebx
mov dword [ebp - 4], ebx
push eax
mov byte [ebp - 0x78], bl
call fcn.00431920
add esp, 0xc
push esi
lea eax, [ebp - 0xf4]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x9c], esp
push 2
push 0x448a28
call fcn.004081ed
lea edi, [ebp - 0x1f0]
call fcn.00427366
mov byte [ebp - 4], 3
call fcn.004273d9
cmp dword [eax + 0x18], 0x10
jb 0x40e52d
mov eax, dword [eax + 4]
jmp 0x40e530
add eax, 4
push eax
lea eax, [ebp - 0x78]
push 0x64
push eax
call fcn.0042aa1a
add esp, 0x10
push ebx
push 1
lea ecx, [ebp - 0xf4]
call fcn.004035bd
lea esi, [ebp - 0x1f0]
call fcn.00404654
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
mov esi, eax
call fcn.0042a8e7
mov dword [ebp - 0x9c], esi
fild dword [ebp - 0x9c]
pop ecx
mov edi, eax
test esi, esi
jge 0x40e57f
fadd qword [0x44b078]
call fcn.004396a0
mov dword [ebp - 0x9c], edi
fild dword [ebp - 0x9c]
test edi, edi
jge 0x40e59a
fadd qword [0x44b078]
fcompp
fnstsw ax
test ah, 5
jp 0x40e5aa
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0xf4]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x9c], esp
push 4
push str.lU9j
mov dword [ebp - 4], ebx
call fcn.004081ed
lea edi, [ebp - 0x1f0]
call fcn.00427366
mov byte [ebp - 4], 6
call fcn.004274a1
mov byte [ebp - 4], 7
cmp dword [eax + 0x18], 0x10
jb 0x40e5ee
mov eax, dword [eax + 4]
jmp 0x40e5f1
add eax, 4
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00419f21
add esp, 0xc
push ebx
push 1
lea ecx, [ebp - 0xf4]
call fcn.004035bd
lea esi, [ebp - 0x1f0]
mov byte [ebp - 4], 0xa
call fcn.00404654
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.004082ab
call dword [sym.imp.KERNEL32.dll_GetTickCount]
dec eax
dec eax
je 0x40e645
dec eax
dec eax
je 0x40e645
sub eax, 4
jne 0x40e650
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call fcn.00409a52
cmp dword [ebp - 0x7c], 0x10
mov eax, dword [ebp - 0x90]
jae 0x40e662
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [ebp - 0x140]
push ecx
push ebx
push ebx
push 0x8000000
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp eax, ebx
jne 0x40e733
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xd8]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x9c], esp
push 0x2d
push 0x448a34
call fcn.004081ed
lea edi, [ebp - 0x198]
call fcn.00427366
mov byte [ebp - 4], 0xb
call fcn.004273d9
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x18], 0x10
jb 0x40e6d2
mov eax, dword [eax + 4]
jmp 0x40e6d5
add eax, 4
mov ebx, dword [ebp - 0xa4]
push eax
push 1
call fcn.0040eded
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0xd8]
call fcn.004035bd
lea esi, [ebp - 0x198]
call fcn.00404654
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0x7ff90000
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x94]
call fcn.004035bd
push ebx
push 1
lea ecx, [ebp + 0xc]
call fcn.004035bd
mov eax, esi
call fcn.0042bba9
ret 0x20
push 0x1388
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0xa0], eax
call fcn.004012cd
mov dword [ebp - 4], 0xa
cmp dword [ebp - 0xa0], 0x102
jne 0x40e80a
lea eax, [ebp - 0xd8]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x9c], esp
push 0x20
push 0x448a64
call fcn.004081ed
lea edi, [ebp - 0x198]
call fcn.00427366
mov byte [ebp - 4], 0xf
call fcn.004273d9
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 0x10
jb 0x40e7a7
mov eax, dword [eax + 4]
jmp 0x40e7aa
add eax, 4
mov ebx, dword [ebp - 0xa4]
push eax
push 1
call fcn.0040eded
pop ecx
pop ecx
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0xd8]
call fcn.004035bd
lea esi, [ebp - 0x198]
call fcn.00404654
push ebx
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea eax, [ebp - 0x95]
mov byte [ebp - 0x95], bl
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e7f1
sub eax, esi
je 0x40e902
call fcn.00409b13
jmp 0x40e902
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xb8]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x40e904
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xbc]
jne 0x40e83e
mov dword [ebp - 0xa8], ebx
jmp 0x40e904
push eax
lea eax, [ebp - 0xd8]
push eax
sub esp, 0x1c
mov esi, esp
mov dword [ebp - 0x9c], esp
push 0x1a
push 0x448a88
call fcn.004081ed
lea edi, [ebp - 0x198]
call fcn.00427366
mov byte [ebp - 4], 0x11
call fcn.00427546
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 0x10
jb 0x40e880
mov eax, dword [eax + 4]
jmp 0x40e883
add eax, 4
mov ebx, dword [ebp - 0xa4]
push eax
push 1
call fcn.0040eded
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0xd8]
call fcn.004035bd
lea esi, [ebp - 0x198]
call fcn.00404654
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
shr esi, 0x18
call fcn.0042a8e7
imul eax, eax, 0x63
pop ecx
cmp esi, eax
jbe 0x40e8d3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor eax, eax
inc eax
jmp 0x40e8d5
xor eax, eax
dec eax
jne 0x40e8ef
call fcn.00426054
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.USER32.dll_GetCapture]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
call fcn.0040965a
test eax, eax
je 0x40e902
call fcn.00409b5a
call fcn.00409c23
xor ebx, ebx
push dword [ebp - 0xb8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
lea eax, [ebp - 0x95]
mov byte [ebp - 0x95], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40e921
sub eax, edx
je 0x40e93e
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.USER32.dll_GetCapture]
call dword [sym.imp.USER32.dll_GetClipboardOwner]
push dword [ebp - 0xb4]
call esi
mov esi, dword [ebp - 0xa8]
jmp 0x40e710