Function at 0x1400a3930
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x680
mov rax, qword [0x140306028]
xor rax, rsp
mov qword [rsp + 0x670], rax
mov r15, r8
mov qword [rsp + 0xd0], r8
mov qword [rsp + 0xd8], rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x400], rcx
mov qword [rsp + 0x180], rcx
mov qword [rsp + 0x118], rdx
mov qword [rsp + 0xa0], r8
xor edi, edi
mov r12d, edi
mov dword [rsp + 0x40], edi
cmp qword [rcx + 0x38], rdi
je 0x1400a4fe0
lea rsi, [rcx + 0xc8]
mov qword [rsp + 0x110], rsi
mov rcx, rsi
call fcn.1401f5a90
mov rcx, rax
mov eax, 0x51eb851f
imul ecx
mov r9d, edx
sar r9d, 5
mov eax, r9d
shr eax, 0x1f
add r9d, eax
mov rcx, rsi
call fcn.1401f5a90
cdq
idiv r9d
mov ebx, eax
mov r9d, edi
call fcn.1401f5a90
mov r10, rax
test rax, rax
je 0x1400a4fe0
mov r11, qword [0x140307de8]
mov edx, edi
mov dword [rsp + 0x44], 0xca
mov r13d, 0x1382
nop dword [rax]
mov r8, qword [rsi]
movzx ecx, word [rdx + r8]
imul rax, rcx, 0x3b8
cmp dword [rax + r11 + 0x390], 0xd
jne 0x1400a4fca
movzx eax, cx
sub ax, word [rsp + 0x44]
cmp ax, 4
ja 0x1400a3a52
mov r13d, reloc.WS2_32.dll_setsockopt
bt r13d, eax
mov r13d, 0x1382
jb 0x1400a4fca
cmp cx, r13w
je 0x1400a4fca
movsxd rcx, r9d
imul rdx, rcx, 0x1f8
movzx ecx, word [rdx + r8]
mov dword [rsp + 0x48], ecx
mov eax, r9d
cdq
idiv ebx
mov dword [rsp + 0x60], edx
mov dword [rsp + 0x44], eax
mov dword [rsp + 0xc8], edx
mov dword [rsp + 0x90], eax
test ecx, ecx
je 0x1400a4fe0
lea r13, [r14 + 0x28]
mov qword [rsp + 0x58], r13
mov rax, qword [rsp + 0xd8]
add rax, 0x30
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x3b0], rax
mov rsi, qword [rax]
lea rcx, [rsi + 0x250]
mov rdx, r13
call fcn.140202580
test al, al
je 0x1400a3b00
mov rbx, qword [rsi + 0x70]
lea r9, [r14 + 8]
mov r8, rbx
mov rdx, qword [rsi + 0x68]
lea rcx, [rsp + 0x58]
call fcn.140204180
mov r9, rbx
mov r8, qword [rax]
lea rdx, [rsp + 0xa0]
lea rcx, [rsi + 0x68]
call fcn.1401fa960
jmp 0x1400a3f1f
mov rax, qword [0x1403076c0]
mov rbx, qword [rax + 0x28]
imul rsi, qword [rax + 0x30], 0x1c8
add rsi, rbx
cmp rbx, rsi
jae 0x1400a3b5b
cmp dword [rbx + 0x38], 5
jne 0x1400a3b45
mov rax, qword [rbx + 0x30]
mov qword [rsp + 0x98], rax
test rax, rax
je 0x1400a3b45
lea rcx, [rax + 0x250]
mov rdx, r13
call fcn.140202580
test al, al
jne 0x1400a3b4e
add rbx, 0x1c8
jmp 0x1400a3b16
mov rsi, qword [rsp + 0x98]
jmp 0x1400a3acb
mov r8, r13
lea rdx, str.players_
lea rcx, [rsp + 0xa8]
call fcn.140202130
nop
lea r8, str._.json
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.140202280
nop
lea rcx, [rsp + 0xa8]
call fcn.1401fdef0
lea rcx, [rsp + 0x390]
call fcn.14003db90
mov rcx, rax
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access_s]
test eax, eax
jne 0x1400a3eb3
lea rcx, [rsp + 0x3c0]
call fcn.1401f9f30
nop
mov edx, 0x110
lea rcx, [rsp + 0x190]
call fcn.140018270
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x190]
call fcn.1401f81b0
nop
mov rax, qword [rsp + 0x190]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x190]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
je 0x1400a3c86
lea rdx, str.failed_reading_data_for
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140203b50
mov rdx, r13
mov rcx, rax
call fcn.140203400
lea rdx, [0x140202ee0]
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___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea rcx, [rsp + 0x190]
call fcn.140033ae0
nop
movzx edx, byte [rsp + 0x3c0]
lea rcx, [rsp + 0x3c8]
call fcn.1401fd5a0
nop
lea rcx, [rsp + 0x390]
call fcn.1401fdef0
jmp 0x1400a4fe0
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x190]
call fcn.1401f8d90
lea rcx, [rsp + 0x190]
call fcn.1401f8160
nop
lea rdx, str.worlds_owned
lea rcx, [rsp + 0x3c0]
call fcn.1402026c0
lea rdx, [rsp + 0x3e0]
mov rcx, rax
call fcn.140203580
nop
mov esi, edi
movsxd rbx, esi
mov qword [rsp + 0x98], rbx
lea rcx, [rsp + 0x3e0]
call fcn.1401f9550
cmp rbx, rax
jae 0x1400a3d8c
lea rdx, [r14 + 8]
lea rcx, [rsp + 0x70]
call fcn.140202ae0
nop
mov rdx, rbx
lea rcx, [rsp + 0x3e0]
call fcn.1401f96f0
lea rdx, str.name
mov rcx, rax
call fcn.1402026c0
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.1401f90a0
movzx ebx, al
movzx edx, byte [rsp + 0x70]
lea rcx, [rsp + 0x78]
call fcn.1401fd5a0
nop
test bl, bl
je 0x1400a3e76
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x3e0]
call fcn.1401f9650
mov r8, qword [rsp + 0x98]
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.1401f8c00
mov r8, rax
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x3e0]
call fcn.140204870
lea rax, [rsp + 0x70]
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x70]
call fcn.1401f9a20
mov rbx, rax
lea rdx, str.worlds_owned
lea rcx, [rsp + 0x3c0]
call fcn.1402026c0
nop
mov rdx, rbx
mov rcx, rax
call fcn.1401f99e0
nop
movzx edx, byte [rsp + 0x3e0]
lea rcx, [rsp + 0x3e8]
call fcn.1401fd5a0
nop
mov edx, 0x108
lea rcx, [rsp + 0x430]
call fcn.140018270
mov dword [rsp + 0x20], 1
mov r9d, 0x40
lea r8d, [r9 - 0x20]
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x430]
call fcn.1401f6380
nop
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x430]
call fcn.1401f8e30
lea rcx, [rsp + 0x430]
call fcn.1401f62e0
nop
lea rcx, [rsp + 0x430]
call fcn.1400366d0
nop
lea rcx, [rsp + 0x190]
call fcn.140033ae0
nop
movzx edx, byte [rsp + 0x3c0]
lea rcx, [rsp + 0x3c8]
call fcn.1401fd5a0
nop
jmp 0x1400a3eb3
inc esi
jmp 0x1400a3cd0
lea rcx, [rsp + 0x390]
call fcn.1401fdef0
nop
jmp 0x1400a3f1f
mov rdx, r13
lea rcx, [rsp + 0x410]
call fcn.14003da70
nop
mov rdx, qword [r15 + 0x30]
add rdx, 0x250
mov rcx, r13
call fcn.1401fb710
mov rbx, qword [r15 + 0x30]
lea rcx, [rbx + 0x98]
lea rdx, [0x1402886b8]
call fcn.1402020e0
test al, al
je 0x1400a3f97
lea r8, [rbx + 0x250]
lea rdx, [0x140288b9c]
lea rcx, [rsp + 0xa8]
call fcn.140202130
lea rbx, [r14 + 0x48]
mov rdx, rax
mov rcx, rbx
call fcn.1401fb740
lea rcx, [rsp + 0xa8]
call fcn.1401fdef0
jmp 0x1400a3fa3
mov rbx, qword [rsp + 0x180]
add rbx, 0x48
mov rdx, qword [r15 + 0x30]
cmp dword [rdx + 0x180], 0
jne 0x1400a3fc2
cmp dword [rdx + 0x184], 0
jne 0x1400a3fc2
cmp dword [rdx + 0x918], 0
je 0x1400a3ff5
lea r8, [rdx + 0x250]
add rdx, 0x98
lea rcx, [rsp + 0xa8]
call fcn.1402022f0
mov rdx, rax
mov rcx, rbx
call fcn.1401fb740
lea rcx, [rsp + 0xa8]
call fcn.1401fdef0
mov rcx, qword [r15 + 0x30]
add rcx, 0x68
lea rdx, [r14 + 8]
call fcn.1401fad70
mov dword [rsp + 0xe4], edi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xfc], xmm0
mov dword [rsp + 0x10c], edi
mov dword [rsp + 0xe8], reloc.WS2_32.dll_ntohs
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0xf4], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0xf8], eax
mov dword [rsp + 0xec], 8
mov rax, qword [r15 + 0x30]
mov ecx, dword [rax + 0xec]
mov dword [rsp + 0xe0], ecx
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0xf0], eax
mov edx, 0x38
lea rcx, [rsp + 0xe0]
call fcn.140034690
mov qword [rsp + 0x48], rax
xor edx, edx
lea r8d, [rdx - 1]
lea rcx, [rsp + 0x3b0]
call fcn.140034d50
nop
lea rdx, str.OnTalkBubble
lea rcx, [rsp + 0xa8]
call fcn.140019c40
mov rdx, rax
lea rcx, [rsp + 0x3b0]
call fcn.140034df0
mov rax, qword [r15 + 0x30]
mov edx, dword [rax + 0xf0]
lea rcx, [rsp + 0x3b0]
call fcn.140034ed0
mov rbx, qword [r15 + 0x30]
lea r8, [r14 + 8]
lea rdx, str._5____w
lea rcx, [rsp + 0x3c0]
call fcn.140202130
nop
lea r8, str.___has_been___World_Locked___by
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.140202280
nop
lea r8, [rbx + 0x98]
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.1402023c0
nop
mov r8, r13
mov rdx, rax
lea rcx, [rsp + 0x390]
call fcn.1402023c0
nop
lea r8, [0x1402aae98]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.140202280
mov rdx, rax
lea rcx, [rsp + 0x3b0]
call fcn.140034df0
nop
lea rcx, [rsp + 0x390]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x70]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x3e0]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x3c0]
call fcn.1401fdef0
movsxd r14, dword [rsp + 0x3b4]
lea r15d, [r14 + 6]
movsxd rcx, r15d
call fcn.140222890
mov qword [rsp + 0x90], rax
mov r8, r14
mov rdx, qword [rsp + 0x3b8]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rsp + 0x3b8]
call fcn.140222190
mov r8, qword [rsp + 0x90]
mov qword [rsp + 0x3b8], r8
movzx ecx, byte [rsp + 0x3b0]
mov byte [r14 + r8], cl
lea ecx, [r14 + 1]
movsxd rdx, ecx
mov byte [rdx + r8], 9
mov dword [r14 + r8 + 2], edi
mov dword [rsp + 0x3b4], r15d
mov eax, dword [rsp + 0x3b0]
inc eax
mov dword [rsp + 0x3b0], eax
mov byte [r8 + 0x3c], al
mov dword [rsp + 0x400], edi
mov ecx, 0x3d
call fcn.140222890
mov qword [rsp + 0x408], rax
mov dword [rsp + 0x404], 0x3d
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rdi
mov qword [rax + 0x24], rdi
mov qword [rax + 0x2c], rdi
mov qword [rax + 0x34], rdi
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x18], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], rdi
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x390]
call fcn.140019cb0
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x400]
call fcn.140034df0
mov rax, qword [rsp + 0xd0]
mov rbx, qword [rax + 0x30]
add rbx, 0x98
mov r15, qword [rsp + 0x50]
lea r14, [r15 + 8]
mov rcx, qword [r14 + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rcx
cmp rax, 7
jb 0x1400a5003
mov rax, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400a42f5
mov rax, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 7
lea r9, str._5____w
lea rcx, [rsp + 0xa8]
call fcn.14020b410
nop
mov r8d, 0x20
lea rdx, str.___has_been___World_Locked___by
lea rcx, [rsp + 0xa8]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x3c0], xmm0
mov qword [rsp + 0x3d0], rdi
mov qword [rsp + 0x3d8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x3c0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x3d0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400a4386
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x3c0]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x3e0], xmm0
mov qword [rsp + 0x3f0], rdi
mov qword [rsp + 0x3f8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x3e0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x3f0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8, qword [r13 + 0x10]
cmp qword [r13 + 0x18], 0x10
jb 0x1400a43e6
mov r13, qword [r13]
mov rdx, r13
lea rcx, [rsp + 0x3e0]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 7
lea rdx, [0x1402aae98]
lea rcx, [rsp + 0x70]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x390], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x3a0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x400]
call fcn.140034df0
nop
lea rcx, [rsp + 0x70]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x3e0]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0x3c0]
call fcn.1401fdef0
nop
lea rcx, [rsp + 0xa8]
call fcn.1401fdef0
mov r13, qword [rsp + 0xd0]
mov rax, qword [r13 + 0x30]
mov ebx, dword [rax + 0xf0]
mov dword [rsp + 0x3c0], edi
mov ecx, 0x3d
call fcn.140222890
mov qword [rsp + 0x3c8], rax
mov dword [rsp + 0x3c4], 0x3d
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rdi
mov qword [rax + 0x24], rdi
mov qword [rax + 0x2c], rdi
mov qword [rax + 0x34], rdi
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], rdi
mov r8d, select
lea rdx, str.OnNameChanged
lea rcx, [rsp + 0x390]
call fcn.140019cb0
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x3c0]
call fcn.140034df0
mov rcx, qword [r13 + 0x30]
cmp dword [rcx + 0x180], 0
jne 0x1400a45c0
cmp dword [rcx + 0x920], 0
jne 0x1400a45c0
cmp dword [rcx + 0x91c], 0
jne 0x1400a45c0
cmp dword [rcx + 0x184], 0
jne 0x1400a45c0
add rcx, 0x98
lea rdx, [0x1402a6d00]
call fcn.1401fb6f0
mov rdx, qword [r13 + 0x30]
lea rax, str._of_Legend
lea rbx, [0x14028682b]
cmp byte [rdx + 0x8f4], 0
cmovne rbx, rax
cmp qword [rdx + 0x380], 0
je 0x1400a4602
add rdx, 0x370
lea rcx, [rsp + 0x3e0]
call fcn.14003da70
nop
or r12d, 1
jmp 0x1400a4622
lea r8, [rdx + 0x250]
add rdx, 0x98
lea rcx, [rsp + 0xa8]
call fcn.1402022f0
nop
or r12d, 2
mov dword [rsp + 0x40], r12d
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1400a4630
mov rdx, rbx
mov rcx, rax
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rdi
mov qword [rsp + 0x88], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x80], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov r8d, 2
lea rdx, [0x1402886bc]
lea rcx, [rsp + 0x70]
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x390], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x3a0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x3c0]
call fcn.140034df0
nop
lea rcx, [rsp + 0x70]
call fcn.1401fdef0
nop
test r12b, 2
je 0x1400a4716
and r12d, 0xfffffffd
mov dword [rsp + 0x40], r12d
lea rcx, [rsp + 0xa8]
call fcn.1401fdef0
nop
test r12b, 1
je 0x1400a4732
and r12d, 0xfffffffe
mov dword [rsp + 0x40], r12d
lea rcx, [rsp + 0x3e0]
call fcn.1401fdef0
mov rsi, qword [rsp + 0x68]
mov rax, qword [rsi]
mov ebx, dword [rax + 0xf0]
mov dword [rsp + 0x3e0], edi
mov ecx, 0x3d
call fcn.140222890
mov qword [rsp + 0x3e8], rax
mov dword [rsp + 0x3e4], 0x3d
mov dword [rax + 0xc], edi
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], rdi
mov qword [rax + 0x24], rdi
mov qword [rax + 0x2c], rdi
mov qword [rax + 0x34], rdi
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], rdi
mov r8d, select
lea rdx, str.OnNameChanged
lea rcx, [rsp + 0x390]
call fcn.140019cb0
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0x3e0]
call fcn.140034df0
mov rcx, qword [rsi]
cmp dword [rcx + 0x180], 0
jne 0x1400a481a
cmp dword [rcx + 0x920], 0
jne 0x1400a481a
cmp dword [rcx + 0x91c], 0
jne 0x1400a481a
cmp dword [rcx + 0x184], 0
jne 0x1400a481a
add rcx, 0x98
lea rdx, [0x1402886b8]
call fcn.1401fb6f0
mov rdx, qword [rsi]
lea rbx, [0x14028682b]
cmp byte [rdx + 0x8f4], 0
lea rax, str._of_Legend
cmovne rbx, rax
cmp qword [rdx + 0x380], 0
je 0x1400a485b
add rdx, 0x370
lea rcx, [rsp + 0x140]
call fcn.14003da70
nop
or r12d, 4
jmp 0x1400a4878
lea r8, [rdx + 0x250]
add rdx, 0x98
lea rcx, [rsp + 0x70]
call fcn.1402022f0
nop
or r12d, 8
mov dword [rsp + 0x40], r12d
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x1400a4884
mov rdx, rbx
mov rcx, rax
call fcn.1401fe250
xorps xmm0, xmm0
movups xmmword [rsp + 0x390], xmm0
mov qword [rsp + 0x3a0], rdi
mov qword [rsp + 0x3a8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x390], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x3a0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea r8, [0x1402886bc]
lea rdx, [rsp + 0x390]
lea rcx, [rsp + 0xa8]
call fcn.140202280
mov rdx, rax
lea rcx, [rsp + 0x3e0]
call fcn.140034df0
nop
lea rcx, [rsp + 0x390]
call fcn.1401fdef0
nop
test r12b, 8
je 0x1400a492a
and r12d, 0xfffffff7
lea rcx, [rsp + 0x70]
call fcn.1401fdef0
nop
test r12b, 4
je 0x1400a493d
lea rcx, [rsp + 0x140]
call fcn.1401fdef0
mov rbx, qword [0x1403076c0]
mov rsi, qword [rbx + 0x28]
imul rax, qword [rbx + 0x30], 0x1c8
add rax, rsi
mov r12, qword [rsp + 0x48]
cmp rsi, rax
jae 0x1400a4a7b
cmp dword [rsi + 0x38], 5
jne 0x1400a4a5f
mov rcx, qword [rsi + 0x30]
test rcx, rcx
je 0x1400a4a5f
add rcx, 0x2d0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400a498c
mov rdx, qword [r14]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400a499a
mov rcx, qword [rcx]
cmp r8, qword [r14 + 0x10]
jne 0x1400a4a5f
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a4a5f
lea rax, [rsp + 0x160]
mov qword [rsp + 0x180], rax
lea rdx, [0x14028682b]
lea rcx, [rsp + 0x160]
call fcn.140019c40
mov rbx, rax
lea rdx, str.actionplay_sfx_nfileaudio_use_lock.wav_ndelayMS0
lea rcx, [rsp + 0x120]
call fcn.140019c40
nop
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call fcn.14004d820
mov dword [rsp + 0x20], 1
mov r9d, 0x38
mov r8, r12
lea edx, [r9 - 0x34]
mov rcx, rsi
call fcn.140034770
mov rdx, rsi
lea rcx, [rsp + 0x3b0]
call fcn.140035180
mov rdx, rsi
lea rcx, [rsp + 0x400]
call fcn.140035180
mov rdx, rsi
lea rcx, [rsp + 0x3c0]
call fcn.140035180
mov rdx, rsi
lea rcx, [rsp + 0x3e0]
call fcn.140035180
mov rbx, qword [0x1403076c0]
add rsi, 0x1c8
imul rax, qword [rbx + 0x30], 0x1c8
add rax, qword [rbx + 0x28]
cmp rsi, rax
jb 0x1400a4961
mov rcx, r12
call fcn.140222190
mov edx, dword [r15 + 0x208]
test edx, edx
je 0x1400a4f70
mov r8, qword [0x140307c80]
mov rcx, r8
mov rax, qword [0x140307c88]
cmp r8, rax
je 0x1400a4ab8
cmp dword [rcx], edx
je 0x1400a4ab8
add rcx, 0xc0
cmp rcx, rax
jne 0x1400a4aa8
cmp rcx, rax
je 0x1400a4c23
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rsi, [rdx + rdx*2]
shl rsi, 6
add rsi, r8
mov r10d, edi
mov dword [rsp + 0x40], edi
mov r8, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x58]
sub rcx, r8
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x1400a4c23
cmp qword [rsp + 0x428], 0x10
setae r14b
mov r9, rdi
mov qword [rsp + 0x48], rdi
movabs r15, 0x6666666666666667
nop dword [rax]
lea rbx, [r9 + r8]
lea rdx, [rsp + 0x410]
test r14b, r14b
cmovne rdx, qword [rsp + 0x410]
mov r12, qword [rbx + 0x10]
mov rcx, rbx
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x68], rax
cmp rax, 0x10
jb 0x1400a4b71
mov rcx, qword [rbx]
cmp r12, qword [rsp + 0x420]
jne 0x1400a4b9a
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x40]
test eax, eax
mov rax, qword [rsp + 0x68]
jne 0x1400a4b9a
mov byte [rbx + 0x20], 2
mov rdx, qword [r13 + 0x30]
add rdx, 0x250
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400a4bb3
mov rdx, qword [rdx]
mov rcx, rbx
cmp rax, 0x10
jb 0x1400a4bbf
mov rcx, qword [rbx]
cmp r12, r8
jne 0x1400a4bde
mov r8, r12
call sub.VCRUNTIME140.dll_memcmp
mov r9, qword [rsp + 0x48]
mov r10d, dword [rsp + 0x40]
test eax, eax
jne 0x1400a4bde
mov byte [rbx + 0x20], 3
inc r10d
mov dword [rsp + 0x40], r10d
add r9, 0x50
mov qword [rsp + 0x48], r9
mov r8, qword [rsi + 0x50]
mov rcx, qword [rsi + 0x58]
sub rcx, r8
mov rax, r15
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r10d
cmp rax, rdx
jb 0x1400a4b40
mov r15, qword [rsp + 0x50]
lea r14, [r15 + 8]
mov r10d, edi
mov dword [rsp + 0x44], edi
mov rax, qword [rsp + 0x110]
mov r9, qword [rax]
mov rcx, qword [rax + 8]
sub rcx, r9
movabs rax, 0x8208208208208209
imul rcx
lea r8, [rcx + rdx]
sar r8, 8
mov rcx, r8
shr rcx, 0x3f
add r8, rcx
mov eax, 0x51eb851f
imul r8d
mov ecx, edx
sar ecx, 5
mov eax, ecx
shr eax, 0x1f
add ecx, eax
mov eax, r8d
cdq
idiv ecx
mov ebx, eax
mov ecx, edi
test r8, r8
je 0x1400a4cd3
mov rdx, rdi
mov esi, 0x16b6
nop word [rax + rax]
movzx r11d, word [r9 + rdx]
imul rax, r11, 0x3b8
add rax, qword [0x140307de8]
cmp dword [rax + 0x390], 0xd
jne 0x1400a4cb2
cmp r11w, si
je 0x1400a4cc5
inc ecx
add rdx, 0x1f8
movsxd rax, ecx
cmp rax, r8
jae 0x1400a4cd3
jmp 0x1400a4c90
mov eax, ecx
cdq
idiv ebx
mov r10d, eax
mov dword [rsp + 0x44], eax
mov edi, edx
imul ecx, r10d, 0x64
add ecx, edi
movsxd rcx, ecx
imul r12, rcx, 0x1f8
add r12, r9
xorps xmm0, xmm0
movups xmmword [rsp + 0xe0], xmm0
movups xmmword [rsp + 0xf0], xmm0
movups xmmword [rsp + 0x100], xmm0
mov rdx, r12
mov rcx, r15
call fcn.140068c10
movsxd rbx, eax
lea rcx, [rbx + 0x70]
call fcn.140222890
mov rsi, rax
lea r8, [rbx + 0x70]
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov dword [rsi], 5
mov ecx, dword [rsp + 0xe0]
mov dword [rsi + 4], ecx
mov dword [rsi + 0xc], 8
mov ecx, dword [rsp + 0xf0]
mov dword [rsi + 0x14], ecx
mov ecx, dword [rsp + 0x100]
mov dword [rsi + 0x18], ecx
mov eax, dword [rsp + 0x104]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x108]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x10c]
mov dword [rsi + 0x24], eax
mov dword [rsi + 0x2c], edi
mov eax, dword [rsp + 0x44]
mov dword [rsi + 0x30], eax
lea rax, [rsi + 0x38]
mov qword [rsp + 0x180], rax
lea rax, [rsp + 0x430]
mov qword [rsp + 0x58], rax
mov rdx, r15
lea rcx, [rsp + 0x430]
call fcn.140046420
mov rbx, rax
mov rdx, r12
lea rcx, [rsp + 0x190]
call fcn.14006bbd0
nop
mov dword [rsp + 0x38], 0xffffffff
mov dword [rsp + 0x30], 0xffffffff
mov byte [rsp + 0x28], 0
mov byte [rsp + 0x20], 0
mov r9, r13
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.140068cb0
mov rbx, qword [0x1403076c0]
mov rdi, qword [rbx + 0x28]
imul rax, qword [rbx + 0x30], 0x1c8
add rax, rdi
cmp rdi, rax
jae 0x1400a4f27
add rdi, 0x30
nop dword [rax]
cmp dword [rdi + 8], 5
jne 0x1400a4f07
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400a4f07
add rcx, 0x2d0
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400a4e3a
mov rdx, qword [r14]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400a4e48
mov rcx, qword [rcx]
cmp r8, qword [r14 + 0x10]
jne 0x1400a4f07
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400a4f07
mov rdx, r12
mov rcx, r15
call fcn.140068c10
add eax, 0x70
movsxd rcx, eax
mov qword [rsp + 0x50], rcx
add eax, 5
xor ecx, ecx
lea r8d, [rcx + 1]
test byte [rsi + 0xc], 8
je 0x1400a4ec8
mov edx, dword [rsi + 0x34]
add edx, eax
call fcn.140013230
mov rbx, rax
mov rcx, qword [rax + 0x10]
mov dword [rcx], 4
mov rcx, qword [rax + 0x10]
add rcx, 4
mov r8, qword [rsp + 0x50]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov r8d, dword [rsi + 0x34]
mov rcx, qword [rbx + 0x10]
mov rax, qword [rsp + 0x50]
add rax, 4
add rcx, rax
xor edx, edx
jmp 0x1400a4eed
movsxd rdx, eax
call fcn.140013230
mov rbx, rax
mov rax, qword [rax + 0x10]
mov dword [rax], 4
mov rcx, qword [rbx + 0x10]
add rcx, 4
mov r8, qword [rsp + 0x50]
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcpy
lea rcx, [rdi - 0x30]
mov r8, rbx
xor edx, edx
call fcn.1400134c0
mov rbx, qword [0x1403076c0]
add rdi, 0x1c8
imul rcx, qword [rbx + 0x30], 0x1c8
add rcx, qword [rbx + 0x28]
lea rax, [rdi - 0x30]
cmp rax, rcx
jb 0x1400a4e10
mov rcx, rsi
call fcn.140222190
mov rdx, r14
lea rcx, [rsp + 0x120]
call fcn.14003da70
mov r8, r15
mov rdx, rax
mov rcx, qword [rsp + 0xd8]
call fcn.1400a2ab0
mov rdx, r14
lea rcx, [rsp + 0x120]
call fcn.14003da70
mov r8, r15
mov rdx, rax
mov rcx, r13
call fcn.1400a2ab0
mov rcx, qword [r13 + 0x30]
add rcx, 0x2d0
xor edx, edx
call fcn.140048400
nop
mov rcx, qword [rsp + 0x3e8]
call fcn.140222190
nop
mov rcx, qword [rsp + 0x3c8]
call fcn.140222190
nop
mov rcx, qword [rsp + 0x408]
call fcn.140222190
nop
mov rcx, qword [rsp + 0x90]
call fcn.140222190
nop
lea rcx, [rsp + 0x410]
call fcn.1401fdef0
jmp 0x1400a4fe0
inc r9d
add rdx, 0x1f8
movsxd rax, r9d
cmp rax, r10
jb 0x1400a3a10
mov rcx, qword [rsp + 0x670]
xor rcx, rsp
call fcn.140222170
add rsp, 0x680
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call fcn.140017740
int3