Function at 0x140122800
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x1401f4040]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov r15, rdx
mov rsi, rcx
xor ebx, ebx
mov r14, qword [rcx]
lea rax, [0x1400a0270]
mov qword [rsp + 0x20], rax
lea r9, [0x1401220f0]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp - 0x10]
call fcn.14012b270
nop
lea rdx, [r15 + 0x38]
lea rcx, [rbp - 0x10]
call fcn.140122110
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.140006830
nop
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x1b0]
call fcn.140006830
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x50], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8d, recv
lea rdx, str.OnSuperMain
lea rcx, [rsp + 0x70]
call fcn.140013b60
nop
lea r9, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova r9, qword [rsp + 0x70]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401228ef
mov rcx, qword [rdi]
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x70]
cmp rax, 0xffffffffffffffff
je 0x140122a35
call fcn.140006950
mov rcx, rdi
call fcn.140006950
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8d, 0x18
lea rdx, str.actionrefresh_item_data
lea rcx, [rsp + 0x70]
call fcn.140013b60
nop
lea r8, [rsp + 0x70]
mov edx, 2
mov rcx, r14
call fcn.140010620
nop
lea rcx, [rsp + 0x70]
call fcn.140006950
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov r8d, 0x22
lea rdx, str.actionrefresh_player_tribute_data
lea rcx, [rsp + 0x70]
call fcn.140013b60
nop
lea r8, [rsp + 0x70]
mov edx, 2
mov rcx, r14
call fcn.140010620
nop
lea rcx, [rsp + 0x70]
call fcn.140006950
mov ecx, reloc.WS2_32.dll_recv
call fcn.14012adc0
mov qword [rax], r14
lea rcx, [0x140122700]
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400071e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140122a25
cmp dword [rsp + 0x58], 0
je 0x140122a19
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140122a19
jmp 0x140124104
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.OnSendToServer
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140122aa5
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140122aec
call fcn.140006950
mov rcx, rdi
call fcn.140006950
mov byte [r14 + 0xe2a], 0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.140122440
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.OnSetCurrentWeather
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140122b5c
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140122bb5
call fcn.140006950
mov rcx, rdi
call fcn.140006950
cmp dword [rbp + 0x30], 0
jne 0x140122ba6
mov dword [rbp + 0x30], 9
mov dword [rbp + 0x40], ebx
mov dword [r14 + 0x4f0], ebx
jmp 0x140124104
mov ebx, dword [rbp + 0x40]
mov dword [r14 + 0x4f0], ebx
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnSetClothing
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140122c25
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140122d93
call fcn.140006950
mov rcx, rdi
call fcn.140006950
xorps xmm1, xmm1
cmp dword [rbp + 0x30], 0
jne 0x140122c77
mov dword [rbp + 0x30], 4
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rbp + 0x40], xmm0
movss dword [rbp + 0x48], xmm1
cmp dword [rbp + 0x70], 0
jne 0x140122c9a
mov dword [rbp + 0x70], 4
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rbp + 0x80], xmm0
movss dword [rbp + 0x88], xmm1
cmp dword [rbp + 0xb0], 0
jne 0x140122cc3
mov dword [rbp + 0xb0], 4
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rbp + 0xc0], xmm0
movss dword [rbp + 0xc8], xmm1
cmp dword [rbp + 0x130], 0
jne 0x140122cec
mov dword [rbp + 0x130], 4
xorps xmm0, xmm0
unpcklps xmm0, xmm1
movsd qword [rbp + 0x140], xmm0
movss dword [rbp + 0x148], xmm1
mov eax, dword [r14 + 0x450]
cmp dword [r15 + 4], eax
jne 0x140124104
cvttss2si eax, dword [rbp + 0x40]
cvttss2si ecx, dword [rbp + 0x44]
cvttss2si edx, dword [rbp + 0x48]
cvttss2si r8d, dword [rbp + 0x80]
cvttss2si r9d, dword [rbp + 0x84]
cvttss2si r10d, dword [rbp + 0x88]
cvttss2si r11d, dword [rbp + 0xc0]
cvttss2si ebx, dword [rbp + 0xc4]
cvttss2si edi, dword [rbp + 0xc8]
cvttss2si esi, dword [rbp + 0x140]
mov dword [r14 + 0x504], eax
mov dword [r14 + 0x508], ecx
mov dword [r14 + 0x50c], edx
mov dword [r14 + 0x510], r8d
mov dword [r14 + 0x514], r9d
mov dword [r14 + 0x518], r10d
mov dword [r14 + 0x51c], r11d
mov dword [r14 + 0x520], ebx
mov dword [r14 + 0x524], edi
mov dword [r14 + 0x528], esi
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.OnGuildDataChanged
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140122e03
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140122e81
call fcn.140006950
mov rcx, rdi
call fcn.140006950
cmp dword [rbp + 0xb0], 0
jne 0x140122e4c
mov dword [rbp + 0xb0], 9
mov dword [rbp + 0xc0], ebx
jmp 0x140122e52
mov ebx, dword [rbp + 0xc0]
cmp ebx, 0x1744
je 0x140122e66
cmp ebx, 0x114
jne 0x140124104
cmp byte [r14 + 0x4c6], 0
je 0x140124104
mov byte [r14 + 0x4d0], 1
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_setsockopt
lea rdx, str.OnEmoticonDataChanged
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140122ef1
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
jne 0x1401240f6
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_ntohl
lea rdx, str.OnCountryState
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140122f86
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
jne 0x1401240f6
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14012301b
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14012306b
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdx, rax
lea rcx, [r14 + 0x6e8]
call fcn.140015780
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 7
lea rdx, str.OnSpawn
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401230db
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140123191
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140006830
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdx, rax
lea rcx, [r14 + 0x20]
call fcn.140087150
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], 0xa
lea r9, str.typelocal
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
call fcn.140013a90
cmp rax, 0xffffffffffffffff
je 0x140123187
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdx, rax
lea rcx, [r14 + 0x20]
call fcn.140087a90
nop
lea rcx, [rsp + 0x50]
jmp 0x1401240fe
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 8
lea rdx, str.OnRemove
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140123201
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140123264
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140006830
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdx, rax
lea rcx, [r14 + 0x20]
call fcn.140087f60
nop
lea rcx, [rsp + 0x50]
jmp 0x1401240fe
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 8
lea rdx, str.OnSetPos
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401232d4
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140123354
call fcn.140006950
mov rcx, rdi
call fcn.140006950
cmp byte [r14 + 0x53c], 0
je 0x140123314
mov byte [r14 + 0xdc5], 1
cmp dword [rbp + 0x30], 0
jne 0x140123333
mov dword [rbp + 0x30], 3
xorps xmm0, xmm0
movss dword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movss dword [rbp + 0x44], xmm1
jmp 0x14012333d
movss xmm1, dword [rbp + 0x44]
movss xmm0, dword [rbp + 0x40]
movss dword [r14 + 0x448], xmm0
movss dword [r14 + 0x44c], xmm1
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.onShowCaptcha
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401233c4
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
jne 0x1401240f6
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, 0x18
lea rdx, str.OnRequestWorldSelectMenu
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140123459
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14012351f
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rcx, [r14 + 0x20]
call fcn.140086860
mov ecx, reloc.WS2_32.dll_recv
call fcn.14012adc0
mov qword [rax], r14
lea rcx, [0x1401226a0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400071e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x14012350f
cmp dword [rsp + 0x58], 0
je 0x140123503
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x140123503
jmp 0x140124104
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x58], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, recv
lea rdx, str.SetHasGrowID
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14012358f
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14012362c
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rcx, [r14 + 0x28]
lea rax, [rbp + 0x90]
cmp rcx, rax
je 0x1401235f0
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
mov r8, qword [rbp + 0xa0]
call fcn.1400069b0
lea rcx, [r14 + 0x68]
lea rax, [rbp + 0xd0]
cmp rcx, rax
je 0x140124104
lea rdx, [rbp + 0xd0]
cmp qword [rbp + 0xe8], 0xf
cmova rdx, qword [rbp + 0xd0]
mov r8, qword [rbp + 0xe0]
call fcn.1400069b0
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_ntohs
lea rdx, str.OnDialogRequest
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14012369c
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x1401236ec
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdx, rax
lea rcx, [r14 + 0x6e0]
call fcn.140078600
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_listen
lea rdx, str.OnTextOverlay
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14012375c
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140123855
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140006830
lea rcx, [rsp + 0x70]
mov rdi, qword [rsp + 0x70]
mov rsi, qword [rbp - 0x78]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], 0x20
lea r9, str.Youd_be_sorry_if_you_lost_that_
xor r8d, r8d
mov r15, qword [rbp - 0x80]
mov rdx, r15
call fcn.140013a90
cmp rax, 0xffffffffffffffff
je 0x1401237e8
mov dword [r14 + 0x52c], ebx
lea rcx, [rsp + 0x70]
jmp 0x1401240fe
lea rcx, [rsp + 0x70]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], shutdown
lea r9, str.You_cant_drop_that.
xor r8d, r8d
mov rdx, r15
call fcn.140013a90
cmp rax, 0xffffffffffffffff
jne 0x140123844
lea rcx, [rsp + 0x70]
cmp rsi, 0xf
cmova rcx, rdi
mov qword [rsp + 0x20], 0x19
lea r9, str.You_cant_drop_that_here.
xor r8d, r8d
mov rdx, r15
call fcn.140013a90
cmp rax, 0xffffffffffffffff
je 0x14012384b
mov dword [r14 + 0x530], ebx
lea rcx, [rsp + 0x70]
jmp 0x1401240fe
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, recv
lea rdx, str.OnReconnect
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x1401238c5
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x14012390d
call fcn.140006950
mov rcx, rdi
call fcn.140006950
mov dl, 1
mov rcx, r14
call fcn.140011110
mov dword [r14 + 0xdcc], 0x14
jmp 0x140124104
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, recv
lea rdx, str.OnTalkBubble
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14012397d
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x1401240f6
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp + 0x90]
lea rcx, [rbp - 0x30]
call fcn.140006830
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rbx
xor r8d, r8d
lea r13, [0x140156438]
mov rdx, r13
lea rcx, [rbp - 0x70]
call fcn.140013b60
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, recv
lea rdx, str.player_chat
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140123a49
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140123b82
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea r15, [rbp - 0x30]
mov r12, qword [rbp - 0x30]
mov r13, qword [rbp - 0x18]
cmp r13, 0xf
cmova r15, r12
mov rdi, 0xffffffffffffffff
mov rsi, qword [rbp - 0x20]
test rsi, rsi
je 0x140123ab9
mov r8, rsi
mov edx, 0x3d
mov rcx, r15
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x140123ab9
sub rax, r15
jmp 0x140123abc
mov rax, rdi
lea rcx, [rax + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
cmp rsi, rcx
jb 0x140124161
sub rsi, rcx
cmp rsi, rdi
cmovb rdi, rsi
lea rdx, [rbp - 0x30]
cmp r13, 0xf
cmova rdx, r12
add rdx, rcx
mov r8, rdi
lea rcx, [rsp + 0x70]
call fcn.140013b60
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140123b3a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140123b35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140123d35
call fcn.14012b044
movups xmm1, xmmword [rbp - 0x80]
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x70], 0
lea rcx, [rsp + 0x70]
call fcn.140006950
cmp dword [rbp + 0x30], 0
jne 0x140123d3c
mov dword [rbp + 0x30], 9
mov r12d, ebx
mov dword [rbp + 0x40], ebx
jmp 0x140123d40
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x30]
call fcn.140006830
mov rdi, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
mov r8d, reloc.WS2_32.dll_shutdown
lea rdx, str.spun_the_wheel_and_got
lea rcx, [rsp + 0x50]
call fcn.140013b60
nop
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov rcx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140123bf2
mov rcx, qword [rdi]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rdi + 0x10]
call fcn.140013a90
lea rcx, [rsp + 0x50]
cmp rax, 0xffffffffffffffff
je 0x140123c40
call fcn.140006950
mov rcx, rdi
call fcn.140006950
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp - 0x70]
call fcn.1400069b0
jmp 0x140123b66
call fcn.140006950
mov rcx, rdi
call fcn.140006950
mov rax, rbx
mov edi, ebx
mov r15, qword [rbp - 0x18]
mov rsi, qword [rbp - 0x20]
mov r12, qword [rbp - 0x30]
nop
lea rcx, [rbp - 0x30]
cmp r15, 0xf
cmova rcx, r12
lea r8, [rax + 1]
mov qword [rsp + 0x20], 1
lea r9, [0x1401c1974]
mov rdx, rsi
call fcn.140013a90
cmp rax, 0xffffffffffffffff
je 0x140123cd4
inc edi
cmp edi, 3
jl 0x140123c60
lea rcx, [rax + 2]
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
cmp rsi, rcx
jb 0x140124161
sub rsi, rcx
mov rdi, 0xffffffffffffffff
cmp rsi, rdi
cmovb rdi, rsi
lea r13, [rbp - 0x30]
cmp r15, 0xf
cmova r13, r12
add r13, rcx
jmp 0x140123ce7
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov rdi, rbx
lea rcx, [rsp + 0x70]
mov r8, rdi
mov rdx, r13
call fcn.140013b60
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x140123b3a
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140123b35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140123b35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r12d, dword [rbp + 0x40]
cmp r12d, dword [r14 + 0x450]
je 0x140123f86
mov r8, qword [r14 + 0x5f0]
mov rcx, qword [r14 + 0x5f8]
sub rcx, r8
movabs r13, 0x4bda12f684bda13
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1401240e6
mov rsi, rbx
mov rdi, rbx
nop dword [rax + rax]
cmp dword [r8 + rdi + 0x24], r12d
jne 0x140123f47
xor al, al
imul r15, rsi, 0xd8
cmp qword [r8 + rdi + 0x60], 0
jne 0x140123dd5
lea rcx, [r15 + 0x50]
add rcx, r8
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x140123dd3
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
call fcn.1400069b0
mov al, 1
mov rcx, qword [r14 + 0x5f0]
cmp qword [rcx + rdi + 0x80], 0
jne 0x140123e14
test al, al
jne 0x140123e14
add rcx, 0x70
add rcx, r15
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x140123e12
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
call fcn.1400069b0
mov al, 1
mov rcx, qword [r14 + 0x5f0]
cmp qword [rdi + rcx + 0xa0], 0
jne 0x140123e44
test al, al
jne 0x140123f35
imul rax, rsi, 0xd8
add rcx, 0x90
add rcx, rax
jmp 0x140123f15
test al, al
jne 0x140123f35
cmp qword [rdi + rcx + 0xc0], 0
jne 0x140123e6d
imul rax, rsi, 0xd8
add rcx, 0xb0
add rcx, rax
jmp 0x140123f15
lea rdx, [rcx + 0x70]
add rdx, rdi
imul r15, rsi, 0xd8
add rcx, 0x50
add rcx, r15
cmp rcx, rdx
je 0x140123e9a
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140123e95
mov rdx, qword [rdx]
call fcn.1400069b0
mov rax, qword [r14 + 0x5f0]
lea rdx, [rax + 0x90]
add rdx, rdi
lea rcx, [rax + 0x70]
add rcx, r15
cmp rcx, rdx
je 0x140123eca
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140123ec5
mov rdx, qword [rdx]
call fcn.1400069b0
mov rax, qword [r14 + 0x5f0]
lea rdx, [rax + 0xb0]
add rdx, rdi
imul rsi, rsi, 0xd8
lea rcx, [rax + 0x90]
add rcx, rsi
cmp rcx, rdx
je 0x140123f04
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x140123eff
mov rdx, qword [rdx]
call fcn.1400069b0
mov rcx, qword [r14 + 0x5f0]
add rcx, 0xb0
add rcx, rsi
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x140123f35
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
mov r8, qword [rbp - 0x60]
cmova rdx, qword [rbp - 0x70]
call fcn.1400069b0
mov rax, qword [r14 + 0x5f0]
mov dword [rax + rdi + 0xd0], 5
inc ebx
add rdi, 0xd8
mov r8, qword [r14 + 0x5f0]
movsxd rsi, ebx
mov rcx, qword [r14 + 0x5f8]
sub rcx, r8
mov rax, r13
imul rcx
sar rdx, 2
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rsi, rdx
jb 0x140123d90
jmp 0x1401240e6
xor al, al
cmp qword [r14 + 0x3a8], 0
jne 0x140123fbb
lea rcx, [r14 + 0x398]
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x140123fb9
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
call fcn.1400069b0
mov al, 1
cmp qword [r14 + 0x3c8], 0
jne 0x140123ff2
test al, al
jne 0x140123ff2
lea rcx, [r14 + 0x3b8]
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x140123ff0
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova rdx, qword [rbp - 0x70]
mov r8, qword [rbp - 0x60]
call fcn.1400069b0
mov al, 1
cmp qword [r14 + 0x3e8], 0
jne 0x14012401d
test al, al
jne 0x1401240db
lea rcx, [r14 + 0x3d8]
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x1401240db
jmp 0x1401240c4
test al, al
jne 0x1401240db
cmp qword [r14 + 0x408], 0
jne 0x140124045
lea rcx, [r14 + 0x3f8]
lea rax, [rbp - 0x70]
cmp rcx, rax
je 0x1401240db
jmp 0x1401240c4
lea rbx, [r14 + 0x3b8]
lea rcx, [r14 + 0x398]
cmp rcx, rbx
je 0x14012406e
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140124065
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
call fcn.1400069b0
lea rdi, [r14 + 0x3d8]
cmp rbx, rdi
je 0x140124093
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140124087
mov rdx, qword [rdi]
mov r8, qword [rdi + 0x10]
mov rcx, rbx
call fcn.1400069b0
lea rbx, [r14 + 0x3f8]
cmp rdi, rbx
je 0x1401240b8
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1401240ac
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rdi
call fcn.1400069b0
lea rax, [rbp - 0x70]
cmp rbx, rax
je 0x1401240db
mov rcx, rbx
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
mov r8, qword [rbp - 0x60]
cmova rdx, qword [rbp - 0x70]
call fcn.1400069b0
mov dword [r14 + 0x418], 5
lea rcx, [rbp - 0x70]
call fcn.140006950
nop
lea rcx, [rbp - 0x30]
jmp 0x1401240fe
call fcn.140006950
mov rcx, rdi
call fcn.140006950
nop
lea rcx, [rbp + 0x1b0]
call fcn.140006950
nop
lea rcx, [rbp - 0x50]
call fcn.140006950
nop
lea r9, [0x1400a0270]
mov edx, 0x40
mov r8d, 7
lea rcx, [rbp - 0x10]
call fcn.14012b1a0
nop
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.14012ada0
mov rbx, qword [rsp + 0x330]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140013890
nop
int3