Function at 0x140036e30
Capabilities:
Delete file
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [0x1403c6030]
xor rax, rsp
mov qword [rbp + 0x158], rax
mov rdi, rcx
mov qword [rsp + 0x78], rcx
xor r13d, r13d
mov dword [rsp + 0x40], r13d
mov rax, qword [rcx + 0x30]
mov edx, dword [rax + 0xbb8]
mov dword [rbp - 0x70], edx
test edx, edx
je 0x140038262
mov r8, qword [0x1403c7fe8]
mov qword [rbp - 0x20], r8
mov rcx, r8
mov rax, qword [0x1403c7ff0]
cmp r8, rax
je 0x140036eb7
cmp dword [rcx], edx
je 0x140036eb7
add rcx, 0xc0
cmp rcx, rax
jne 0x140036ea7
cmp rcx, rax
je 0x140038262
sub rcx, r8
movabs rax, 0x2aaaaaaaaaaaaaab
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rax, [rdx + rdx*2]
shl rax, 6
mov qword [rbp - 0x28], rax
lea rsi, [rax + r8]
mov qword [rbp - 0x80], rsi
mov rbx, qword [rsi + 0x50]
mov r14, qword [rsi + 0x58]
movabs r15, 0x6666666666666667
cmp rbx, r14
je 0x140037015
mov rdx, rbx
lea rcx, [rbp + 0xf0]
call fcn.140017b30
nop
movzx eax, byte [rbx + 0x20]
mov byte [rbp + 0x110], al
movzx eax, byte [rbx + 0x21]
mov byte [rbp + 0x111], al
movzx eax, byte [rbx + 0x22]
mov byte [rbp + 0x112], al
lea rdx, [rbx + 0x28]
lea rcx, [rbp + 0x118]
call fcn.140017b30
mov rax, qword [rbx + 0x48]
mov qword [rbp + 0x138], rax
mov rdx, qword [rdi + 0x30]
add rdx, 0x408
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140036f6f
mov rdx, qword [rdx]
lea rcx, [rbp + 0xf0]
cmp qword [rbp + 0x108], 0x10
cmovae rcx, qword [rbp + 0xf0]
mov r8, qword [rbp + 0x100]
cmp r8, rax
jne 0x140036fa4
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140036fa4
cmp byte [rbp + 0x110], 3
je 0x140036fc5
lea rcx, [rbp + 0x118]
call fcn.14029ed10
lea rcx, [rbp + 0xf0]
call fcn.14029ed10
add rbx, 0x50
jmp 0x140036f04
mov rcx, qword [rsi + 0x58]
sub rcx, qword [rsi + 0x50]
mov rax, r15
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
lea rcx, [rbp + 0x118]
cmp rdx, 1
je 0x140037004
call fcn.14029ed10
lea rcx, [rbp + 0xf0]
call fcn.14029ed10
jmp 0x140038262
call fcn.14029ed10
lea rcx, [rbp + 0xf0]
call fcn.14029ed10
mov rax, qword [rdi + 0x30]
mov ebx, dword [rax + 0x1bc]
mov dword [rbp + 0xa8], r13d
mov ecx, 0x3d
call fcn.1402d160c
mov qword [rbp + 0xb0], rax
mov dword [rbp + 0xac], 0x3d
mov dword [rax + 0xc], r13d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r13
mov qword [rax + 0x24], r13
mov qword [rax + 0x2c], r13
mov qword [rax + 0x34], r13
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], r13d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov r8d, reloc.WS2_32.dll_select
lea rdx, str.OnGuildDataChanged
lea rcx, [rsp + 0x48]
call fcn.1400167a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xa8]
call fcn.1400348f0
movsxd rsi, dword [rbp + 0xac]
lea r12d, [rsi + 6]
movsxd rcx, r12d
call fcn.1402d160c
mov r15, rax
mov r8, rsi
mov rdx, qword [rbp + 0xb0]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [rbp + 0xb0]
call fcn.1402d0d60
mov qword [rbp + 0xb0], r15
movzx ecx, byte [rbp + 0xa8]
mov byte [rsi + r15], cl
lea ecx, [rsi + 1]
movsxd rdx, ecx
mov byte [rdx + r15], 9
mov dword [rsi + r15 + 2], r13d
mov dword [rbp + 0xac], r12d
mov r13d, dword [rbp + 0xa8]
inc r13d
mov dword [rbp + 0xa8], r13d
mov byte [r15 + 0x3c], r13b
lea esi, [r12 + 6]
movsxd rcx, r12d
add rcx, 6
call fcn.1402d160c
mov r14, rax
movsxd rbx, r12d
mov r8, rbx
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r15
call fcn.1402d0d60
mov qword [rbp + 0xb0], r14
mov byte [rbx + r14], r13b
movsxd rcx, r12d
mov byte [rcx + r14 + 1], 9
mov dword [rbx + r14 + 2], 0
mov dword [rbp + 0xac], esi
lea edi, [r13 + 1]
mov dword [rbp + 0xa8], edi
mov byte [r14 + 0x3c], dil
add esi, 6
movsxd rcx, r12d
add rcx, 0xc
call fcn.1402d160c
mov r15, rax
movsxd rbx, r12d
lea r8, [rbx + 6]
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r14
call fcn.1402d0d60
mov qword [rbp + 0xb0], r15
mov byte [rbx + r15 + 6], dil
movsxd rcx, r12d
mov byte [rcx + r15 + 7], 9
mov dword [rbx + r15 + 8], 0
mov dword [rbp + 0xac], esi
lea edi, [r13 + 2]
mov dword [rbp + 0xa8], edi
mov byte [r15 + 0x3c], dil
add esi, 6
mov dword [rsp + 0x70], esi
movsxd rcx, esi
call fcn.1402d160c
mov r14, rax
mov qword [rbp - 0x78], rax
movsxd rbx, r12d
lea r8, [rbx + 0xc]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov rcx, r15
call fcn.1402d0d60
mov qword [rbp + 0xb0], r14
mov byte [rbx + r14 + 0xc], dil
movsxd rcx, r12d
mov byte [rcx + r14 + 0xd], 9
xor r12d, r12d
mov dword [rbx + r14 + 0xe], r12d
mov dword [rbp + 0xac], esi
lea eax, [r13 + 3]
mov dword [rbp + 0xa8], eax
mov byte [r14 + 0x3c], al
mov dword [rbp + 0xb8], r12d
lea ecx, [r12 + 0x3d]
call fcn.1402d160c
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xbc], 0x3d
mov dword [rax + 0xc], r12d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r12
mov qword [rax + 0x24], r12
mov qword [rax + 0x2c], r12
mov qword [rax + 0x34], r12
mov byte [rax + 0x3c], r12b
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x18], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea r8d, [r12 + 0x10]
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x48]
call fcn.1400167a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xb8]
call fcn.1400348f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea r8d, [r12 + 0x25]
lea rdx, str._5_GUILD_ALERT____You_left_the_guild_
lea rcx, [rsp + 0x48]
call fcn.1400167a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xb8]
call fcn.1400348f0
movsxd rdx, dword [rbp + 0xbc]
lea r8d, [r12 + 1]
mov rcx, qword [rbp + 0xc0]
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov r15, qword [rsp + 0x78]
mov rcx, r15
call fcn.1400101d0
nop
mov rcx, qword [rbp + 0xc0]
call fcn.1402d0d60
mov dword [rbp + 0xb8], r12d
lea ecx, [r12 + 0x3d]
call fcn.1402d160c
mov qword [rbp + 0xc0], rax
mov dword [rbp + 0xbc], 0x3d
mov dword [rax + 0xc], r12d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r12
mov qword [rax + 0x24], r12
mov qword [rax + 0x2c], r12
mov qword [rax + 0x34], r12
mov byte [rax + 0x3c], r12b
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], 0xffffffff
mov dword [rax + 0x18], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea r8d, [r12 + 0x10]
lea rdx, str.OnConsoleMessage
lea rcx, [rsp + 0x48]
call fcn.1400167a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0xb8]
call fcn.1400348f0
mov rcx, qword [r15 + 0x30]
add rcx, 0x408
mov rdx, qword [rcx + 0x10]
movabs r13, 0x7fffffffffffffff
mov rax, r13
sub rax, rdx
cmp rax, 0x12
jb 0x14003829e
cmp qword [rcx + 0x18], 0x10
jb 0x140037407
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], reloc.WS2_32.dll_select
lea r9, str._5_GUILD_ALERT___
lea rcx, [rbp + 0x48]
call fcn.1402ae8c0
nop
mov r8d, reloc.WS2_32.dll_recv
lea rdx, str._left_the_guild_
lea rcx, [rbp + 0x48]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x18], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov esi, 0xc00
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x40], esi
lea rdx, [rbp + 8]
lea rcx, [rbp + 0xb8]
call fcn.1400348f0
nop
lea rcx, [rbp + 0x48]
call fcn.14029ed10
mov r14, qword [rbp - 0x80]
lea rdx, [r14 + 0x88]
mov rcx, qword [r15 + 0x30]
add rcx, 0x488
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400374b9
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400374c7
mov rcx, qword [rcx]
mov r9, qword [rbp + 0xc0]
mov qword [rsp + 0x78], r9
cmp r8, rax
jne 0x14003792c
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003792c
mov edx, dword [r14]
mov rcx, r15
call fcn.140036ad0
test al, al
je 0x14003792c
mov rax, qword [r15 + 0x30]
mov ebx, dword [rax + 0x1bc]
mov dword [rbp + 0x140], r12d
mov ecx, 0x3d
call fcn.1402d160c
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x144], 0x3d
mov dword [rax + 0xc], r12d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r12
mov qword [rax + 0x24], r12
mov qword [rax + 0x2c], r12
mov qword [rax + 0x34], r12
mov byte [rax + 0x3c], 0
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
mov r8d, select
lea rdx, str.OnNameChanged
lea rcx, [rsp + 0x48]
call fcn.1400167a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.1400348f0
mov rcx, qword [r15 + 0x30]
cmp dword [rcx + 0x324], 0
jne 0x1400375c5
cmp dword [rcx + 0x328], 0
jne 0x1400375c5
add rcx, 0x198
mov r8d, 2
lea rdx, [0x140345968]
call fcn.14029f010
mov rax, qword [r15 + 0x30]
lea rdi, [0x1403439cb]
cmp dword [rax + 0x31c], 0
lea rcx, str.__5_BOOST_
cmovne rdi, rcx
lea rbx, [0x1403439cb]
cmp byte [rax + 0xbc0], 0
lea rcx, str._of_Legend
cmovne rbx, rcx
cmp qword [rax + 0x538], 0
je 0x14003761d
lea rdx, [rax + 0x528]
lea rcx, [rbp - 0x18]
call fcn.140017b30
nop
mov esi, 0xc01
jmp 0x140037679
lea rcx, [rax + 0x408]
lea r9, [rax + 0x198]
mov rdx, qword [r9 + 0x10]
mov r8, qword [rcx + 0x10]
mov rax, r13
sub rax, rdx
cmp rax, r8
jb 0x1400382a4
cmp qword [r9 + 0x18], 0x10
jb 0x14003764c
mov r9, qword [r9]
cmp qword [rcx + 0x18], 0x10
jb 0x140037656
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rsp + 0x48]
call fcn.1402ae8c0
lea rax, [rsp + 0x48]
mov esi, 0x80c02
mov dword [rsp + 0x40], esi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140037684
mov rdx, rbx
mov rcx, rax
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0x12
mov dword [rsp + 0x40], esi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdi + r8], 0
jne 0x1400376d5
mov rdx, rdi
lea rcx, [rbp - 0x48]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0x11
mov dword [rsp + 0x40], esi
mov r8d, 2
lea rdx, [0x14034596c]
lea rcx, [rbp - 0x68]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], r12
mov qword [rbp + 0xe0], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0x10
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x40], esi
lea rdx, [rbp + 0xc8]
lea rcx, [rbp + 0x140]
call fcn.1400348f0
nop
lea rcx, [rbp - 0x68]
call fcn.14029ed10
nop
lea rcx, [rbp - 0x48]
call fcn.14029ed10
nop
test sil, 2
je 0x1400377c2
and esi, 0xfffffffd
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x40], esi
lea rcx, [rsp + 0x48]
call fcn.14029ed10
nop
test sil, 1
je 0x1400377dc
and esi, 0xfffffffe
mov dword [rsp + 0x68], esi
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x18]
call fcn.14029ed10
mov r14, qword [0x1403c79b0]
mov rbx, qword [r14 + 0x28]
imul rax, qword [r14 + 0x30], 0x1c8
add rax, rbx
mov r13, qword [rbp + 0x148]
cmp rbx, rax
jae 0x14003791f
add rbx, 0x30
mov r12d, dword [rbp - 0x70]
movsxd rsi, dword [rsp + 0x70]
nop
cmp dword [rbx + 8], 5
jne 0x1400378fb
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400378fb
mov rdx, qword [r15 + 0x30]
add rdx, 0x488
add rcx, 0x488
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140037846
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140037854
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1400378ae
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400378ae
mov rdx, rsi
lea r8d, [rax + 1]
mov rcx, qword [rbp - 0x78]
call fcn.14000ff40
lea rdi, [rbx - 0x30]
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400101d0
movsxd rdx, dword [rbp + 0x144]
mov r8d, 1
mov rcx, r13
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400101d0
mov r14, qword [0x1403c79b0]
jmp 0x1400378b2
lea rdi, [rbx - 0x30]
mov rdx, qword [rbx]
mov rax, qword [r15 + 0x30]
mov ecx, dword [rax + 0x1bc]
cmp dword [rdx + 0x1bc], ecx
je 0x1400378fb
cmp dword [rdx + 0xbb8], r12d
jne 0x1400378fb
movsxd rdx, dword [rbp + 0xbc]
mov r8d, 1
mov rcx, qword [rsp + 0x78]
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.1400101d0
mov r14, qword [0x1403c79b0]
add rbx, 0x1c8
imul rdx, qword [r14 + 0x30], 0x1c8
add rdx, qword [r14 + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rdx
jb 0x140037810
mov esi, dword [rsp + 0x68]
mov rcx, r13
call fcn.1402d0d60
jmp 0x140037a49
mov rdi, qword [0x1403c79b0]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
cmp rbx, rax
jae 0x140037a4d
add rbx, 0x30
movsxd r13, dword [rbp + 0xbc]
mov r12d, dword [rbp - 0x70]
movsxd rsi, dword [rsp + 0x70]
nop
cmp dword [rbx + 8], 5
jne 0x140037a25
mov rcx, qword [rbx]
test rcx, rcx
je 0x140037a25
mov rdx, qword [r15 + 0x30]
add rdx, 0x488
add rcx, 0x488
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140037996
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x1400379a4
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1400379dc
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400379dc
mov rdx, rsi
lea r8d, [rax + 1]
mov rcx, qword [rbp - 0x78]
call fcn.14000ff40
lea r14, [rbx - 0x30]
mov r8, rax
xor edx, edx
mov rcx, r14
call fcn.1400101d0
mov rdi, qword [0x1403c79b0]
jmp 0x1400379e0
lea r14, [rbx - 0x30]
mov rcx, qword [rbx]
mov rax, qword [r15 + 0x30]
mov edx, dword [rax + 0x1bc]
cmp dword [rcx + 0x1bc], edx
je 0x140037a25
cmp dword [rcx + 0xbb8], r12d
jne 0x140037a25
mov rdx, r13
mov r8d, 1
mov rcx, qword [rsp + 0x78]
call fcn.14000ff40
mov r8, rax
xor edx, edx
mov rcx, r14
call fcn.1400101d0
mov rdi, qword [0x1403c79b0]
add rbx, 0x1c8
imul rcx, qword [rdi + 0x30], 0x1c8
add rcx, qword [rdi + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rcx
jb 0x140037960
mov esi, dword [rsp + 0x68]
mov r14, qword [rbp - 0x80]
mov rax, qword [r15 + 0x30]
mov dword [rax + 0xbb8], 0
xor r13d, r13d
mov r12, qword [r14 + 0x58]
mov rbx, qword [r14 + 0x50]
mov rcx, r12
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14003824e
xor r8d, r8d
mov qword [rsp + 0x70], r8
nop word [rax + rax]
lea rdi, [rbx + r8]
mov rdx, qword [r15 + 0x30]
add rdx, 0x408
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140037abd
mov rdx, qword [rdx]
mov r8, qword [rdi + 0x10]
mov rcx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140037ace
mov rcx, qword [rdi]
cmp r8, rax
jne 0x140037c30
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140037c30
cmp byte [rdi + 0x20], 3
je 0x140037c7b
movsxd rax, r13d
lea r14, [rax + rax*4]
shl r14, 4
add r14, 0x50
add r14, rbx
cmp r14, r12
je 0x140037b52
lea rbx, [r14 - 0x2f]
nop dword [rax]
lea rcx, [rbx - 0x21]
mov rdx, r14
call fcn.14029c0f0
movzx eax, byte [rbx + 0x4f]
mov byte [rbx - 1], al
movzx eax, byte [rbx + 0x50]
mov byte [rbx], al
movzx eax, byte [rbx + 0x51]
mov byte [rbx + 1], al
lea rdx, [rbx + 0x57]
lea rcx, [rbx + 7]
call fcn.14029c0f0
mov rax, qword [rbx + 0x77]
mov qword [rbx + 0x27], rax
add r14, 0x50
lea rbx, [rbx + 0x50]
cmp r14, r12
jne 0x140037b10
mov r14, qword [rbp - 0x80]
mov rbx, qword [r14 + 0x58]
lea rcx, [rbx - 0x28]
call fcn.14029ed10
lea rcx, [rbx - 0x50]
call fcn.14029ed10
add qword [r14 + 0x58], 0xffffffffffffffb0
mov rcx, qword [r15 + 0x30]
add rcx, 0x408
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, 2
jb 0x140038292
cmp qword [rcx + 0x18], 0x10
jb 0x140037ba1
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 2
lea r9, [0x1403459a4]
lea rcx, [rbp + 0x68]
call fcn.1402ae8c0
bts esi, 8
mov r8d, reloc.WS2_32.dll_send
lea rdx, str.____wleft_the_guild
lea rcx, [rbp + 0x68]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
xor ecx, ecx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rcx
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x38], xmm1
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], cl
bts esi, 9
mov dword [rsp + 0x40], esi
mov r8d, 0x173c
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.140036ca0
nop
lea rcx, [rbp + 0x68]
call fcn.14029ed10
inc r13d
mov r8, qword [rsp + 0x70]
add r8, 0x50
mov qword [rsp + 0x70], r8
mov r12, qword [r14 + 0x58]
mov rbx, qword [r14 + 0x50]
mov rcx, r12
sub rcx, rbx
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 5
mov rax, rdx
shr rax, 0x3f
add rdx, rax
movsxd rax, r13d
cmp rax, rdx
jae 0x14003824e
jmp 0x140037aa0
mov rbx, qword [0x1403c79b0]
mov rcx, qword [rbx + 0x28]
imul rax, qword [rbx + 0x30], 0x1c8
add rax, rcx
cmp rcx, rax
jae 0x1400380f1
lea r14, [rcx + 0x30]
nop
cmp dword [r14 + 8], 5
jne 0x1400380cd
mov rdi, qword [r14]
test rdi, rdi
je 0x1400380cd
mov rdx, qword [r15 + 0x30]
add rdx, 0x488
lea rcx, [rdi + 0x488]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x140037cd7
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x140037ce5
mov rcx, qword [rcx]
cmp r8, rax
jne 0x1400380cd
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400380cd
mov rax, qword [rbp - 0x20]
mov rcx, qword [rbp - 0x28]
mov edx, dword [rcx + rax]
cmp dword [rdi + 0xbb8], edx
jne 0x1400380cd
lea rcx, [r14 - 0x30]
call fcn.140036ad0
test al, al
je 0x1400380c6
mov rax, qword [r14]
mov ebx, dword [rax + 0x1bc]
xor r12d, r12d
mov dword [rbp + 0x140], r12d
lea ecx, [r12 + 0x3d]
call fcn.1402d160c
mov qword [rbp + 0x148], rax
mov dword [rbp + 0x144], 0x3d
mov dword [rax + 0xc], r12d
mov qword [rax + 0x10], 8
mov qword [rax + 0x1c], r12
mov qword [rax + 0x24], r12
mov qword [rax + 0x2c], r12
mov qword [rax + 0x34], r12
mov byte [rax + 0x3c], r12b
mov dword [rax], 4
mov dword [rax + 4], 1
mov dword [rax + 8], ebx
mov dword [rax + 0x18], r12d
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
lea r8d, [r12 + 0xd]
lea rdx, str.OnNameChanged
lea rcx, [rsp + 0x48]
call fcn.1400167a0
lea rdx, [rsp + 0x48]
lea rcx, [rbp + 0x140]
call fcn.1400348f0
mov rcx, qword [r14]
cmp dword [rcx + 0x324], r12d
jne 0x140037deb
cmp dword [rcx + 0x328], r12d
jne 0x140037deb
add rcx, 0x198
lea r8d, [r12 + 2]
lea rdx, [0x140345968]
call fcn.14029f010
mov rax, qword [r15 + 0x30]
lea rdi, [0x1403439cb]
cmp dword [rax + 0x31c], 0
lea rax, str.__5_BOOST_
cmovne rdi, rax
mov r9, qword [r14]
lea rbx, [0x1403439cb]
cmp byte [r9 + 0xbc0], 0
lea rax, str._of_Legend
cmovne rbx, rax
cmp qword [r9 + 0x538], 0
je 0x140037e48
lea rdx, [r9 + 0x528]
lea rcx, [rbp + 0x88]
call fcn.140017b30
nop
or esi, 4
jmp 0x140037eab
lea rcx, [r9 + 0x408]
add r9, 0x198
mov rdx, qword [r9 + 0x10]
mov r8, qword [rcx + 0x10]
movabs rax, 0x7fffffffffffffff
sub rax, rdx
cmp rax, r8
jb 0x140038298
cmp qword [r9 + 0x18], 0x10
jb 0x140037e7e
mov r9, qword [r9]
cmp qword [rcx + 0x18], 0x10
jb 0x140037e88
mov rcx, qword [rcx]
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rdx
lea rcx, [rbp - 0x18]
call fcn.1402ae8c0
bts esi, 0xf
lea rax, [rbp - 0x18]
or esi, 8
mov dword [rsp + 0x40], esi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140037eb6
mov rdx, rbx
mov rcx, rax
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r12
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0xd
mov dword [rsp + 0x40], esi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdi + r8], 0
jne 0x140037f10
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp + 0x28], xmm0
mov qword [rbp + 0x38], r12
mov qword [rbp + 0x40], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x38], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0xc
mov dword [rsp + 0x40], esi
mov r8d, 2
lea rdx, [0x14034596c]
lea rcx, [rbp + 0x28]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
bts esi, 0xe
mov dword [rsp + 0x40], esi
lea rdx, [rbp - 0x68]
lea rcx, [rbp + 0x140]
call fcn.1400348f0
nop
lea rcx, [rbp + 0x28]
call fcn.14029ed10
nop
lea rcx, [rsp + 0x48]
call fcn.14029ed10
nop
test sil, 8
je 0x140037fe4
and esi, 0xfffffff7
mov dword [rsp + 0x40], esi
lea rcx, [rbp - 0x18]
call fcn.14029ed10
nop
test sil, 4
je 0x140037ffd
and esi, 0xfffffffb
mov dword [rsp + 0x40], esi
lea rcx, [rbp + 0x88]
call fcn.14029ed10
mov rdi, qword [0x1403c79b0]
mov rbx, qword [rdi + 0x28]
imul rax, qword [rdi + 0x30], 0x1c8
add rax, rbx
mov r12, qword [rbp + 0x148]
cmp rbx, rax
jae 0x1400380be
add rbx, 0x30
movsxd r13, dword [rbp + 0x144]
nop
cmp dword [rbx + 8], 5
jne 0x14003809e
mov rcx, qword [rbx]
test rcx, rcx
je 0x14003809e
mov rdx, qword [r15 + 0x30]
add rdx, 0x488
add rcx, 0x488
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14003805e
mov rdx, qword [rdx]
mov r8, qword [rcx + 0x10]
cmp qword [rcx + 0x18], 0x10
jb 0x14003806c
mov rcx, qword [rcx]
cmp r8, rax
jne 0x14003809e
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14003809e
mov rdx, r13
lea r8d, [rax + 1]
mov rcx, r12
call fcn.14000ff40
lea rcx, [rbx - 0x30]
mov r8, rax
xor edx, edx
call fcn.1400101d0
mov rdi, qword [0x1403c79b0]
add rbx, 0x1c8
imul rdx, qword [rdi + 0x30], 0x1c8
add rdx, qword [rdi + 0x28]
lea rax, [rbx - 0x30]
cmp rax, rdx
jb 0x140038030
mov rcx, r12
call fcn.1402d0d60
mov rbx, qword [0x1403c79b0]
add r14, 0x1c8
imul rcx, qword [rbx + 0x30], 0x1c8
add rcx, qword [rbx + 0x28]
lea rax, [r14 - 0x30]
cmp rax, rcx
jb 0x140037ca0
mov r14, qword [rbp - 0x80]
mov r8d, dword [r14]
lea r10, [rbp + 0x155]
nop dword [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140038100
lea r8, [rbp + 0x155]
mov rdx, r10
lea rcx, [rbp - 0x18]
call fcn.1402af720
nop
mov r9d, reloc.WS2_32.dll_recv
lea r8, str.database_guilds_
xor edx, edx
lea rcx, [rbp - 0x18]
call fcn.14029ef10
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor ebx, ebx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x58], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea r8d, [rbx + 5]
lea rdx, str..json
lea rcx, [rsp + 0x48]
call fcn.14029f170
xorps xmm0, xmm0
movups xmmword [rbp + 0xc8], xmm0
mov qword [rbp + 0xd8], rbx
mov qword [rbp + 0xe0], rbx
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd8], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], bl
lea rcx, [rsp + 0x48]
call fcn.14029ed10
nop
lea rcx, [rbp - 0x18]
call fcn.14029ed10
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae rcx, qword [rbp + 0xc8]
xor edx, edx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__access_s]
test eax, eax
jne 0x14003822d
lea rcx, [rbp + 0xc8]
cmp qword [rbp + 0xe0], 0x10
cmovae rcx, qword [rbp + 0xc8]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov r8, qword [rbp - 0x28]
add r8, qword [0x1403c7fe8]
lea rdx, [rbp - 0x20]
call fcn.140296f70
lea rcx, [rbp + 0xc8]
call fcn.14029ed10
nop
mov rcx, qword [rsp + 0x78]
call fcn.1402d0d60
nop
mov rcx, qword [rbp - 0x78]
call fcn.1402d0d60
mov rcx, qword [rbp + 0x158]
xor rcx, rsp
call fcn.1402d0d40
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140014450
nop
call fcn.140014450
nop
call fcn.140014450
nop
call fcn.140014450
int3