Function at 0x406d40
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x545c2e
mov eax, dword fs:[0]
push eax
sub esp, 0x870
mov eax, dword [0x5b2390]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x870], ecx
lea eax, [ebp - 0x850]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx ecx, word [ebp - 0x844]
push ecx
movzx edx, word [ebp - 0x846]
push edx
movzx eax, word [ebp - 0x848]
push eax
movzx ecx, word [ebp - 0x84a]
push ecx
push str.CNullCmd__d__d__d__d
call fcn.00410af0
add esp, 0x14
push 0xe8
call fcn.00406010
mov dword [ebp - 0x85c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x85c], 0
je 0x406dde
mov ecx, dword [ebp - 0x85c]
call fcn.00405ef0
mov dword [ebp - 0x874], eax
jmp 0x406de8
mov dword [ebp - 0x874], 0
mov edx, dword [ebp - 0x874]
mov dword [ebp - 0x858], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x858]
mov dword [ebp - 0x840], eax
cmp dword [ebp - 0x840], 0
jne 0x406e17
xor eax, eax
jmp 0x40708c
push 0
push 0
push 0xcf8000
push 0x80
mov ecx, dword [ebp - 0x840]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x840]
mov eax, dword [edx + 0x140]
call eax
test eax, eax
jne 0x406e46
xor eax, eax
jmp 0x40708c
push 0x104
lea ecx, [ebp - 0x634]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x634]
push edx
call fcn.00401d20
add esp, 8
xor ecx, ecx
mov word [eax + 2], cx
xor edx, edx
mov word [ebp - 0x21c], dx
push 0x206
push 0
lea eax, [ebp - 0x21a]
push eax
call fcn.004b7bc0
add esp, 0xc
xor ecx, ecx
mov word [ebp - 0x83c], cx
push 0x206
push 0
lea edx, [ebp - 0x83a]
push edx
call fcn.004b7bc0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x424], ax
push 0x206
push 0
lea ecx, [ebp - 0x422]
push ecx
call fcn.004b7bc0
add esp, 0xc
lea edx, [ebp - 0x634]
push edx
lea eax, [ebp - 0x424]
push eax
call fcn.004b7b9a
add esp, 8
call fcn.0040b8d0
mov ecx, eax
call fcn.004068c0
test eax, eax
je 0x406f1e
push 0x553750
lea ecx, [ebp - 0x424]
push ecx
call fcn.004b7b6c
add esp, 8
lea edx, [ebp - 0x424]
push edx
push 0x553768
call fcn.00410af0
add esp, 8
jmp 0x406f46
push 0x553788
lea eax, [ebp - 0x424]
push eax
call fcn.004b7b6c
add esp, 8
lea ecx, [ebp - 0x424]
push ecx
push 0x5537a0
call fcn.00410af0
add esp, 8
push 0x5537c0
lea edx, [ebp - 0x21c]
push edx
call fcn.004b7b6c
add esp, 8
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x21c]
push ecx
call fcn.004b7b6c
add esp, 8
push 0x5537c4
lea edx, [ebp - 0x21c]
push edx
call fcn.004b7b6c
add esp, 8
push 1
push 0
push 0x5537e4
lea eax, [ebp - 0x424]
push eax
push 0x553800
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x10], eax
push 0x28
call fcn.00493c8f
add esp, 4
mov dword [ebp - 0x864], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x864], 0
je 0x406fd7
mov ecx, dword [ebp - 0x864]
call fcn.00411340
mov dword [ebp - 0x878], eax
jmp 0x406fe1
mov dword [ebp - 0x878], 0
mov ecx, dword [ebp - 0x878]
mov dword [ebp - 0x860], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x860]
mov dword [ebp - 0x854], edx
push str.RunDateByHand
mov eax, dword [ebp - 0x840]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x854]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x854]
mov edx, dword [eax]
call edx
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x854], 0
je 0x40707a
mov eax, dword [ebp - 0x854]
mov dword [ebp - 0x86c], eax
mov ecx, dword [ebp - 0x86c]
mov dword [ebp - 0x868], ecx
cmp dword [ebp - 0x868], 0
je 0x407066
push 1
mov ecx, dword [ebp - 0x868]
call fcn.0040a160
mov dword [ebp - 0x87c], eax
jmp 0x407070
mov dword [ebp - 0x87c], 0
mov dword [ebp - 0x854], 0
cmp dword [ebp - 0x428], 0
jne 0x407087
xor eax, eax
jmp 0x40708c
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b7b5d
mov esp, ebp
pop ebp
ret