Function at 0x1400367f0
Capabilities:
Accept command line arguments

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov qword [rbp + 8], 0xfffffffffffffffe
mov qword [rsp + 0x210], rbx
mov rax, qword [0x1400c80c0]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov rsi, rdx
mov qword [rbp - 0x18], rdx
mov r13, rcx
mov qword [rbp - 0x20], rcx
xor r14d, r14d
mov word [rsp + 0x30], r14w
mov word [rsp + 0x70], r14w
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
call fcn.140033fc0
test eax, eax
jne 0x140037060
lea ecx, [rax + 8]
call fcn.14006ae40
mov rbx, rax
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140036879
mov qword [rax], r14
jmp 0x14003687c
mov rbx, r14
mov qword [r13 + 0x50], rbx
test rbx, rbx
jne 0x14003688d
lea eax, [rbx + 0xd]
jmp 0x140037060
mov rcx, rbx
call fcn.14003f5e0
mov edi, eax
test eax, eax
jne 0x14003703b
mov r9d, 0x7530
movzx r8d, word [rsp + 0x30]
lea rdx, str.127.0.0.1
mov rcx, qword [rbx]
call fcn.14003f720
mov edi, eax
test eax, eax
jne 0x14003703b
lea r15, vtable.DeNA::JsonObject.0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r14
lea rcx, [rbp - 0x48]
call fcn.1400287b0
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], dil
lea r8d, [rdi + 9]
lea rdx, str.api_level
lea rcx, [rbp + 0x30]
call fcn.140020170
mov dword [rsp + 0x58], 2
movsd xmm0, qword [0x1400a1de8]
movsd qword [rsp + 0x60], xmm0
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea r8, [rsp + 0x58]
mov rcx, qword [rbp - 0x48]
call fcn.140028820
lea rcx, [rbp + 0x30]
call fcn.140009430
lea rax, [rbp + 0x10]
mov qword [rbp - 0x68], rax
lea rcx, [rbp + 0x10]
call fcn.1400214b0
mov rbx, rax
mov qword [rbp + 0x48], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x40], r14
mov byte [rbp + 0x30], dil
lea r8d, [rdi + 0xb]
lea rdx, str.sdk_version
lea rcx, [rbp + 0x30]
call fcn.140020170
nop
mov dword [rsp + 0x58], 4
cmp qword [rbx + 0x18], 0x10
jb 0x140036988
mov rax, qword [rbx]
jmp 0x14003698b
mov rax, rbx
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
lea r8, [rsp + 0x58]
mov rcx, qword [rbp - 0x48]
call fcn.140028820
lea rcx, [rbp + 0x30]
call fcn.140009430
mov rcx, rbx
call fcn.140009430
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
test rax, rax
je 0x140036cd3
mov dword [rsp + 0x70], r14d
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov rsi, rax
mov qword [rbp - 0x68], rax
test rax, rax
je 0x140036cc6
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r14
mov byte [rbp + 0x10], 0
mov r8d, 7
mov qword [rbp + 0x48], r8
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], r14w
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov rbx, r14
mov qword [rbp - 0x70], rbx
mov r15d, r14d
cmp dword [rsp + 0x70], r14d
jle 0x140036c42
mov r14, rax
movzx ebx, byte [rsp + 0x30]
xor r13d, r13d
nop word [rax + rax]
mov rdx, qword [r14]
mov rax, rdx
mov r8, r13
cmp word [rdx], r8w
je 0x140036a5d
nop
inc r8
lea rax, [rax + 2]
cmp word [rax], 0
jne 0x140036a50
lea rcx, [rbp + 0x30]
call fcn.140037ed0
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], r13w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140037d80
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.14002d0c0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r13
mov byte [rsp + 0x38], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x38]
call fcn.140020040
mov r8b, 0x3d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.14002ce40
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.14002b940
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140036b1b
movzx r9d, bl
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
call fcn.14001a700
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
sub r8, rdx
sar r8, 5
lea rcx, [rsp + 0x58]
call fcn.140020320
mov r12, qword [rbp - 0x78]
mov rax, r12
mov rdi, qword [rbp - 0x80]
sub rax, rdi
sar rax, 5
cmp rax, 2
jne 0x140036c1b
cmp qword [rdi + 0x18], 0x10
jb 0x140036b43
mov rcx, qword [rdi]
jmp 0x140036b46
mov rcx, rdi
mov rsi, qword [rdi + 0x10]
mov r8d, reloc.WS2_32.dll_send
cmp rsi, r8
cmovb r8, rsi
test r8, r8
je 0x140036b70
lea rdx, str.__andapp_payload_id
call fcn.140097e40
test eax, eax
jne 0x140036c1b
cmp rsi, 0x13
jae 0x140036b7b
or eax, 0xffffffff
jmp 0x140036b85
mov eax, r13d
cmp rsi, 0x13
seta al
test eax, eax
jne 0x140036c1b
lea rax, [rbp + 0x50]
mov qword [rsp + 0x78], rax
lea rdx, [rdi + 0x20]
lea rcx, [rbp + 0x50]
call fcn.140009490
mov rsi, rax
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r13
mov byte [rsp + 0x38], 0
mov r8d, 0xa
lea rdx, str.payload_id
lea rcx, [rsp + 0x38]
call fcn.140020170
nop
mov dword [rbp - 0x30], 4
cmp qword [rsi + 0x18], 0x10
jb 0x140036be4
mov rax, qword [rsi]
jmp 0x140036be7
mov rax, rsi
mov qword [rbp - 0x28], rax
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x30]
mov rcx, qword [rbp - 0x48]
call fcn.140028820
lea rcx, [rsp + 0x38]
call fcn.140009430
mov rcx, rsi
call fcn.140009430
inc r15d
add r14, 8
cmp r15d, dword [rsp + 0x70]
jl 0x140036a40
mov r8, qword [rbp + 0x48]
mov rbx, qword [rbp - 0x70]
mov r13, qword [rbp - 0x20]
mov rsi, qword [rbp - 0x68]
xor r14d, r14d
jmp 0x140036c4a
mov r12, qword [rbp - 0x78]
mov rdi, qword [rbp - 0x80]
test rdi, rdi
je 0x140036c7e
movzx r9d, byte [rsp + 0x30]
lea r8, [rbp - 0x80]
mov rdx, r12
mov rcx, rdi
call fcn.14001a700
sub rbx, rdi
sar rbx, 5
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140020320
mov r8, qword [rbp + 0x48]
cmp r8, 8
jb 0x140036c94
inc r8
mov rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x30]
call fcn.140021e40
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], r14
mov word [rbp + 0x30], r14w
mov r8, qword [rbp + 0x28]
cmp r8, 0x10
jb 0x140036cbf
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.140038030
lea r15, vtable.DeNA::JsonObject.0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rsi, qword [rbp - 0x18]
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], r14
lea rcx, [rbp - 0x58]
call fcn.1400287b0
lea rax, [rbp + 0x10]
mov qword [rsp + 0x58], rax
lea rdx, [r13 + 8]
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r14
mov byte [rbp + 0x10], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0x10]
call fcn.140020040
nop
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x38], 0
mov r8d, 8
lea rdx, str.clientId
lea rcx, [rsp + 0x38]
call fcn.140020170
nop
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x38]
lea rcx, [rbp - 0x60]
call fcn.14002fef0
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x38], 0
mov r8d, send
lea rdx, str.disableLogging
lea rcx, [rsp + 0x38]
call fcn.140020170
movzx eax, byte [r13 + 0x28]
mov dword [rbp - 0x30], 1
mov byte [rbp - 0x28], al
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rdx, qword [rsp + 0x38]
lea r8, [rbp - 0x30]
mov rcx, qword [rbp - 0x58]
call fcn.140028820
lea rcx, [rsp + 0x38]
call fcn.140009430
lea rax, [rbp + 0x50]
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14001f0d0
mov rbx, rax
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r14
mov byte [rbp + 0x10], 0
mov r8d, 6
lea rdx, str.config
lea rcx, [rbp + 0x10]
call fcn.140020170
nop
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.14001ee80
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x60]
call fcn.14001f0d0
lea rcx, [rbp + 0x50]
call fcn.140009430
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x38], r14
lea rcx, [rbp - 0x38]
call fcn.1400287b0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x58], rax
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.14001f0d0
mov rbx, rax
mov qword [rbp + 0x28], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], r14
mov byte [rbp + 0x10], 0
mov r8d, 0xa
lea rdx, str.initialize
lea rcx, [rbp + 0x10]
call fcn.140020170
nop
mov r8, rbx
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x40]
call fcn.14001ee80
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x40]
call fcn.14001f0d0
nop
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
mov qword [rbp], r14
lea r8, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae r8, qword [rbp + 0x70]
add r8, qword [rbp + 0x80]
lea rdx, [rbp + 0x70]
cmp qword [rbp + 0x88], 0x10
cmovae rdx, qword [rbp + 0x70]
xor eax, eax
mov byte [rsp + 0x20], al
lea r9, [rbp - 0x10]
lea rcx, [rsp + 0x58]
call fcn.140029350
lea rdx, [rbp - 0x10]
lea rcx, [rbp - 0x80]
call fcn.14002a8d0
mov rdx, rax
mov rcx, qword [r13 + 0x50]
call fcn.140030900
mov ebx, eax
test eax, eax
jne 0x140036fe5
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r14
lea rdx, [rbp - 0x80]
mov rcx, qword [r13 + 0x50]
call fcn.14002eee0
mov ebx, eax
test eax, eax
jne 0x140036fdb
mov qword [rbp + 0xa8], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0xa0], r14
mov byte [rbp + 0x90], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x28], al
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x20], al
lea r9, [rbp + 0x90]
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
lea rcx, [rsp + 0x58]
call fcn.1400292d0
lea ecx, [rbx + 0x10]
call fcn.14006ae40
mov rdi, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140036fc9
mov qword [rax], r15
mov qword [rax + 8], r14
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x10]
call fcn.14001fc60
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x10]
call fcn.140020040
lea rdx, [rbp + 0x10]
mov rcx, rdi
call fcn.14001e850
mov ebx, eax
test eax, eax
je 0x140036fc1
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
jmp 0x140036fce
mov qword [rsi], rdi
mov ebx, r14d
jmp 0x140036fce
mov ebx, reloc.WS2_32.dll_listen
lea rcx, [rbp + 0x90]
call fcn.140009430
nop
lea rcx, [rbp - 0x80]
call fcn.140037600
nop
lea rcx, [rbp - 0x10]
call fcn.140037600
nop
lea rcx, [rbp + 0x70]
call fcn.140009430
nop
mov qword [rbp - 0x40], r15
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14003700f
call fcn.140027e60
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x60], r15
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140037025
call fcn.140027e60
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r15
mov rcx, qword [rbp - 0x48]
test rcx, rcx
je 0x140037037
call fcn.140027e60
mov eax, ebx
jmp 0x140037060
mov dword [rsp + 0x20], edi
lea r9, str.Send_TCP_handshake_request_failed__ErrorCode:__d
lea r8, str.Error
mov edx, 0x19f
lea rcx, str.srcSessionManager.cpp
call fcn.140039c40
mov eax, edi
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14006ab70
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret