Function at 0x401db0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41cf27
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x427750]
xor eax, esp
mov dword [esp + 0x84c], eax
push esi
push edi
mov eax, dword [0x427750]
xor eax, esp
push eax
lea eax, [esp + 0x860]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
mov word [esp + 0x254], ax
lea eax, [esp + 0x256]
push eax
call fcn.00409f10
add esp, 0xc
lea eax, [esp + 0x24c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x401e46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetModuleFileName_failed___d__n
call fcn.00407a91
add esp, 8
mov eax, 1
jmp 0x40214e
push 0x100
lea eax, [esp + 0x458]
push eax
push 0x100
lea eax, [esp + 0x660]
push eax
push 0x100
lea eax, [esp + 0x60]
push eax
push 3
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x26c]
push eax
call fcn.0040771c
xor eax, eax
mov dword [esp + 0x64], 7
add esp, 0x24
mov dword [esp + 0x3c], 0
mov word [esp + 0x2c], ax
mov dword [esp + 0x868], eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], eax
mov word [esp + 0x14], ax
push 4
push str._S__
lea ecx, [esp + 0x34]
mov byte [esp + 0x870], 1
call fcn.00403b10
cmp word [esp + 0x4c], 0
jne 0x401ed4
xor eax, eax
jmp 0x401eef
lea eax, [esp + 0x4c]
lea edx, [eax + 2]
jmp 0x401ee0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401ee0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x34]
call fcn.004039e0
push 1
push 0x42482c
lea ecx, [esp + 0x34]
call fcn.004039e0
push 0xf
push 0x424830
lea ecx, [esp + 0x34]
call fcn.004039e0
push 4
push str._S__
lea ecx, [esp + 0x1c]
call fcn.00403b10
cmp word [esp + 0x4c], 0
jne 0x401f3a
xor ecx, ecx
jmp 0x401f50
lea ecx, [esp + 0x4c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401f41
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x1c]
call fcn.004039e0
push 1
push 0x42482c
lea ecx, [esp + 0x1c]
call fcn.004039e0
push 0xf
push str.DTGadget64.dll_
lea ecx, [esp + 0x1c]
call fcn.004039e0
cmp dword [esp + 0x40], 8
lea eax, [esp + 0x2c]
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmovae eax, dword [esp + 0x2c]
push 0
push 0
push eax
push str.regsvr32
push 0
push 0
call edi
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [esp + 0x28], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x4c]
push eax
call fcn.00402970
sub esp, 0x18
mov byte [esp + 0x898], 2
mov ecx, esp
xor eax, eax
push 0x10
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Error_register:
mov word [ecx], ax
call fcn.00403b10
mov ecx, esi
mov byte [esp + 0x898], 1
call fcn.00401ce0
add esp, 0x30
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 8
cmovae eax, dword [esp + 0x14]
push 0
push 0
push eax
push str.regsvr32
push 0
push 0
call edi
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [esp + 0x24], esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x34]
push eax
call fcn.00402970
sub esp, 0x18
mov byte [esp + 0x898], 3
mov ecx, esp
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x10
xor eax, eax
push str.Error_register:
mov word [ecx], ax
call fcn.00403b10
mov ecx, esi
mov byte [esp + 0x898], 1
call fcn.00401ce0
add esp, 0x30
push 0
push 0
push str.DTLite.gadget
push str.Explorer.exe
push 0
push 0
call edi
sub esp, 0x18
mov esi, eax
mov ecx, esp
mov dword [esp + 0x24], esp
xor eax, eax
push 0xd
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.DTLite.gadget
mov word [ecx], ax
call fcn.00403b10
sub esp, 0x18
mov byte [esp + 0x898], 4
mov ecx, esp
xor eax, eax
push 0x2b
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.Can_not_run_the_installer_gadge:_Not_Found
mov word [ecx], ax
call fcn.00403b10
mov ecx, esi
mov byte [esp + 0x898], 1
call fcn.00401ce0
add esp, 0x30
cmp dword [esp + 0x28], 8
jb 0x402122
push dword [esp + 0x14]
call fcn.00407b67
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
cmp dword [esp + 0x40], 8
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
jb 0x40214c
push dword [esp + 0x2c]
call fcn.00407b67
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x860]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x84c]
xor ecx, esp
call fcn.00406f0f
mov esp, ebp
pop ebp
ret