Function at 0x1400b5bb0
Capabilities:
Accept command line arguments
Create process on windows
Create process suspended

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2b0]
sub rsp, 0x3b0
mov rax, qword [0x1402d3840]
xor rax, rsp
mov qword [rbp + 0x2a0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rbp]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
xor r12d, r12d
xorps xmm0, xmm0
mov r14, rax
mov r8, 0xffffffffffffffff
mov rdx, qword [rax]
movups xmmword [rbp + 0x38], xmm0
mov qword [rbp + 0x48], r12
mov qword [rbp + 0x50], r12
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400b5c14
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x3e0], r13
call fcn.14000a680
mov r15, qword [rbp + 0x50]
lea rbx, [rbp + 0x38]
mov rsi, qword [rbp + 0x38]
cmp r15, 7
mov rdi, qword [rbp + 0x48]
cmova rbx, rsi
test rdi, rdi
je 0x1400b5d31
mov r13d, 0x100
lea rcx, [rbp + 0x1a0]
mov r8d, r13d
xor edx, edx
call fcn.140209400
lea rcx, [0x1402a5d70]
lea rdx, [0x1402a5d74]
movzx eax, word [rcx]
cmp ax, r13w
jae 0x1400b5cce
movzx eax, al
add rcx, 2
mov byte [rbp + rax + 0x1a0], 1
cmp rcx, rdx
jne 0x1400b5c75
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
lea rdx, [rbx + rax*2]
nop dword [rax + rax]
movzx eax, word [rdx]
cmp ax, r13w
jae 0x1400b5cc3
cmp byte [rbp + rax + 0x1a0], r12b
jne 0x1400b5d29
cmp rdx, rbx
je 0x1400b5d31
sub rdx, 2
jmp 0x1400b5cb0
lea rcx, [rdi - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
mov r9d, 0x2f
cmovb rax, rcx
lea rdx, [rbx + rax*2]
nop word [rax + rax]
movzx r8d, word [rdx]
lea rax, [0x1402a5d70]
mov ecx, 2
cmp r9w, r8w
je 0x1400b5d29
cmp rcx, 1
je 0x1400b5d1e
add rax, 2
dec rcx
cmp word [rax], r8w
jne 0x1400b5d06
test rax, rax
jne 0x1400b5d29
cmp rdx, rbx
je 0x1400b5d31
sub rdx, 2
jmp 0x1400b5cf0
sub rdx, rbx
sar rdx, 1
jmp 0x1400b5d38
mov rdx, 0xffffffffffffffff
mov r13, qword [rsp + 0x3e0]
inc rdx
xorps xmm0, xmm0
xorps xmm1, xmm1
movups xmmword [rbp + 0x100], xmm0
movdqu xmmword [rbp + 0x110], xmm1
cmp rdi, rdx
jb 0x1400b67e2
sub rdi, rdx
lea rax, [rbp + 0x38]
mov r8, 0xffffffffffffffff
lea rcx, [rbp + 0x100]
cmp rdi, r8
cmovb r8, rdi
cmp r15, 7
cmova rax, rsi
lea rdx, [rax + rdx*2]
call fcn.14000a680
cmp dword [rbp], 1
jle 0x1400b6248
mov rdx, qword [r14 + 8]
xorps xmm0, xmm0
xorps xmm1, xmm1
mov r8, 0xffffffffffffffff
movups xmmword [rsp + 0x68], xmm0
movdqu xmmword [rsp + 0x78], xmm1
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400b5db4
lea rcx, [rsp + 0x68]
call fcn.14000a680
lea rdx, [rsp + 0x68]
lea rcx, [rbp + 0x18]
call fcn.1400bd7a0
lea rcx, [rsp + 0x68]
call fcn.140008630
mov rdx, r12
xorps xmm0, xmm0
mov esi, 2
mov qword [rbp - 0x10], rdx
mov edi, reloc.WS2_32.dll_ntohs
movups xmmword [rbp - 0x20], xmm0
mov byte [rbp - 0x20], dl
mov qword [rbp - 8], rdi
cmp dword [rbp], esi
jle 0x1400b5fed
lea rbx, [r14 + 0x10]
lea r14, vtable.std::wstring_convert_class_std::codecvt_utf8_wchar_t__1114111__0___wchar_t__class_std::allocator_wchar_t___class_std::allocator_char__.0
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], r12
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x60], r12
nop dword [rax]
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400b5e40
lea rcx, [rbp - 0x78]
call fcn.14000a680
xorps xmm0, xmm0
lea rcx, [rbp + 0x120]
xor eax, eax
movups xmmword [rbp + 0x120], xmm0
mov qword [rbp + 0x190], rax
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
movups xmmword [rbp + 0x150], xmm0
movups xmmword [rbp + 0x160], xmm0
movups xmmword [rbp + 0x170], xmm0
movups xmmword [rbp + 0x180], xmm0
call fcn.1400bf840
cmp qword [rbp - 0x60], 7
lea r8, [rbp - 0x78]
mov rax, qword [rbp - 0x68]
lea rdx, [rbp + 0xd0]
cmova r8, qword [rbp - 0x78]
lea rcx, [rbp + 0x120]
lea r9, [r8 + rax*2]
call fcn.1400bfc90
lea rcx, [rbp + 0x160]
mov qword [rbp + 0x120], r14
call fcn.140008630
lea rcx, [rbp + 0x140]
call fcn.1400086c0
mov rcx, qword [rbp + 0x138]
test rcx, rcx
je 0x1400b5f09
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
test rax, rax
je 0x1400b5f09
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov r9d, 1
lea r8, [0x14029e248]
xor edx, edx
lea rcx, [rbp + 0xd0]
call fcn.14000b860
mov qword [rsp + 0x78], r12
lea rdx, [0x1402a5d78]
mov qword [rbp - 0x80], r12
lea rcx, [rsp + 0x68]
xorps xmm0, xmm0
mov r8d, 2
movups xmmword [rsp + 0x68], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x78], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rdi
mov byte [rax], r12b
call fcn.140008830
lea rdx, [rbp - 0x58]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm0
movq rcx, xmm0
movq r8, xmm1
movups xmmword [rbp - 0x48], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rdi
movdqa xmm0, xmm1
psrldq xmm0, 8
mov byte [rax], r12b
movq rax, xmm0
cmp rax, rdi
cmova rdx, rcx
lea rcx, [rbp - 0x20]
call fcn.140008830
lea rcx, [rbp - 0x58]
call fcn.1400086c0
lea rcx, [rsp + 0x68]
call fcn.1400086c0
lea rcx, [rbp + 0xd0]
call fcn.1400086c0
lea rcx, [rbp - 0x78]
call fcn.140008630
inc esi
add rbx, 8
cmp esi, dword [rbp]
jl 0x1400b5e20
mov rdi, qword [rbp - 8]
mov rdx, qword [rbp - 0x10]
cmp rdi, 0xf
mov qword [rsp + 0x20], reloc.WS2_32.dll_send
lea rcx, [rbp - 0x20]
cmova rcx, qword [rbp - 0x20]
lea r9, str.___no_proxy_server_
xor r8d, r8d
call fcn.140056cf0
lea r9, [0x140294c1d]
mov qword [rsp + 0x20], r12
mov r8d, reloc.WS2_32.dll_send
lea rcx, [rbp - 0x20]
mov rdx, rax
call fcn.1400532b0
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call fcn.1401d4790
mov r9, rax
lea r8, [0x14029573c]
lea rdx, str.CONOUT_
lea rcx, [rbp + 8]
call fcn.1401dd680
xorps xmm0, xmm0
mov dword [rbp + 0x60], 0x68
xor eax, eax
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0xf
lea rcx, [rbp + 0x18]
mov dword [rbp + 0xc4], eax
cmova rdx, qword [rbp - 0x20]
cmp qword [rbp + 0x30], 0xf
mov qword [rbp - 0x28], rax
lea rax, [rbp - 0x38]
cmova rcx, qword [rbp + 0x18]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], r12d
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp + 0x74], xmm0
movups xmmword [rbp + 0x84], xmm0
movups xmmword [rbp + 0x94], xmm0
movups xmmword [rbp + 0xa4], xmm0
movups xmmword [rbp + 0xb4], xmm0
movups xmmword [rbp - 0x38], xmm0
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x1400b6231
lea rdx, str.App:
lea rcx, [0x1402d7e50]
call fcn.140054450
cmp qword [rbp + 0x30], 0xf
lea rdx, [rbp + 0x18]
mov r8, qword [rbp + 0x28]
mov rcx, rax
cmova rdx, qword [rbp + 0x18]
call fcn.140057ac0
mov rcx, rax
call fcn.140054720
lea rdx, str.PID:
lea rcx, [0x1402d7e50]
call fcn.140054450
mov edx, dword [rbp - 0x28]
mov rcx, rax
call fcn.1400b6920
mov rcx, rax
call fcn.140054720
lea rdx, str.Args:
lea rcx, [0x1402d7e50]
call fcn.140054450
cmp qword [rbp - 8], 0xf
lea rdx, [rbp - 0x20]
mov r8, qword [rbp - 0x10]
mov rcx, rax
cmova rdx, qword [rbp - 0x20]
call fcn.140057ac0
mov rcx, rax
call fcn.140054720
mov ecx, dword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_DebugActiveProcessStop]
mov rcx, qword [rbp - 0x38]
test eax, eax
jne 0x1400b61a4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400b6222
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rdx, str.Exited
lea rcx, [0x1402d7e50]
call fcn.140054450
mov rcx, rax
call fcn.140054720
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x60]
call fcn.14001cf60
mov rax, qword [rsp + 0x60]
movabs rcx, 0x7fffffffc46535fe
cmp rax, rcx
jg 0x1400b6209
add rax, 0x3b9aca00
mov qword [rsp + 0x60], rax
jmp 0x1400b6218
movabs r14, 0x7fffffffffffffff
mov qword [rsp + 0x60], r14
lea rcx, [rsp + 0x60]
call fcn.140057fd0
mov rcx, qword [rbp + 8]
call fcn.1401d033c
call qword [sym.imp.KERNEL32.dll_FreeConsole]
lea rcx, [rbp - 0x20]
call fcn.1400086c0
lea rcx, [rbp + 0x18]
call fcn.1400086c0
jmp 0x1400b67a0
call fcn.1400b33e0
mov edx, 0xa
mov dword [rbp + 0xc], 0xfffff
mov edi, 0x2e80
mov dword [rbp + 8], edi
lea ecx, [rdx - 5]
call fcn.1400bd470
movdqa xmm1, xmmword [0x1402a6470]
xorps xmm0, xmm0
movsxd rbx, eax
movups xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x20], r12w
movdqu xmmword [rbp - 0x10], xmm1
test eax, eax
je 0x1400b62ae
nop dword [rax]
mov edx, 0xfffff
mov ecx, edi
call fcn.1400bd470
movzx edx, ax
lea rcx, [rbp - 0x20]
call fcn.140051d40
sub rbx, 1
jne 0x1400b6290
cmp qword [rbp - 8], 7
lea rax, [0x1400b67f0]
lea rbx, [rbp - 0x20]
mov dword [rbp + 0x60], 0x50
cmova rbx, qword [rbp - 0x20]
xor ecx, ecx
mov dword [rbp + 0x64], 0x40
mov qword [rbp + 0x68], rax
mov qword [rbp + 0x70], r12
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp qword [rbp - 8], 7
xorps xmm0, xmm0
mov qword [rbp + 0x78], rax
xorps xmm1, xmm1
lea rax, [rbp - 0x20]
movdqa xmmword [rbp + 0x80], xmm0
cmova rax, qword [rbp - 0x20]
cmp byte [0x1402d9cf0], r12b
mov qword [rbp + 0xa0], rax
movdqa xmmword [rbp + 0x90], xmm1
mov qword [rbp + 0xa8], r12
je 0x1400b6325
call fcn.1400bdd80
lea rcx, [rbp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov ecx, dword [0x1402d9d24]
lea rdx, [rbp - 0x20]
mov r9d, dword [0x1402d9d20]
mov r8, rbx
mov rax, qword [rbp + 0x78]
cmp qword [rbp - 8], 7
mov qword [rsp + 0x58], r12
cmova rdx, qword [rbp - 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ecx
xor ecx, ecx
mov dword [rsp + 0x30], r9d
mov r9d, 0xe0000
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x1402d9c90], rax
test rax, rax
jne 0x1400b63c3
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rdx, str.Couldnt_create_window
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400b6797
cmp byte [0x1402d9d1c], r12b
mov rcx, rax
je 0x1400b63d6
mov edx, reloc.WS2_32.dll_recvfrom
jmp 0x1400b63d8
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowDisplayAffinity]
mov rdx, qword [0x1402d9c90]
lea rcx, [0x1402d5a40]
call fcn.14004d7e0
test al, al
jne 0x1400b6425
call fcn.14004de60
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rdx, str.Couldnt_initialize_DirectX
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x1400b6797
mov rcx, qword [0x1402d9c90]
mov edx, 0xa
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1402d9c90]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400b9d00
call fcn.1400b9a90
test al, al
jne 0x1400b6457
call fcn.1400b9360
xorps xmm0, xmm0
xor sil, sil
movups xmmword [rbp + 0xd0], xmm0
movabs r14, 0x7fffffffffffffff
movabs r15, 0x7ffffffffff0bdbe
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
nop word [rax + rax]
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0xd0]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x1400b64d0
lea rcx, [rbp + 0xd0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x1400b665d
mov rax, qword [0x1402d9c50]
test rax, rax
je 0x1400b64e5
mov rcx, qword [rax + 0xa0]
jmp 0x1400b64e8
mov rcx, r12
cmp qword [rcx + 0x48], r12
jne 0x1400b64f3
call fcn.1400889b0
call fcn.1400896a0
call fcn.14006b1b0
lea rcx, [0x1402d5a40]
call fcn.14004da40
movaps xmm0, xmmword [0x1402a6530]
movups xmmword [rbp + 8], xmm0
call fcn.14006cb50
call fcn.14006cf10
mov rcx, qword [0x1402d9ad8]
lea r8, [0x1402d9ae0]
xor r9d, r9d
mov rax, qword [rcx]
lea edx, [r9 + 1]
call qword [rax + 0x108]
mov rcx, qword [0x1402d9ad8]
lea r8, [rbp + 8]
mov rdx, qword [0x1402d9ae0]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1402d9c50]
mov rcx, qword [rax + 0x1b98]
mov rax, qword [rcx]
mov rcx, r12
add rax, 0x48
cmp byte [rax], r12b
cmovne rcx, rax
call fcn.140087d40
mov rcx, qword [0x1402d9b28]
xor r8d, r8d
mov rax, qword [rcx]
lea edx, [r8 + 1]
call qword [rax + 0x40]
lea rdx, str.League_of_Legends
lea rcx, str.RCLIENT
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
jne 0x1400b6617
mov rbx, qword [0x1402d5948]
mov sil, 1
mov rdi, qword [0x1402d5950]
mov byte [0x1402d5a60], 1
cmp rbx, rdi
je 0x1400b65e5
lea rcx, [rbx + 8]
call fcn.1400086c0
add rbx, 0x28
cmp rbx, rdi
jne 0x1400b65c5
mov rax, qword [0x1402d5948]
mov qword [0x1402d5950], rax
lea rdx, str.Riot_Client
lea rcx, str.RCLIENT
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x1400b660e
cmp dword [0x1402d58c0], r12d
jne 0x1400b6630
call fcn.1400b9360
jmp 0x1400b6630
mov dword [0x1402d58c0], r12d
jmp 0x1400b6630
test sil, sil
je 0x1400b6630
call fcn.1400b9d00
call fcn.1400b9a90
xor sil, sil
mov byte [0x1402d5a60], r12b
lea rcx, [rsp + 0x60]
call fcn.14001cf60
mov rax, qword [rsp + 0x60]
cmp rax, r15
jg 0x1400b6650
add rax, 0xf4240
mov qword [rbp + 8], rax
jmp 0x1400b6654
mov qword [rbp + 8], r14
lea rcx, [rbp + 8]
call fcn.140057fd0
cmp dword [rbp + 0xd8], 0x12
jne 0x1400b6490
call fcn.14001f610
mov rdi, qword [0x1402d9c50]
test rdi, rdi
je 0x1400b6684
mov rbx, qword [rdi + 0xa0]
jmp 0x1400b6687
mov rbx, r12
call fcn.140088db0
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400b669b
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400b66a9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400b66b8
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rax, qword [0x1402d9c50]
mov qword [rdi + 0x90], r12
mov qword [rdi + 0xa0], r12
test rax, rax
je 0x1400b66d8
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.1401cf740
mov rax, qword [0x1402d9c50]
test rax, rax
je 0x1400b66f5
mov rbx, qword [rax + 0x98]
jmp 0x1400b66f8
mov rbx, r12
mov rcx, qword [rbx + 0x30]
lea rdi, [rax + 8]
test rcx, rcx
je 0x1400b6712
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [0x1402d9c50]
mov qword [rdi + 0x80], r12
mov qword [rdi + 0x90], r12
test rax, rax
je 0x1400b672b
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.1401cf740
mov rbx, qword [0x1402d9c50]
mov qword [0x1402d9c50], rbx
call fcn.140069470
mov qword [0x1402d9c50], r12
test rbx, rbx
je 0x1400b6774
mov rcx, rbx
call fcn.14007cea0
mov rax, qword [0x1402d9c50]
test rax, rax
je 0x1400b676c
dec dword [rax + 0xf4]
mov rcx, rbx
call fcn.1401cf740
call fcn.14004de60
mov rcx, qword [0x1402d9c90]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp + 0x78]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.USER32.dll_UnregisterClassW]
lea rcx, [rbp - 0x20]
call fcn.140008630
lea rcx, [rbp + 0x100]
call fcn.140008630
lea rcx, [rbp + 0x38]
call fcn.140008630
xor eax, eax
mov rcx, qword [rbp + 0x2a0]
xor rcx, rsp
call fcn.1401c72b0
lea r11, [rsp + 0x3b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.1400088e0
int3