Function at 0x401f90
Capabilities:
Check if file exists
Delete file
Query or enumerate registry value
Schedule task via itaskscheduler
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x40fd7c
mov eax, dword fs:[0]
push eax
sub esp, 0x1a4
mov eax, dword [0x41c028]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x41c028]
xor eax, esp
push eax
lea eax, [esp + 0x1b8]
mov dword fs:[0], eax
push 0x103
xor edi, edi
lea eax, [esp + 0xb1]
push edi
push eax
mov byte [esp + 0xb8], 0
call fcn.004082c0
add esp, 0xc
push edi
push 0x418f4c
lea ecx, [esp + 0x44]
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], edi
mov byte [esp + 0x48], 0
call fcn.004030b0
lea ecx, [esp + 0x18]
push ecx
push 0x101
push edi
push str.SoftwareMicrosoftCryptography
mov dword [esp + 0x1d0], edi
push 0x80000002
mov dword [esp + 0x2c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402067
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xb0]
push eax
push edi
push edi
push str.MachineGuid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0xb0]
call fcn.00403ce0
add esp, 4
push 0xffffffffffffffff
push edi
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x1cc], 1
call fcn.00402e20
mov ebx, 0x10
mov byte [esp + 0x1c0], 0
cmp dword [esp + 0x38], ebx
jb 0x4020b0
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004056ad
add esp, 4
cmp dword [esp + 0x54], ebx
mov ecx, dword [esp + 0x40]
jae 0x4020be
lea ecx, [esp + 0x40]
call fcn.00401a30
cmp dword [esp + 0x54], ebx
mov eax, dword [esp + 0x40]
jae 0x4020d1
lea eax, [esp + 0x40]
push eax
call fcn.00403c10
add esp, 4
push edi
mov esi, eax
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, edi
jl 0x402122
lea edx, [esp + 0x18]
push edx
push 0x41922c
push 1
push edi
push 0x41924c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, edi
jl 0x40211c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push esi
push eax
call edx
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, edi
je 0x40212f
push esi
call fcn.004053d3
add esp, 4
push str.Operators_Network_Error_Check
push str.ThunderRT6FormDC
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, edi
je 0x40214d
push edi
push edi
push ebx
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
lea esi, [esp + 0x58]
call fcn.004040e0
mov byte [esp + 0x1c0], 2
cmp dword [esp + 0x70], ebx
mov eax, dword [esp + 0x5c]
jae 0x40216c
lea eax, [esp + 0x5c]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
test eax, eax
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x402190
cmp dword [esp + 0x70], ebx
mov eax, dword [esp + 0x5c]
jae 0x40218d
lea eax, [esp + 0x5c]
push eax
call ebp
lea esi, [esp + 0x74]
call fcn.004041e0
mov byte [esp + 0x1c0], 3
cmp dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x78]
jae 0x4021b2
lea eax, [esp + 0x78]
push eax
call edi
test eax, eax
je 0x4021cd
cmp dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x78]
jae 0x4021ca
lea eax, [esp + 0x78]
push eax
call ebp
lea esi, [esp + 0x90]
call fcn.004042e0
cmp dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x94]
jae 0x4021f0
lea eax, [esp + 0x94]
push eax
call edi
test eax, eax
je 0x402211
cmp dword [esp + 0xa8], ebx
mov eax, dword [esp + 0x94]
jae 0x40220e
lea eax, [esp + 0x94]
push eax
call ebp
call fcn.00403fd0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]