Function at 0x10064e00
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x1008f951
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov dword [esp + 0x18], edx
mov esi, ecx
mov eax, dword [esp + 0x144]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10064e54
mov dword [eax], 0
cmp dword [esi + 0x10], 0
jne 0x10064e61
xor al, al
jmp 0x100654d0
xor eax, eax
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x110], 7
mov dword [esp + 0x10c], 0
mov word [esp + 0xfc], ax
mov dword [esp + 0x138], eax
lea edx, [esp + 0xfc]
mov ecx, esi
call fcn.10015080
mov edx, esi
lea ecx, [esp + 0xb4]
call fcn.1000c660
mov byte [esp + 0x138], 1
lea ecx, [esp + 0xb4]
cmp dword [esp + 0xc8], 8
mov edx, 0x10093f54
cmovae ecx, dword [esp + 0xb4]
call fcn.1000a200
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test al, al
je 0x1006516e
push 0x44
lea eax, [esp + 0x70]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, 1
mov dword [esp + 0x130], 0
mov word [esp + 0xa8], ax
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x134], 0
add esp, 0xc
mov dword [esp + 0x6c], 0x44
movdqu xmmword [esp + 0x5c], xmm0
mov dword [esp + 0x98], 0x81
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
mov byte [esp + 0x138], 3
mov edx, dword [esp + 0x124]
mov dword [esp + 0x10], edx
cmp edx, 0x104
ja 0x10064fc9
mov ecx, dword [esp + 0x128]
cmp ecx, 0x104
je 0x10064fc9
jae 0x10064faa
push edx
push 0x104
lea ecx, [esp + 0x11c]
call fcn.100033d0
mov ecx, dword [esp + 0x128]
mov edx, dword [esp + 0x10]
cmp ecx, 8
mov dword [esp + 0x124], edx
lea eax, [esp + 0x114]
cmovae eax, dword [esp + 0x114]
xor ecx, ecx
mov word [eax + edx*2], cx
push 1
push 0x10093f50
lea ecx, [esp + 0x11c]
call fcn.10003000
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x120]
call fcn.10006720
push 1
push 0x10093f50
lea ecx, [esp + 0x11c]
call fcn.100067e0
mov eax, dword [esp + 0x18]
cmp dword [eax + 0x10], 0
je 0x10065031
push 1
push 0x10095720
lea ecx, [esp + 0x11c]
call fcn.100067e0
push 0xffffffffffffffff
push 0
push dword [esp + 0x20]
lea ecx, [esp + 0x120]
call fcn.10006720
cmp dword [esp + 0x10c], 0
jne 0x1006503f
xor eax, eax
jmp 0x10065056
cmp dword [esp + 0x110], 8
lea eax, [esp + 0xfc]
cmovae eax, dword [esp + 0xfc]
cmp dword [esp + 0x128], 8
lea ecx, [esp + 0x114]
cmovae ecx, dword [esp + 0x114]
cmp dword [esi + 0x14], 8
jb 0x10065077
mov edx, dword [esi]
jmp 0x10065079
mov edx, esi
lea edi, [esp + 0x5c]
push edi
lea edi, [esp + 0x70]
push edi
push eax
push 0
push 0x30
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test eax, eax
je 0x10065130
mov eax, dword [esp + 0x60]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x100650bd
push eax
call esi
mov dword [esp + 0x60], 0
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x100650cb
mov byte [esp + 0x1f], cl
jmp 0x100650e7
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100650d7
mov dword [eax], ecx
jmp 0x100650e2
push ecx
call esi
mov dword [esp + 0x5c], 0
mov byte [esp + 0x1f], 1
mov byte [esp + 0x138], 1
cmp dword [esp + 0x128], 8
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x1006510b
push dword [esp + 0x114]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
jmp 0x1006544d
mov byte [esp + 0x138], 1
cmp dword [esp + 0x128], 8
jb 0x1006514e
push dword [esp + 0x114]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
push 4
xor eax, eax
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [esp + 0xd0]
push str.open
mov dword [esp + 0xe8], 7
mov dword [esp + 0xe4], 0
mov word [esp + 0xd4], ax
call fcn.10003000
mov byte [esp + 0x138], 4
xor eax, eax
push 0xffffffffffffffff
push eax
push dword [esp + 0x20]
mov dword [esp + 0x100], 0
lea ecx, [esp + 0xf0]
mov dword [esp + 0x104], 0
mov dword [esp + 0x104], 7
mov dword [esp + 0x100], 0
mov word [esp + 0xf0], ax
call fcn.10003100
mov byte [esp + 0x138], 5
lea eax, [esp + 0x20]
push 0x3c
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [esp + 0x20], 0x3c
cmp dword [esp + 0xe0], 8
lea eax, [esp + 0xcc]
mov dword [esp + 0x28], 0
cmovae eax, dword [esp + 0xcc]
cmp dword [esi + 0x14], 8
mov dword [esp + 0x24], 0x100540
mov dword [esp + 0x2c], eax
jb 0x1006525c
mov esi, dword [esi]
cmp dword [esp + 0x110], 8
lea eax, [esp + 0xfc]
push 0xb
cmovae eax, dword [esp + 0x100]
lea ecx, [esp + 0x118]
cmp dword [esp + 0xfc], 8
mov dword [esp + 0x3c], eax
lea eax, [esp + 0xe8]
cmovae eax, dword [esp + 0xe8]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
push str.Shell32.dll
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], 1
mov dword [esp + 0x130], 7
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.10003000
mov byte [esp + 0x138], 6
mov eax, dword [0x100b084c]
test al, 1
jne 0x1006532c
or eax, 1
mov dword [0x100b084c], eax
mov byte [esp + 0x138], 7
mov dword [0x100b0848], 0
call fcn.1001b590
push 0x10092b30
call fcn.10081c88
add esp, 4
mov byte [esp + 0x138], 6
lea eax, [esp + 0x114]
mov ecx, 0x100b0848
push eax
call fcn.1001b760
mov esi, eax
mov byte [esp + 0x138], 5
cmp dword [esp + 0x128], 8
jb 0x1006535e
push dword [esp + 0x114]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x128], 7
mov dword [esp + 0x124], 0
mov word [esp + 0x114], ax
test esi, esi
je 0x100653cc
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100653cc
lea ecx, [esp + 0x20]
push ecx
call eax
test eax, eax
je 0x100653cc
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x100653cc
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100653b6
mov dword [eax], ecx
mov byte [esp + 0x1f], 1
jmp 0x100653d1
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x58], 0
mov byte [esp + 0x1f], 1
jmp 0x100653d1
mov byte [esp + 0x1f], 0
mov byte [esp + 0x138], 4
cmp dword [esp + 0xf8], 8
jb 0x100653ef
push dword [esp + 0xe4]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xf8], 7
mov dword [esp + 0xf4], 0
mov word [esp + 0xe4], ax
mov byte [esp + 0x138], 1
cmp dword [esp + 0xe0], 8
jb 0x1006542d
push dword [esp + 0xcc]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xe0], 7
mov dword [esp + 0xdc], 0
mov word [esp + 0xcc], ax
mov byte [esp + 0x138], 0
cmp dword [esp + 0xc8], 8
jb 0x1006546b
push dword [esp + 0xb4]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xc8], 7
mov dword [esp + 0xc4], 0
mov word [esp + 0xb4], ax
mov dword [esp + 0x138], 0xffffffff
cmp dword [esp + 0x110], 8
jb 0x100654ac
push dword [esp + 0xfc]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x110], 7
mov word [esp + 0xfc], ax
mov al, byte [esp + 0x1f]
mov dword [esp + 0x10c], 0
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.10081b94
add esp, 0x130
ret