Function at 0x180052200
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 0x180052269
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x2a0]
call fcn.180051d70
mov dword [rsp + 0x74], eax
jmp 0x18005228a
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 0x1800522c2
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0xb4], 0xffffffff
mov eax, 1
jmp 0x180054b99
cmp dword [rsp + 0xf8], 0x111
jbe 0x1800522da
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 0x18005231a
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 4
jae 0x180052463
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 0x1800523bd
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 0x1800523d1
mov eax, dword [rsp + 0x40]
mov dword [rsp + rax*4 + 0x278], 0
jmp 0x180052310
mov dword [rsp + 0x90], 2
jmp 0x1800523ee
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xf8]
cmp dword [rsp + 0x90], eax
jae 0x18005242a
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 0x18005242a
jmp 0x1800523de
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 0x18005245e
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0xc4], eax
jmp 0x180052310
mov eax, dword [rsp + 0xc4]
mov rcx, qword [rsp + 0x2a0]
mov ecx, dword [rcx + 0x48]
cmp dword [rsp + rax*4 + 0x278], ecx
jb 0x1800524f6
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 0x180054b99
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 0x180052586
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 0x180054b99
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 0x1800525de
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 2
jae 0x18005260f
movzx eax, byte [rsp + 0x38]
movzx ecx, byte [rsp + 0x48]
cmp eax, ecx
je 0x18005260f
mov rax, qword [rsp + 0x2a0]
mov dword [rax + 0xb4], 0xffffffff
mov eax, 1
jmp 0x180054b99
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 0x1800526e3
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.180051130
mov dword [rsp + 0x1b0], eax
jmp 0x18005270f
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.1800510a0
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 0x18005298a
mov eax, 4
imul rax, rax, 0
cmp dword [rsp + rax + 0x278], 0
jne 0x18005298a
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 0x180052953
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 0x18005298a
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 0x180054b99
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 0x180052a92
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 4
jae 0x180052bca
mov eax, dword [rsp + 0x40]
mov eax, dword [rsp + rax*4 + 0x278]
mov dword [rsp + 0x94], eax
cmp dword [rsp + 0x94], 2
jae 0x180052abb
jmp 0x180052a88
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.180051ef0
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 0x180052ba7
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 0x180052af6
jmp 0x180052a88
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 0x180052ea7
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 0x180052c48
mov dword [rsp + 0x50], 2
jmp 0x180052c6a
mov eax, dword [rsp + 0x7c]
mov rcx, qword [rsp + 0xf0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x50], eax
jbe 0x180052c6a
mov eax, dword [rsp + 0x7c]
add eax, 2
mov dword [rsp + 0x7c], eax
jmp 0x180052c48
jmp 0x180052c76
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 0x180052cd9
mov eax, dword [rsp + 0x50]
sub eax, 2
mov dword [rsp + 0x1c4], eax
jmp 0x180052ce4
mov dword [rsp + 0x1c4], 3
mov eax, dword [rsp + 0x1c4]
mov dword [rsp + 0x150], eax
cmp dword [rsp + 0xa0], 0x80
jae 0x180052d3d
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 0x180052e03
cmp dword [rsp + 0xa0], 0x80000
jae 0x180052d58
mov qword [rsp + 0x240], 6
jmp 0x180052d64
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 0x180052e73
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 0x180052ea2
mov eax, dword [rsp + 0x7c]
add eax, 2
mov dword [rsp + 0x7c], eax
mov eax, dword [rsp + 0x110]
cmp dword [rsp + 0x7c], eax
jne 0x180052ea2
jmp 0x180052ea7
jmp 0x180052c6c
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 0x180052ec8
jmp 0x180054b5c
cmp dword [rsp + 0x28], 0x7c0
jb 0x180052fe4
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 0x180052f1e
mov eax, dword [rsp + 0xd8]
inc eax
mov dword [rsp + 0xd8], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0xd8], eax
ja 0x180052f7a
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 0x180052f78
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0x158], eax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x118], eax
jmp 0x180052f0e
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 0x180052fd4
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 0x180054b5c
lea rdx, [rsp + 0x6c]
mov rcx, qword [rsp + 0x2a0]
call fcn.180051d70
mov dword [rsp + 0x8c], eax
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x8c], eax
jb 0x180053037
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 0x180054b5c
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 0x1800530e9
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 0x1800530d1
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 0x1800530e4
mov eax, dword [rsp + 0x24]
lea rcx, [0x18009c8d0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x24], eax
jmp 0x180053427
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 0x180053171
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 0x18005316f
cmp dword [rsp + 0x80], 4
jae 0x180053159
mov dword [rsp + 0x15c], 8
jmp 0x180053164
mov dword [rsp + 0x15c], 7
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x24], eax
jmp 0x1800531c2
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 0x1800531af
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 0x1800531c2
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 0x1800533ac
cmp dword [rsp + 0x80], 0
jne 0x1800532a8
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 0x1800533aa
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 0x180053348
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 0x1800533aa
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 0x180053427
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 0x18005361b
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
je 0x18005362e
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x84], eax
jbe 0x18005363e
mov dword [rsp + 0x84], 0
jmp 0x180053766
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 0x1800536c6
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.180051130
mov dword [rsp + 0x168], eax
jmp 0x1800536f2
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.1800510a0
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 0x180053766
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 0x1800537dc
mov eax, dword [rsp + 0x16c]
mov dword [rsp + 0x54], eax
cmp dword [rsp + 0x24], 7
jae 0x1800538fd
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
jne 0x1800538fd
mov rax, qword [rsp + 0x98]
mov eax, dword [rax]
cmp dword [rsp + 0x12c], eax
jae 0x1800538fd
mov rax, qword [rsp + 0x98]
cmp dword [rax + 8], 2
jb 0x180053830
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0xc], 0
je 0x1800538fd
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 0x1800538fd
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 0x180053909
jmp 0x180052eaf
mov rax, qword [rsp + 0x2a0]
mov eax, dword [rax + 0x48]
cmp dword [rsp + 0x54], eax
ja 0x180053927
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x174], eax
jmp 0x180053939
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 0x180053c75
cmp dword [rsp + 0x84], 0
je 0x180053c75
movzx eax, byte [rsp + 0x39]
movzx ecx, byte [rsp + 0x20]
cmp eax, ecx
je 0x180053c75
cmp dword [rsp + 0x54], 2
jbe 0x180053c75
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 0x180053c75
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 0x180053c75
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 0x180053a2d
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x120], eax
mov dword [rsp + 0x68], 3
jmp 0x180053a41
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x68], eax
jae 0x180053a71
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 0x180053a71
jmp 0x180053a37
mov eax, dword [rsp + 0x24]
lea rcx, [0x18009c8d0]
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 0x180053bbd
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 0x180053c75
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 0x180053c9d
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
cmp dword [rsp + 0x88], 4
jae 0x180054343
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 0x180053d22
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 0x180053d27
jmp 0x180053c8d
mov dword [rsp + 0x3c], 2
jmp 0x180053d3b
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x134]
cmp dword [rsp + 0x3c], eax
jae 0x180053d6b
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 0x180053d6b
jmp 0x180053d31
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 0x180053d96
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.180051ef0
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 0x180053e96
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 0x180053dd8
cmp dword [rsp + 0x88], 0
jne 0x180053ecb
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 0x180053f07
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 0x18005433e
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 0x18005433e
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 0x18005433e
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.180051130
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 0x180054213
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x100]
cmp dword [rsp + 0x2c], eax
jae 0x180054243
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 0x180054243
jmp 0x180054209
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 0x180054282
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 0x18005433e
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 0x180053c8d
mov eax, dword [rsp + 0x134]
cmp dword [rsp + 0x8c], eax
jbe 0x1800543b1
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0x6c], 0
jmp 0x180054376
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 0x180054390
jmp 0x18005436b
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 0x180054b57
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 0x18005442d
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 0x18005445a
mov eax, dword [rsp + 0x70]
add eax, 2
mov dword [rsp + 0x70], eax
jmp 0x180054435
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 0x180054486
mov qword [rsp + 0x250], 6
jmp 0x180054492
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 0x1800544ea
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 0x180054547
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x194], eax
jmp 0x180054552
mov dword [rsp + 0x194], 3
mov eax, dword [rsp + 0x194]
mov dword [rsp + 0xe0], eax
cmp dword [rsp + 0x58], 0x80
jae 0x1800545a2
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 0x1800545ee
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 0x180054665
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 0x180054b52
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 0x1800546d4
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 0x180054ac2
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 0x180054ac2
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 0x180054ac2
jmp 0x180054758
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x108]
cmp dword [rsp + 0x30], eax
jae 0x180054788
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 0x180054788
jmp 0x18005474e
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.180051130
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 0x180054a09
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 0x180054ac2
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 0x180054ad9
jmp 0x180054b57
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 0x180054b05
mov qword [rsp + 0x258], 6
jmp 0x180054b11
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 0x1800544e0
jmp 0x180052eaf
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 0x180054b5c
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x2a0]
call fcn.180052050
mov rcx, qword [rsp + 0x288]
xor rcx, rsp
call fcn.180033630
add rsp, 0x298
ret