Function at 0x140001030
Capabilities:
Create process on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1208
call fcn.14003c550
sub rsp, rax
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x1180], 0xfffffffffffffffe
mov r13, rdx
mov eax, ecx
xorps xmm0, xmm0
lea rcx, [rbp + 0x1060]
movaps xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
movdqa xmm0, xmmword [0x1400531d0]
movdqu xmmword [rcx + 0x18], xmm0
mov dword [rbp + 0x117c], eax
movsxd r14, eax
lea rdx, [r14*8]
call fcn.1400059b0
mov rdi, rax
xor r15d, r15d
lea rsi, [rbp - 0x20]
lea r12, [rbp + 0x1060]
jmp 0x14000110b
mov rbx, qword [r13 + r15*8]
mov rcx, rbx
call fcn.1400262ac
mov rcx, rsi
mov rdx, rbx
mov r8, rax
call fcn.1400072db
cmp qword [rbp - 8], 0x10
jb 0x1400010d8
mov rax, qword [rbp - 0x20]
mov qword [rbp + 0x1090], rax
jmp 0x1400010e2
mov qword [rbp + 0x1090], rsi
mov rax, rsi
add rax, qword [rbp - 0x10]
mov qword [rbp + 0x1098], rax
lea rcx, [rbp + 0x1090]
mov rdx, r12
call fcn.140005a25
mov qword [rdi + r15*8], rax
mov rcx, rsi
call fcn.1400017e4
inc r15
cmp r15, r14
jl 0x1400010a9
pxor xmm0, xmm0
lea r8, [rbp + 0x1090]
movdqu xmmword [r8 + 0x59], xmm0
movdqa xmmword [r8 + 0x50], xmm0
movdqa xmmword [r8 + 0x40], xmm0
movdqa xmmword [r8 + 0x30], xmm0
movdqa xmmword [r8 + 0x20], xmm0
movdqa xmmword [r8 + 0x10], xmm0
movdqa xmmword [r8], xmm0
mov byte [r8 + 0x69], 1
and word [r8 + 0x6e], 0
mov byte [r8 + 0x70], 0
and dword [r8 + 0x6a], 0
mov ecx, dword [rbp + 0x117c]
mov rdx, rdi
call fcn.140001fc0
cmp byte [rbp + 0x10ff], 0
je 0x140001183
xor ebx, ebx
lea rcx, str.subl
call fcn.140003906
jmp 0x14000151a
cmp byte [rbp + 0x1100], 0
je 0x1400011a6
xor ebx, ebx
lea rcx, str.Sublime_Text_Build__s_n
lea rdx, str.3211
call fcn.140001712
jmp 0x14000151a
cmp byte [rbp + 0x10f8], 0
je 0x1400011b6
mov byte [0x140075f70], 1
lea rdx, [rbp - 0x20]
and word [rdx], 0
xor ecx, ecx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rbp - 0x20]
call fcn.1400262ac
movsxd rcx, eax
test rcx, rcx
jle 0x1400011fb
mov rax, rcx
movzx edx, word [rbp + rcx*2 - 0x22]
cmp dx, 0x5c
je 0x1400011f5
lea rcx, [rax - 1]
cmp dx, 0x2f
jne 0x1400011d8
and word [rbp + rax*2 - 0x22], 0
lea rdx, str._sublime_text.exe
lea rcx, [rbp - 0x20]
call fcn.140028c6c
lea r8, str.Sublime_Text
lea rsi, [rbp + 0x1110]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.140008320
cmp qword [rbp + 0x1128], 7
jbe 0x140001236
mov rsi, qword [rbp + 0x1110]
mov rcx, rsi
call fcn.140001914
test al, al
jne 0x14000130e
pxor xmm0, xmm0
lea rax, [rbp + 0xfe0]
movdqa xmmword [rax], xmm0
movdqa xmmword [rax + 0x50], xmm0
movdqa xmmword [rax + 0x40], xmm0
movdqa xmmword [rax + 0x30], xmm0
and qword [rax + 0x60], 0
movdqa xmmword [rax + 0x20], xmm0
movdqa xmmword [rax + 0x10], xmm0
mov dword [rax], 0x68
lea rcx, [rbp + 0x1150]
movdqa xmmword [rcx], xmm0
and qword [rcx + 0x10], 0
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
and dword [rsp + 0x28], 0
movdqu xmmword [rsp + 0x30], xmm0
and dword [rsp + 0x20], 0
lea rcx, [rbp - 0x20]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov rcx, qword [rbp + 0x1150]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x1158]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
lea rbx, [rbp + 0x1110]
push 0x32
pop r14
mov rsi, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001309
cmp qword [rbp + 0x1128], 7
mov rcx, rbx
jbe 0x1400012f9
mov rcx, qword [rbp + 0x1110]
call fcn.140001914
test al, al
jne 0x14000130e
mov ecx, r14d
call rsi
inc edi
cmp edi, 0x4f
jbe 0x1400012e5
lea r14, [rbp + 0x1110]
mov rcx, r14
call fcn.14000177a
mov eax, 0x200
movq xmm0, rax
pslldq xmm0, 8
lea rax, [rbp - 8]
movdqa xmmword [rax - 0x18], xmm0
mov qword [rax - 8], rax
lea rcx, [rbp + 0x1090]
lea rdx, [rbp - 0x20]
call fcn.14000392c
cmp byte [rbp + 0x10fc], 0
je 0x140001366
mov rdi, qword [rbp + 0x1098]
sub rdi, qword [rbp + 0x1090]
shr rdi, 5
jmp 0x140001368
xor edi, edi
lea rax, [0x1400694fb]
movq xmm0, rax
lea rax, str.com.sublimetext.three
movq xmm1, rax
punpcklqdq xmm1, xmm0
lea rdx, [rbp + 0x1050]
movdqa xmmword [rdx], xmm1
lea rcx, [rbp + 0xfe0]
call fcn.14000722a
lea r8, str..timer_window
lea rbx, [rbp + 0x1150]
lea rdx, [rbp + 0xfe0]
mov rcx, rbx
call fcn.140001753
lea rsi, [rbp + 0xfe0]
mov rcx, rsi
call fcn.14000177a
pxor xmm0, xmm0
movdqa xmmword [rsi], xmm0
movdqa xmmword [rsi + 0x40], xmm0
movdqa xmmword [rsi + 0x30], xmm0
movdqa xmmword [rsi + 0x20], xmm0
movdqa xmmword [rsi + 0x10], xmm0
mov dword [rsi], 0x50
cmp qword [rbp + 0x1168], 7
jbe 0x1400013fa
mov rbx, qword [rbp + 0x1150]
lea rcx, [rbp + 0xfe0]
mov qword [rcx + 0x40], rbx
mov rax, qword [sym.imp.USER32.dll_DefWindowProcW]
mov qword [rcx + 8], rax
call qword [sym.imp.USER32.dll_RegisterClassExW]
push 1
pop rbx
test ax, ax
je 0x140001505
cmp qword [rbp + 0x1168], 7
jbe 0x140001435
mov rdx, qword [rbp + 0x1150]
jmp 0x14000143c
lea rdx, [rbp + 0x1150]
and dword [rsp + 0x38], 0
and dword [rsp + 0x30], 0
pxor xmm0, xmm0
and dword [rsp + 0x28], 0
movdqu xmmword [rsp + 0x50], xmm0
and dword [rsp + 0x20], 0
movdqu xmmword [rsp + 0x40], xmm0
lea r8, [0x14006a6ba]
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
je 0x140001505
lea rcx, [rbp + 0x1178]
and dword [rcx], 0
mov bl, byte [rbp + 0x10fd]
lea rdx, vtable.std::_Func_impl_class__wmain::_1::_lambda_0___class_std::allocator_int___void__int_.0
mov qword [rbp + 0x1110], rdx
mov qword [rbp + 0x1118], rcx
mov qword [rbp + 0x1148], r14
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x10]
test bl, bl
sete byte [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1150]
mov qword [rsp + 0x20], rax
mov r8d, edi
mov r9, r14
call fcn.140008493
lea rcx, [rbp + 0x1110]
call fcn.140001f98
cmp byte [rbp + 0x10fc], 0
je 0x1400014ff
cmp byte [rbp + 0x10fe], 0
jne 0x1400014ff
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov ebx, dword [rbp + 0x1178]
lea rcx, [rbp + 0x1150]
call fcn.14000177a
lea rcx, [rbp - 0x20]
call fcn.140006b88
lea rcx, [rbp + 0x1090]
call fcn.1400017b4
lea rcx, [rbp + 0x1060]
call fcn.14000597c
mov eax, ebx
add rsp, 0x1208
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret