Function at 0x140004700
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x490
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x488], rax
xor edi, edi
mov rdx, qword [rdx + 8]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], dil
jne 0x140004742
lea rcx, [rsp + 0x60]
call fcn.140006300
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rsi, rax
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rbx, qword [rsp + 0x60]
mov dword [rax], edi
mov r8d, 0xa
lea rdx, [rsp + 0x158]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x158]
jne 0x1400047a1
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rsi], 0x22
jne 0x1400047b4
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
mov dword [0x14000e904], eax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140004800
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400047f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400047f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008050
mov eax, dword [0x14000e904]
test eax, eax
jne 0x14000482e
mov eax, 1
mov rcx, qword [rsp + 0x488]
xor rcx, rsp
call fcn.140008030
lea r11, [rsp + 0x490]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call fcn.140004640
test eax, eax
jne 0x14000483e
mov eax, 2
jmp 0x140004809
lea rdx, str.Crash_Handler_Initialized__PID:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005790
mov edx, dword [0x14000e904]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, [0x14000a6d8]
call fcn.140005790
lea rcx, [rsp + 0x1a0]
call fcn.140003b50
nop
mov rcx, rax
cmp qword [rax + 0x18], 7
jbe 0x14000488a
mov rcx, qword [rax]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x160], rcx
mov qword [rsp + 0x168], rax
call fcn.1400070a0
movaps xmm0, xmmword [rsp + 0x160]
movdqa xmmword [rsp + 0x160], xmm0
lea r8, [rsp + 0x160]
mov edx, eax
lea rcx, [rsp + 0x180]
call fcn.1400052c0
nop
mov r8d, 1
lea rdx, [0x14000a704]
lea rcx, [rsp + 0x180]
call fcn.1400051f0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x1e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x1f0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x198]
cmp rdx, 0xf
jbe 0x140004952
inc rdx
mov rcx, qword [rsp + 0x180]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000494d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000494d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008050
movdqa xmm0, xmmword [0x14000a870]
movdqu xmmword [rsp + 0x190], xmm0
mov byte [rsp + 0x180], 0
mov rdx, qword [rsp + 0x1b8]
cmp rdx, 7
jbe 0x1400049b6
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x1a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400049b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400049b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140008050
movdqa xmm0, xmmword [0x14000a860]
movdqu xmmword [rsp + 0x1b0], xmm0
mov word [rsp + 0x1a0], di
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov qword [rsp + 0x158], rax
lea r8, [rsp + 0x158]
mov edx, 0x1f0
lea rcx, [rsp + 0x290]
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__ctime64_s]
call fcn.140004640
test eax, eax
jne 0x140004f61
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x138]
call fcn.140005050
nop
mov r8d, edi
lea rcx, [rsp + 0x138]
call fcn.140004fb0
test rax, rax
je 0x140004bc0
mov rdx, rdi
nop word [rax + rax]
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x3a
jne 0x140004a72
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x3e
jne 0x140004a94
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x3c
jne 0x140004ab6
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x5c
jne 0x140004ad8
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x2f
jne 0x140004afa
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x2a
jne 0x140004b1c
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x3f
jne 0x140004b3e
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x22
jne 0x140004b60
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0x7c
jne 0x140004b82
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
lea rcx, [rsp + 0x138]
call fcn.140004fd0
cmp byte [rax], 0xa
jne 0x140004ba4
lea rcx, [rsp + 0x138]
call fcn.140004fd0
mov byte [rax], 0x2d
inc r8d
movsxd rdx, r8d
lea rcx, [rsp + 0x138]
call fcn.140004fb0
cmp rdx, rax
jb 0x140004a50
lea r8, [rsp + 0x138]
lea rcx, [rsp + 0x1c0]
call fcn.140005ac0
nop
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x160]
call fcn.140005c00
nop
lea rcx, [rsp + 0x160]
call fcn.140003980
movzx ebx, al
lea rcx, [rsp + 0x160]
call fcn.1400022b0
test bl, bl
jne 0x140004e78
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x160]
call fcn.140005c00
nop
lea rcx, [rsp + 0x160]
call fcn.140003b00
nop
lea rcx, [rsp + 0x160]
call fcn.1400022b0
lea rcx, [rsp + 0x80]
call fcn.140003b50
nop
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.1400034a0
nop
lea rcx, [rsp + 0x80]
call fcn.1400022b0
lea rcx, [rsp + 0x1a0]
call fcn.140003a10
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x180]
call fcn.140004f80
mov rdx, rax
lea rcx, [rsp + 0x1a0]
call fcn.140003540
nop
lea rcx, [rsp + 0x180]
call fcn.140003a10
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.140004f80
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.1400035c0
nop
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x1a0]
call fcn.140003530
test al, al
je 0x140004e4f
lea rcx, [rsp + 0x1a0]
call fcn.1400034f0
mov rbx, rax
lea rcx, [rsp + 0x80]
call fcn.140005c60
nop
mov rcx, rbx
call fcn.140002ee0
mov rsi, rax
lea rdx, [rsp + 0xa0]
mov rcx, rax
call fcn.1400020f0
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.1400021f0
movzx ebx, al
lea rcx, [rsp + 0xa0]
call fcn.1400022b0
nop
lea rcx, [rsp + 0x80]
call fcn.1400022b0
test bl, bl
je 0x140004e3d
lea rdx, [rsp + 0x100]
mov rcx, rsi
call fcn.140002040
nop
lea rdx, [rsp + 0xe0]
mov rcx, rax
call fcn.140001de0
mov rbx, rax
lea r8, [0x14000a704]
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xc0]
call fcn.140005960
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140005ca0
nop
mov rdx, rax
lea rcx, [rsp + 0x80]
call fcn.140005c00
nop
lea rdx, [rsp + 0x80]
mov rcx, rsi
call fcn.140004490
nop
lea rcx, [rsp + 0x80]
call fcn.1400022b0
nop
lea rcx, [rsp + 0xa0]
call fcn.140004ff0
nop
lea rcx, [rsp + 0xc0]
call fcn.140004ff0
nop
lea rcx, [rsp + 0xe0]
call fcn.140004ff0
nop
lea rcx, [rsp + 0x100]
call fcn.1400022b0
nop
lea rcx, [rsp + 0x1a0]
call fcn.140003500
jmp 0x140004ce0
lea rcx, [rsp + 0x1a0]
call fcn.140003500
jmp 0x140004ce0
lea rcx, [rsp + 0x180]
call fcn.140003570
nop
lea rcx, [rsp + 0x1a0]
call fcn.140003570
nop
lea rcx, [rsp + 0x160]
call fcn.140003570
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x204], xmm0
movups xmmword [rsp + 0x214], xmm0
movups xmmword [rsp + 0x224], xmm0
movups xmmword [rsp + 0x234], xmm0
movups xmmword [rsp + 0x244], xmm0
movups xmmword [rsp + 0x254], xmm0
mov dword [rsp + 0x264], eax
movups xmmword [rsp + 0x120], xmm0
mov qword [rsp + 0x130], rax
mov dword [rsp + 0x200], 0x68
lea r8, str.DisconnectBuildServer.exe_auto
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x270]
call fcn.140005960
lea rcx, [rsp + 0x270]
call fcn.140004fc0
mov rdx, rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x200]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x140004f55
mov rcx, qword [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x128]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400049d0