Function at 0x1800522c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x298
mov rax, qword [0x1800b7480]
xor rax, rsp
mov qword [rsp + 0x288], rax
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x34], 0
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0x30], 0
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x4c], 0
jne 0x180052329
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x2a0]
call fcn.180051e30
mov dword [rsp + 0x74], eax
jmp 0x18005234a
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x3c]
mov dword [rsp + 0x110], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0xf8], eax
cmp dword [rsp + 0xf8], 2
jae 0x180052382
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0xb4], 0xffffffff
mov eax, 1
jmp 0x180054c59
cmp dword [rsp + 0xf8], 0x111
jbe 0x18005239a
mov dword [rsp + 0xf8], 0x111
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x2a0]
call qword [rax + 0x18]
dec rax
mov qword [rsp + 0x140], rax
mov dword [rsp + 0xc4], 0
mov dword [rsp + 0x40], 0
jmp 0x1800523da
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 4
jae 0x180052523
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax*4 + 0x50]
mov dword [rsp + rcx*4 + 0x268], eax
mov eax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x268]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x228], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x140]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x228]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x18005247d
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x140]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x228]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180052491
mov eax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x278], 0
jmp 0x1800523d0
mov dword [rsp + 0x90], 2
jmp 0x1800524ae
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x90], eax
jae 0x1800524ea
mov eax, dword [rsp + 0x90]
mov rcx, qword [rsp + 0x140]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x228]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x1800524ea
jmp 0x18005249e
mov eax, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x90]
mov dword [rsp + rax*4 + 0x278], ecx
mov eax, dword [rsp + 0xc4]
mov eax, dword [rsp + rax*4 + 0x278]
cmp dword [rsp + 0x90], eax
jbe 0x18005251e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xc4], eax
jmp 0x1800523d0
mov eax, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 0x48]
cmp dword [rsp + rax*4 + 0x278], ecx
jb 0x1800525b6
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0xc4]
mov dword [rax + 0xb4], ecx
mov eax, dword [rsp + 0xc4]
mov eax, dword [rsp + rax*4 + 0x278]
mov dword [rsp + 0x10c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x4c]
mov ecx, dword [rsp + 0x10c]
lea eax, [rcx + rax - 1]
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x10c]
dec eax
mov edx, eax
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x2a0]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x10c]
jmp 0x180054c59
mov rax, qword [rsp + 0x2a0]
add rax, 0x800
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x74], eax
jb 0x180052646
mov eax, dword [rsp + 0x110]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4 - 4]
add eax, 4
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + 0xb4], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x4c]
mov ecx, dword [rsp + 0x74]
lea eax, [rcx + rax - 1]
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + 0x4c], eax
mov eax, dword [rsp + 0x74]
dec eax
mov edx, eax
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x2a0]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x74]
jmp 0x180054c59
mov rax, qword [rsp + 0x140]
movzx eax, byte [rax]
mov byte [rsp + 0x38], al
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x268]
mov rcx, qword [rsp + 0x140]
sub rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0xc4]
mov eax, dword [rsp + rax*4 + 0x278]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x34], eax
ja 0x18005269e
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 2
jae 0x1800526cf
movzx eax, byte [rsp + 0x38]
movzx ecx, byte [rsp + 0x48]
cmp eax, ecx
je 0x1800526cf
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0xb4], 0xffffffff
mov eax, 1
jmp 0x180054c59
mov eax, 0x20
imul rax, rax, 0
mov rcx, qword [rsp + 0x2a0]
mov rdx, qword [rsp + 0x2a0]
movzx edx, word [rdx + 0x44]
mov word [rcx + rax + 0xd360], dx
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x64]
mov ecx, dword [rsp + 0x2a8]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0xc8], eax
mov eax, dword [rsp + 0x2a8]
shl eax, 8
mov rcx, qword [rsp + 0x140]
movzx ecx, byte [rcx - 1]
add eax, ecx
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x60]
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 0xb8]
shl eax, cl
imul eax, eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + 0x68]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x238], rax
mov rax, qword [rsp + 0x2a0]
cmp dword [rax + 0x44], 7
jb 0x1800527a3
mov rax, qword [rsp + 0x2a0]
add rax, 0x600
movzx ecx, byte [rsp + 0x48]
movzx edx, byte [rsp + 0x38]
mov r9, rax
mov r8d, ecx
mov rcx, qword [rsp + 0x238]
call fcn.1800511f0
mov dword [rsp + 0x1b0], eax
jmp 0x1800527cf
mov rax, qword [rsp + 0x2a0]
add rax, 0x600
movzx ecx, byte [rsp + 0x38]
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x238]
call fcn.180051160
mov dword [rsp + 0x1b0], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x44]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0xc8]
movzx eax, word [rax + rcx*2]
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
add eax, dword [rsp + 0x1b0]
mov ecx, 0x20
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x2a0]
mov dword [rdx + rcx + 0xd35c], eax
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + rax + 0xd368], 0xffffffff
mov eax, 0x20
imul rax, rax, 1
xor ecx, ecx
mov rdx, qword [rsp + 0x2a0]
mov word [rdx + rax + 0xd362], cx
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x44]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0xc8]
movzx eax, word [rax + rcx*2]
xor eax, 0x7ff
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov dword [rsp + 0x1c0], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x44]
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax*2 + 0x1cf4]
xor eax, 0x7ff
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1b8], eax
movzx eax, byte [rsp + 0x48]
movzx ecx, byte [rsp + 0x38]
cmp eax, ecx
jne 0x180052a4a
mov eax, 4
imul rax, rax, 0
cmp dword [rsp + rax + 0x278], 0
jne 0x180052a4a
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x44]
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax*2 + 0x1d0c]
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 0x44]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0x1ed4]
mov edx, dword [rsp + 0xc8]
movzx ecx, word [rcx + rdx*2]
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax*4 + 0x600]
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0x1b8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1b4], eax
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax + 0xd35c]
cmp dword [rsp + 0x1b4], eax
jae 0x180052a13
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a0]
mov edx, dword [rsp + 0x1b4]
mov dword [rcx + rax + 0xd35c], edx
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + rax + 0xd368], 0
mov eax, 0x20
imul rax, rax, 1
xor ecx, ecx
mov rdx, qword [rsp + 0x2a0]
mov word [rdx + rax + 0xd362], cx
cmp dword [rsp + 0x34], 2
jae 0x180052a4a
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a0]
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax + 0xd368]
mov dword [rcx + 0xb4], eax
mov eax, 1
jmp 0x180054c59
mov eax, 0x20
imul rax, rax, 1
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + rax + 0xd364], 1
mov eax, 4
imul rax, rax, 0
mov ecx, 0x20
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0xd35c]
mov edx, 4
imul rdx, rdx, 0
mov eax, dword [rsp + rax + 0x268]
mov dword [rcx + rdx + 0x10], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 0x20
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0xd35c]
mov edx, 4
imul rdx, rdx, 1
mov eax, dword [rsp + rax + 0x268]
mov dword [rcx + rdx + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 0x20
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0xd35c]
mov edx, 4
imul rdx, rdx, 2
mov eax, dword [rsp + rax + 0x268]
mov dword [rcx + rdx + 0x10], eax
mov eax, 4
imul rax, rax, 3
mov ecx, 0x20
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0xd35c]
mov edx, 4
imul rdx, rdx, 3
mov eax, dword [rsp + rax + 0x268]
mov dword [rcx + rdx + 0x10], eax
mov dword [rsp + 0x40], 0
jmp 0x180052b52
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 4
jae 0x180052c8a
mov eax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x278]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 2
jae 0x180052b7b
jmp 0x180052b48
mov eax, dword [rsp + 0xc8]
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 0x44]
mov r9d, eax
mov r8d, ecx
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x2a0]
call fcn.180051fb0
mov ecx, dword [rsp + 0x1b8]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x210], eax
mov eax, dword [rsp + 0xc8]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x8f5c]
mov ecx, dword [rsp + 0x94]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0x210]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x1bc], eax
mov eax, dword [rsp + 0x94]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax]
cmp dword [rsp + 0x1bc], eax
jae 0x180052c67
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x1bc]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x94]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x40]
mov dword [rax + 0xc], ecx
xor eax, eax
mov rcx, qword [rsp + 0x1d0]
mov word [rcx + 6], ax
mov eax, dword [rsp + 0x94]
dec eax
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 2
jae 0x180052bb6
jmp 0x180052b48
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x278]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x74]
cmp dword [rsp + 0x50], eax
ja 0x180052f67
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x44]
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax*2 + 0x1cf4]
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x1c0]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20c], eax
cmp dword [rsp + 0x50], 2
jae 0x180052d08
mov dword [rsp + 0x50], 2
jmp 0x180052d2a
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x50], eax
jbe 0x180052d2a
mov eax, dword [rsp + 0x7c]
add eax, 2
mov dword [rsp + 0x7c], eax
jmp 0x180052d08
jmp 0x180052d36
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0xc8]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x4b58]
mov ecx, dword [rsp + 0x50]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0x20c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x50], 5
jae 0x180052d99
mov eax, dword [rsp + 0x50]
sub eax, 2
mov dword [rsp + 0x1c4], eax
jmp 0x180052da4
mov dword [rsp + 0x1c4], 3
mov eax, dword [rsp + 0x1c4]
mov dword [rsp + 0x150], eax
cmp dword [rsp + 0xa0], 0x80
jae 0x180052dfd
mov eax, dword [rsp + 0x150]
imul rax, rax, 0x200
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x14d4]
mov ecx, dword [rsp + 0xa0]
and ecx, 0x7f
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
jmp 0x180052ec3
cmp dword [rsp + 0xa0], 0x80000
jae 0x180052e18
mov qword [rsp + 0x240], 6
jmp 0x180052e24
mov qword [rsp + 0x240], reloc.WS2_32.dll_select
mov eax, dword [rsp + 0x240]
mov dword [rsp + 0x1c8], eax
mov eax, dword [rsp + 0x1c8]
movzx ecx, al
mov eax, dword [rsp + 0xa0]
shr eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
movzx eax, byte [rcx + rax + 0x2b54]
mov ecx, dword [rsp + 0x1c8]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x214], eax
mov eax, dword [rsp + 0xa0]
and eax, 0xf
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x1094]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x150]
imul rax, rax, 0x100
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x10d4]
mov ecx, dword [rsp + 0x214]
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x78]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x50]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1d8], rax
mov rax, qword [rsp + 0x1d8]
mov eax, dword [rax]
cmp dword [rsp + 0x78], eax
jae 0x180052f33
mov rax, qword [rsp + 0x1d8]
mov ecx, dword [rsp + 0x78]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1d8]
mov ecx, dword [rsp + 0x50]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0xa0]
add eax, 4
mov rcx, qword [rsp + 0x1d8]
mov dword [rcx + 0xc], eax
xor eax, eax
mov rcx, qword [rsp + 0x1d8]
mov word [rcx + 6], ax
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x50], eax
jne 0x180052f62
mov eax, dword [rsp + 0x7c]
add eax, 2
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x7c], eax
jne 0x180052f62
jmp 0x180052f67
jmp 0x180052d2c
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x28], eax
jne 0x180052f88
jmp 0x180054c1c
cmp dword [rsp + 0x28], 0x7c0
jb 0x1800530a4
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax + 0xd35c]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x118], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0xd8], eax
jmp 0x180052fde
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0xd8], eax
ja 0x18005303a
mov eax, dword [rsp + 0xd8]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax + 0xd35c]
mov dword [rsp + 0x154], eax
mov eax, dword [rsp + 0x154]
cmp dword [rsp + 0x158], eax
jb 0x180053038
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x118], eax
jmp 0x180052fce
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x118]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x114], eax
cmp dword [rsp + 0x114], 0
je 0x180053094
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x4c]
add eax, dword [rsp + 0x114]
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + 0x4c], eax
mov edx, dword [rsp + 0x114]
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x2a0]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0x28], eax
jmp 0x180054c1c
lea rdx, [rsp + 0x6c]
mov rcx, qword [rsp + 0x2a0]
call fcn.180051e30
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x8c], eax
jb 0x1800530f7
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x6c]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x2a0]
mov ecx, dword [rsp + 0x8c]
mov dword [rax + 0x38], ecx
jmp 0x180054c1c
mov eax, dword [rsp + 0x28]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x2a8]
inc eax
mov dword [rsp + 0x2a8], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xdc], eax
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 8], 1
jne 0x1800531a9
mov eax, dword [rsp + 0xdc]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax + 0xd360]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0xd0]
cmp dword [rax + 0xc], 0
jne 0x180053191
mov eax, dword [rsp + 0x24]
lea rcx, str._t_t_t_t_t_t_t_v_v_v_v_v
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
jmp 0x1800531a4
mov eax, dword [rsp + 0x24]
lea rcx, [0x18009c910]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
jmp 0x1800534e7
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 6]
test eax, eax
je 0x180053231
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 6]
mov ecx, dword [rsp + 0xdc]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0xdc], eax
mov dword [rsp + 0x24], 8
mov rax, qword [rsp + 0xd0]
movzx eax, word [rax + 6]
cmp eax, 1
jne 0x18005322f
cmp dword [rsp + 0x80], 4
jae 0x180053219
mov dword [rsp + 0x15c], 8
jmp 0x180053224
mov dword [rsp + 0x15c], 7
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x24], eax
jmp 0x180053282
mov eax, dword [rsp + 0xdc]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax + 0xd360]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x80], 4
jae 0x18005326f
mov eax, dword [rsp + 0x24]
lea rcx, str._b_b_b_b_b_b_b_v_v_v_v_v
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
jmp 0x180053282
mov eax, dword [rsp + 0x24]
lea rcx, str._a_a_a_a_a_a_a_n_n_n_n_n
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xdc]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0xe8], rax
mov eax, 4
imul rax, rax, 0
mov rcx, qword [rsp + 0xe8]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0x80], 4
jae 0x18005346c
cmp dword [rsp + 0x80], 0
jne 0x180053368
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + rax + 0x268], ecx
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
mov eax, 4
imul rax, rax, 3
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
jmp 0x18005346a
mov eax, 4
imul rax, rax, 1
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + rax + 0x268], ecx
mov eax, 4
imul rax, rax, 1
mov rcx, qword [rsp + 0xe8]
mov eax, dword [rcx + rax + 0x10]
mov dword [rsp + 0xa4], eax
cmp dword [rsp + 0x80], 1
jne 0x180053408
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + rax + 0x268], ecx
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
mov eax, 4
imul rax, rax, 3
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
jmp 0x18005346a
mov eax, 4
imul rax, rax, 2
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + rax + 0x268], ecx
mov eax, dword [rsp + 0x80]
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax*4 + 0x10]
mov dword [rsp + rcx + 0x268], eax
mov eax, dword [rsp + 0x80]
xor eax, 1
mov eax, eax
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax*4 + 0x10]
mov dword [rsp + rcx + 0x268], eax
jmp 0x1800534e7
mov eax, dword [rsp + 0x80]
sub eax, 3
mov ecx, 4
imul rcx, rcx, 0
mov dword [rsp + rcx + 0x268], eax
mov eax, 4
imul rax, rax, 1
mov ecx, dword [rsp + 0xa4]
mov dword [rsp + rax + 0x268], ecx
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xe8]
mov eax, dword [rdx + rax + 0x10]
mov dword [rsp + rcx + 0x268], eax
mov rax, qword [rsp + 0xd0]
movzx ecx, word [rsp + 0x24]
mov word [rax + 4], cx
mov eax, 4
imul rax, rax, 0
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rsp + rax + 0x268]
mov dword [rdx + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 1
mov ecx, 4
imul rcx, rcx, 1
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rsp + rax + 0x268]
mov dword [rdx + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 2
mov ecx, 4
imul rcx, rcx, 2
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rsp + rax + 0x268]
mov dword [rdx + rcx + 0x10], eax
mov eax, 4
imul rax, rax, 3
mov ecx, 4
imul rcx, rcx, 3
mov rdx, qword [rsp + 0xd0]
mov eax, dword [rsp + rax + 0x268]
mov dword [rdx + rcx + 0x10], eax
mov rax, qword [rsp + 0x2a0]
mov rcx, qword [rax]
mov rax, qword [rsp + 0x2a0]
call qword [rax + 0x18]
dec rax
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x268]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov byte [rsp + 0x39], al
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x64]
mov ecx, dword [rsp + 0x2a8]
and ecx, eax
mov eax, ecx
mov dword [rsp + 0xb8], eax
mov rax, qword [rsp + 0xd0]
mov eax, dword [rax]
mov dword [rsp + 0x164], eax
mov eax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0xb8]
movzx eax, word [rax + rcx*2]
mov dword [rsp + 0x160], eax
mov eax, dword [rsp + 0x160]
xor eax, 0x7ff
shr eax, 4
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x164]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x188], eax
mov eax, dword [rsp + 0x160]
shr eax, 4
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x164]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x28]
inc rax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x11c], 0
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0x40000000
jae 0x1800536db
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
je 0x1800536ee
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x84], eax
jbe 0x1800536fe
mov dword [rsp + 0x84], 0
jmp 0x180053826
mov eax, dword [rsp + 0x2a8]
shl eax, 8
mov rcx, qword [rsp + 0x60]
movzx ecx, byte [rcx - 1]
add eax, ecx
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x60]
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 0xb8]
shl eax, cl
imul eax, eax, 3
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
mov rcx, qword [rcx + 0x68]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x248], rax
cmp dword [rsp + 0x24], 7
jb 0x180053786
mov rax, qword [rsp + 0x2a0]
add rax, 0x600
movzx ecx, byte [rsp + 0x39]
movzx edx, byte [rsp + 0x20]
mov r9, rax
mov r8d, ecx
mov rcx, qword [rsp + 0x248]
call fcn.1800511f0
mov dword [rsp + 0x168], eax
jmp 0x1800537b2
mov rax, qword [rsp + 0x2a0]
add rax, 0x600
movzx ecx, byte [rsp + 0x20]
mov r8, rax
mov edx, ecx
mov rcx, qword [rsp + 0x248]
call fcn.180051160
mov dword [rsp + 0x168], eax
mov eax, dword [rsp + 0x168]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x84], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x84], eax
jae 0x180053826
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x84]
mov dword [rax], ecx
mov rax, qword [rsp + 0x98]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x98]
mov dword [rax + 0xc], 0xffffffff
xor eax, eax
mov rcx, qword [rsp + 0x98]
mov word [rcx + 6], ax
mov dword [rsp + 0x11c], 1
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax*2 + 0x1cf4]
xor eax, 0x7ff
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x188]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x12c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x40]
mov dword [rsp + 0x54], eax
mov eax, 0x7ff
sub eax, dword [rsp + 0x28]
mov dword [rsp + 0x16c], eax
mov eax, dword [rsp + 0x16c]
cmp dword [rsp + 0x54], eax
jbe 0x18005389c
mov eax, dword [rsp + 0x16c]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x24], 7
jae 0x1800539bd
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x1800539bd
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x12c], eax
jae 0x1800539bd
mov rax, qword [rsp + 0x98]
cmp dword [rax + 8], 2
jb 0x1800538f0
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0xc], 0
je 0x1800539bd
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax*2 + 0x1d0c]
sar eax, 4
cdqe
mov ecx, dword [rsp + 0x24]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0x1ed4]
mov edx, dword [rsp + 0xb8]
movzx ecx, word [rcx + rdx*2]
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax*4 + 0x600]
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0x12c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x170], eax
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x170], eax
jae 0x1800539bd
mov rax, qword [rsp + 0x98]
mov ecx, dword [rsp + 0x170]
mov dword [rax], ecx
mov rax, qword [rsp + 0x98]
mov dword [rax + 8], 1
mov rax, qword [rsp + 0x98]
mov dword [rax + 0xc], 0
xor eax, eax
mov rcx, qword [rsp + 0x98]
mov word [rcx + 6], ax
mov dword [rsp + 0x11c], 0
cmp dword [rsp + 0x54], 2
jae 0x1800539c9
jmp 0x180052f6f
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x54], eax
ja 0x1800539e7
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x174], eax
jmp 0x1800539f9
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
mov dword [rsp + 0x174], eax
mov eax, dword [rsp + 0x174]
mov dword [rsp + 0x134], eax
cmp dword [rsp + 0x11c], 0
jne 0x180053d35
cmp dword [rsp + 0x84], 0
je 0x180053d35
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
je 0x180053d35
cmp dword [rsp + 0x54], 2
jbe 0x180053d35
mov eax, 4
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x268]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x230], rax
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x230]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180053d35
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x230]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180053d35
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
inc eax
mov dword [rsp + 0x120], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x120], eax
jbe 0x180053aed
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x120], eax
mov dword [rsp + 0x68], 3
jmp 0x180053b01
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x68], eax
jae 0x180053b31
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x230]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180053b31
jmp 0x180053af7
mov eax, dword [rsp + 0x24]
lea rcx, [0x18009c910]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xfc], eax
mov eax, dword [rsp + 0x2a8]
inc eax
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x64]
mov dword [rsp + 0x124], eax
mov eax, dword [rsp + 0xfc]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0x124]
movzx eax, word [rax + rcx*2]
xor eax, 0x7ff
sar eax, 4
cdqe
mov ecx, dword [rsp + 0xfc]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0x1ed4]
mov edx, dword [rsp + 0x124]
movzx ecx, word [rcx + rdx*2]
xor ecx, 0x7ff
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax*4 + 0x600]
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0x84]
add ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x2a0]
movzx ecx, word [rdx + rcx*2 + 0x1cf4]
xor ecx, 0x7ff
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0xfc]
mov rdx, qword [rsp + 0x2a0]
movzx ecx, word [rdx + rcx*2 + 0x1d0c]
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov dword [rsp + 0x218], eax
mov eax, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x128], eax
mov eax, dword [rsp + 0x128]
cmp dword [rsp + 0x34], eax
jae 0x180053c7d
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x68]
dec eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x124]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x8f5c]
mov ecx, dword [rsp + 0x68]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0x218]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x178], eax
mov eax, dword [rsp + 0x128]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1a8], rax
mov rax, qword [rsp + 0x1a8]
mov eax, dword [rax]
cmp dword [rsp + 0x178], eax
jae 0x180053d35
mov rax, qword [rsp + 0x1a8]
mov ecx, dword [rsp + 0x178]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1a8]
mov ecx, dword [rsp + 0x68]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x1a8]
mov dword [rax + 0xc], 0
mov eax, 1
mov rcx, qword [rsp + 0x1a8]
mov word [rcx + 6], ax
mov dword [rsp + 0x104], 2
mov dword [rsp + 0x88], 0
jmp 0x180053d5d
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 4
jae 0x180054403
mov eax, dword [rsp + 0x88]
mov eax, dword [rsp + rax*4 + 0x268]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x148], rax
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x148]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180053de2
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x148]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
je 0x180053de7
jmp 0x180053d4d
mov dword [rsp + 0x3c], 2
jmp 0x180053dfb
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x134]
cmp dword [rsp + 0x3c], eax
jae 0x180053e2b
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x3c]
mov rdx, qword [rsp + 0x148]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180053e2b
jmp 0x180053df1
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x17c], eax
mov eax, dword [rsp + 0x17c]
cmp dword [rsp + 0x34], eax
jae 0x180053e56
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0xb8]
mov ecx, dword [rsp + 0x24]
mov r9d, eax
mov r8d, ecx
mov edx, dword [rsp + 0x88]
mov rcx, qword [rsp + 0x2a0]
call fcn.180051fb0
mov ecx, dword [rsp + 0x12c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb4], eax
mov eax, dword [rsp + 0xb8]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x8f5c]
mov ecx, dword [rsp + 0xa8]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0xa8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1e0], rax
mov rax, qword [rsp + 0x1e0]
mov eax, dword [rax]
cmp dword [rsp + 0x180], eax
jae 0x180053f56
mov rax, qword [rsp + 0x1e0]
mov ecx, dword [rsp + 0x180]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1e0]
mov ecx, dword [rsp + 0xa8]
mov dword [rax + 8], ecx
mov rax, qword [rsp + 0x1e0]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0xc], ecx
xor eax, eax
mov rcx, qword [rsp + 0x1e0]
mov word [rcx + 6], ax
mov eax, dword [rsp + 0xa8]
dec eax
mov dword [rsp + 0xa8], eax
cmp dword [rsp + 0xa8], 2
jae 0x180053e98
cmp dword [rsp + 0x88], 0
jne 0x180053f8b
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x104], eax
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x100], eax
jbe 0x180053fc7
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x100], eax
mov eax, dword [rsp + 0x2c]
add eax, 2
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x2c], eax
ja 0x1800543fe
mov eax, dword [rsp + 0x2c]
sub eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x2c]
sub ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x148]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x1800543fe
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x2c]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x148]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x1800543fe
mov eax, dword [rsp + 0x24]
lea rcx, str._b_b_b_b_b_b_b_v_v_v_v_v
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2a8]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x64]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xb8]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x8f5c]
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0xac]
imul rdx, rdx, 0x20
mov r8, qword [rsp + 0x2a0]
lea rdx, [r8 + rdx + 0x1d54]
mov r8d, dword [rsp + 0xb0]
movzx edx, word [rdx + r8*2]
sar edx, 4
movsxd rdx, edx
mov eax, dword [rax + rcx*4 - 8]
mov rcx, qword [rsp + 0x2a0]
add eax, dword [rcx + rdx*4 + 0x600]
mov dword [rsp + 0x220], eax
mov rcx, qword [rsp + 0x2a0]
add rcx, 0x600
mov qword [rsp + 0x260], rcx
mov edx, dword [rsp + 0x3c]
mov r8, qword [rsp + 0x148]
movzx edx, byte [r8 + rdx]
mov r8d, dword [rsp + 0x3c]
mov r9, qword [rsp + 0x60]
movzx r8d, byte [r9 + r8]
mov dword [rsp + 0x21c], r8d
mov r9d, dword [rsp + 0x3c]
mov r10d, dword [rsp + 0x2a8]
add r10d, r9d
mov r9d, r10d
shl r9d, 8
mov r10d, dword [rsp + 0x3c]
mov r11, qword [rsp + 0x60]
movzx r10d, byte [r11 + r10 - 1]
add r9d, r10d
mov r10, qword [rsp + 0x2a0]
and r9d, dword [r10 + 0x60]
mov r10, qword [rsp + 0x2a0]
mov r10d, dword [r10 + 0xb8]
movzx ecx, r10b
shl r9d, cl
mov ecx, r9d
imul ecx, ecx, 3
mov ecx, ecx
mov r9, qword [rsp + 0x2a0]
mov r9, qword [r9 + 0x68]
lea rcx, [r9 + rcx*2]
mov r9, qword [rsp + 0x260]
mov r8d, edx
mov edx, dword [rsp + 0x21c]
call fcn.1800511f0
add eax, dword [rsp + 0xb4]
mov ecx, dword [rsp + 0x220]
add eax, ecx
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xac], 5
mov eax, dword [rsp + 0xb0]
inc eax
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x64]
mov dword [rsp + 0xb0], eax
mov eax, dword [rsp + 0xac]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0xb0]
movzx eax, word [rax + rcx*2]
xor eax, 0x7ff
sar eax, 4
cdqe
mov ecx, dword [rsp + 0xac]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0x1ed4]
mov edx, dword [rsp + 0xb0]
movzx ecx, word [rcx + rdx*2]
xor ecx, 0x7ff
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax*4 + 0x600]
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x2a0]
movzx ecx, word [rdx + rcx*2 + 0x1cf4]
xor ecx, 0x7ff
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x2a0]
movzx ecx, word [rdx + rcx*2 + 0x1d0c]
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0xb4], eax
jmp 0x1800542d3
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x2c], eax
jae 0x180054303
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x148]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180054303
jmp 0x1800542c9
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x2c]
mov dword [rsp + 0x130], eax
mov eax, dword [rsp + 0x130]
cmp dword [rsp + 0x34], eax
jae 0x180054342
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x2c]
dec eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0xb0]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x8f5c]
mov ecx, dword [rsp + 0x2c]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0xb4]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x184], eax
mov eax, dword [rsp + 0x130]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1e8], rax
mov rax, qword [rsp + 0x1e8]
mov eax, dword [rax]
cmp dword [rsp + 0x184], eax
jae 0x1800543fe
mov rax, qword [rsp + 0x1e8]
mov ecx, dword [rsp + 0x184]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1e8]
mov ecx, dword [rsp + 0x2c]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x3c]
inc eax
mov rcx, qword [rsp + 0x1e8]
mov word [rcx + 6], ax
mov rax, qword [rsp + 0x1e8]
mov ecx, dword [rsp + 0x88]
mov dword [rax + 0xc], ecx
jmp 0x180053d4d
mov eax, dword [rsp + 0x134]
cmp dword [rsp + 0x8c], eax
jbe 0x180054471
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x6c], 0
jmp 0x180054436
mov eax, dword [rsp + 0x6c]
add eax, 2
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x8c], eax
jbe 0x180054450
jmp 0x18005442b
mov eax, dword [rsp + 0x6c]
mov rcx, qword [rsp + 0xf0]
mov edx, dword [rsp + 0x8c]
mov dword [rcx + rax*4], edx
mov eax, dword [rsp + 0x6c]
add eax, 2
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x104]
cmp dword [rsp + 0x8c], eax
jb 0x180054c17
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x2a0]
movzx eax, word [rcx + rax*2 + 0x1cf4]
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x188]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x224], eax
mov eax, dword [rsp + 0x8c]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x18c], eax
mov eax, dword [rsp + 0x18c]
cmp dword [rsp + 0x34], eax
jae 0x1800544ed
mov eax, dword [rsp + 0x18c]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x70], 0
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x104], eax
jbe 0x18005451a
mov eax, dword [rsp + 0x70]
add eax, 2
mov dword [rsp + 0x70], eax
jmp 0x1800544f5
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x80000
jae 0x180054546
mov qword [rsp + 0x250], 6
jmp 0x180054552
mov qword [rsp + 0x250], reloc.WS2_32.dll_select
mov eax, dword [rsp + 0x250]
mov dword [rsp + 0x190], eax
mov eax, dword [rsp + 0x190]
movzx ecx, al
mov eax, dword [rsp + 0x58]
shr eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
movzx eax, byte [rcx + rax + 0x2b54]
mov ecx, dword [rsp + 0x190]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x1a0], eax
mov eax, dword [rsp + 0x104]
mov dword [rsp + 0x44], eax
jmp 0x1800545aa
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0xb8]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x4b58]
mov ecx, dword [rsp + 0x44]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0x224]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
sub eax, 2
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0xe0], 3
jae 0x180054607
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x194], eax
jmp 0x180054612
mov dword [rsp + 0x194], 3
mov eax, dword [rsp + 0x194]
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0x58], 0x80
jae 0x180054662
mov eax, dword [rsp + 0xe0]
imul rax, rax, 0x200
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x14d4]
mov ecx, dword [rsp + 0x58]
and ecx, 0x7f
mov ecx, ecx
mov eax, dword [rax + rcx*4]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
jmp 0x1800546ae
mov eax, dword [rsp + 0xe0]
imul rax, rax, 0x100
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x10d4]
mov ecx, dword [rsp + 0x1a0]
mov edx, dword [rsp + 0x58]
and edx, 0xf
mov edx, edx
mov eax, dword [rax + rcx*4]
mov rcx, qword [rsp + 0x2a0]
add eax, dword [rcx + rdx*4 + 0x1094]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov eax, eax
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1f0], rax
mov rax, qword [rsp + 0x1f0]
mov eax, dword [rax]
cmp dword [rsp + 0x4c], eax
jae 0x180054725
mov rax, qword [rsp + 0x1f0]
mov ecx, dword [rsp + 0x4c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1f0]
mov ecx, dword [rsp + 0x44]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x58]
add eax, 4
mov rcx, qword [rsp + 0x1f0]
mov dword [rcx + 0xc], eax
xor eax, eax
mov rcx, qword [rsp + 0x1f0]
mov word [rcx + 6], ax
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x44], eax
jne 0x180054c12
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
dec rax
mov qword [rsp + 0x200], rax
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x108], eax
jbe 0x180054794
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0x30]
add eax, 2
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x30], eax
ja 0x180054b82
mov eax, dword [rsp + 0x30]
sub eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x30]
sub ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x200]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180054b82
mov eax, dword [rsp + 0x30]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x30]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x200]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180054b82
jmp 0x180054818
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x30], eax
jae 0x180054848
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x60]
movzx eax, byte [rcx + rax]
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x200]
movzx ecx, byte [rdx + rcx]
cmp eax, ecx
jne 0x180054848
jmp 0x18005480e
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x30]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
lea rcx, str._a_a_a_a_a_a_a_n_n_n_n_n
movzx eax, byte [rcx + rax]
mov dword [rsp + 0xbc], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x2a8]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x64]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xbc]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0xc0]
movzx eax, word [rax + rcx*2]
sar eax, 4
cdqe
mov rcx, qword [rsp + 0x2a0]
mov eax, dword [rcx + rax*4 + 0x600]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov rax, qword [rsp + 0x2a0]
add rax, 0x600
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x200]
movzx ecx, byte [rdx + rcx]
mov dword [rsp + 0x208], ecx
mov edx, dword [rsp + 0x44]
mov r8, qword [rsp + 0x60]
movzx edx, byte [r8 + rdx]
mov r8d, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x2a8]
add r9d, r8d
mov r8d, r9d
shl r8d, 8
mov r9d, dword [rsp + 0x44]
mov r10, qword [rsp + 0x60]
movzx r9d, byte [r10 + r9 - 1]
add r8d, r9d
mov r9, qword [rsp + 0x2a0]
and r8d, dword [r9 + 0x60]
mov r9, qword [rsp + 0x2a0]
mov r9d, dword [r9 + 0xb8]
movzx ecx, r9b
shl r8d, cl
mov ecx, r8d
imul ecx, ecx, 3
mov ecx, ecx
mov r8, qword [rsp + 0x2a0]
mov r8, qword [r8 + 0x68]
lea rcx, [r8 + rcx*2]
mov r9, rax
mov eax, dword [rsp + 0x208]
mov r8d, eax
call fcn.1800511f0
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0xbc], 4
mov eax, dword [rsp + 0xc0]
inc eax
mov rcx, qword [rsp + 0x2a0]
and eax, dword [rcx + 0x64]
mov dword [rsp + 0xc0], eax
mov eax, dword [rsp + 0xbc]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x1d54]
mov ecx, dword [rsp + 0xc0]
movzx eax, word [rax + rcx*2]
xor eax, 0x7ff
sar eax, 4
cdqe
mov ecx, dword [rsp + 0xbc]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x2a0]
lea rcx, [rdx + rcx + 0x1ed4]
mov edx, dword [rsp + 0xc0]
movzx ecx, word [rcx + rdx*2]
xor ecx, 0x7ff
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
mov eax, dword [rdx + rax*4 + 0x600]
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0x2a0]
movzx ecx, word [rdx + rcx*2 + 0x1cf4]
xor ecx, 0x7ff
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0xbc]
mov rdx, qword [rsp + 0x2a0]
movzx ecx, word [rdx + rcx*2 + 0x1d0c]
sar ecx, 4
movsxd rcx, ecx
mov rdx, qword [rsp + 0x2a0]
add eax, dword [rdx + rcx*4 + 0x600]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
add eax, dword [rsp + 0x30]
mov dword [rsp + 0x138], eax
mov eax, dword [rsp + 0x138]
cmp dword [rsp + 0x34], eax
jae 0x180054ac9
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x30]
dec eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xc0]
imul rax, rax, 0x440
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0x8f5c]
mov ecx, dword [rsp + 0x30]
mov eax, dword [rax + rcx*4 - 8]
mov ecx, dword [rsp + 0x4c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x198], eax
mov eax, dword [rsp + 0x138]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
lea rax, [rcx + rax + 0xd35c]
mov qword [rsp + 0x1f8], rax
mov rax, qword [rsp + 0x1f8]
mov eax, dword [rax]
cmp dword [rsp + 0x198], eax
jae 0x180054b82
mov rax, qword [rsp + 0x1f8]
mov ecx, dword [rsp + 0x198]
mov dword [rax], ecx
mov rax, qword [rsp + 0x1f8]
mov ecx, dword [rsp + 0x30]
mov dword [rax + 8], ecx
mov eax, dword [rsp + 0x44]
inc eax
mov rcx, qword [rsp + 0x1f8]
mov word [rcx + 6], ax
mov eax, dword [rsp + 0x58]
add eax, 4
mov rcx, qword [rsp + 0x1f8]
mov dword [rcx + 0xc], eax
mov eax, dword [rsp + 0x70]
add eax, 2
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x6c]
cmp dword [rsp + 0x70], eax
jne 0x180054b99
jmp 0x180054c17
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4 + 4]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0x80000
jae 0x180054bc5
mov qword [rsp + 0x258], 6
jmp 0x180054bd1
mov qword [rsp + 0x258], reloc.WS2_32.dll_select
mov eax, dword [rsp + 0x258]
mov dword [rsp + 0x19c], eax
mov eax, dword [rsp + 0x19c]
movzx ecx, al
mov eax, dword [rsp + 0x58]
shr eax, cl
mov eax, eax
mov rcx, qword [rsp + 0x2a0]
movzx eax, byte [rcx + rax + 0x2b54]
mov ecx, dword [rsp + 0x19c]
lea eax, [rax + rcx*2]
mov dword [rsp + 0x1a0], eax
jmp 0x1800545a0
jmp 0x180052f6f
mov eax, dword [rsp + 0x34]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x2a0]
mov dword [rcx + rax + 0xd35c], 0x40000000
mov eax, dword [rsp + 0x34]
dec eax
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jne 0x180054c1c
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x2a0]
call fcn.180052110
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.1800336f0
add rsp, 0x298
ret