Function at 0x407650
Capabilities:
Access peb ldr_data
Persist via run registry key
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41e9f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebx
push esi
push edi
push str.CMainFrame::DeleteTargetKey___n
mov dword [esp + 0x74], 1
call fcn.00403770
add esp, 4
lea ecx, [esp + 0x10]
call fcn.004017b0
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 2
mov dword [esp + 0x18], 0
call fcn.004017b0
push 0xf003f
push 0
push 0
lea ecx, [esp + 0x88]
mov byte [esp + 0x7c], 3
call fcn.00402cb0
mov esi, dword [esp + 0x84]
push eax
push esi
lea ecx, [esp + 0x3c]
call fcn.00413990
mov eax, dword [esp + 0x30]
test eax, eax
mov byte [esp + 0x70], 4
je 0x407952
xor edi, edi
push edi
push edi
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x34]
call fcn.004134c0
push 0x4202b4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.00401940
push eax
call fcn.004016b0
add esp, 8
lea ecx, [esp + 0x78]
mov bl, al
mov byte [esp + 0x70], 4
call fcn.00401910
test bl, bl
je 0x407952
jmp 0x407730
push 0x4202c0
lea ecx, [esp + 0x80]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004024e0
lea ecx, [esp + 0x1c]
push ecx
push eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x88], 6
call fcn.00402410
add esp, 0x18
push 0xf003f
push 0
push 0
mov ecx, eax
mov byte [esp + 0x7c], 7
call fcn.00402cb0
push eax
push esi
lea ecx, [esp + 0x4c]
call fcn.00413990
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 0xa
call fcn.00401910
lea ecx, [esp + 0x20]
mov byte [esp + 0x70], 9
call fcn.00401910
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4079b7
push 0x4202b4
lea ecx, [esp + 0x18]
call fcn.00402390
push 0x100
lea eax, [esp + 0x18]
push eax
push str.Name
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x48]
mov byte [esp + 0x80], 0xb
call fcn.00413720
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x74], 0xc
call fcn.00401940
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 0xb
call fcn.00401910
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 9
call fcn.00401910
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.00401570
add esp, 8
test al, al
jne 0x40783f
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402cb0
push eax
call sub.WINSPOOL.DRV_OpenPrinterA
test eax, eax
jne 0x4078f0
lea ecx, [esp + 0x10]
call fcn.00402cb0
push eax
lea ecx, [esp + 0x2c]
call fcn.00413a10
test eax, eax
je 0x4079b7
push 0xf003f
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion_run
push 0x80000001
lea ecx, [esp + 0x6c]
call fcn.00413990
mov eax, dword [esp + 0x60]
test eax, eax
mov byte [esp + 0x70], 0xd
je 0x407896
lea ecx, [esp + 0xc]
call fcn.00402cb0
push eax
lea ecx, [esp + 0x5c]
call fcn.004136f0
push 0xf003f
push 0
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersion_run
push 0x80000002
lea ecx, [esp + 0x5c]
call fcn.00413990
mov eax, dword [esp + 0x50]
test eax, eax
mov byte [esp + 0x70], 0xe
je 0x4078d2
lea ecx, [esp + 0xc]
call fcn.00402cb0
push eax
lea ecx, [esp + 0x4c]
call fcn.004136f0
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], 0xd
call fcn.00413420
lea ecx, [esp + 0x58]
mov byte [esp + 0x70], 9
call fcn.00413420
jmp 0x4078fb
mov edx, dword [esp + 0x18]
push edx
call sub.WINSPOOL.DRV_ClosePrinter
inc edi
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 4
call fcn.00413420
push 0
push edi
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x34]
call fcn.004134c0
push 0x4202b4
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 5
call fcn.00401940
push eax
call fcn.004016b0
add esp, 8
lea ecx, [esp + 0x78]
mov bl, al
mov byte [esp + 0x70], 4
call fcn.00401910
test bl, bl
jne 0x407730
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 3
call fcn.00413420
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 2
call fcn.00401910
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.00401910
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 0
call fcn.00401910
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], 0xffffffff
call fcn.00401910
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 4
call fcn.00413420
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 3
call fcn.00413420
lea ecx, [esp + 0xc]
mov byte [esp + 0x70], 2
call fcn.00401910
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call fcn.00401910
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], 0
call fcn.00401910
lea ecx, [esp + 0x80]
mov dword [esp + 0x70], 0xffffffff
call fcn.00401910
mov ecx, dword [esp + 0x68]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x68
ret 0xc