Function at 0x140112630
Capabilities:
Contain obfuscated stackstrings
Encrypt data using aes
Reference aes constants

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x148
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x50], 0x79
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x50], 0x45
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x50], reloc.WS2_32.dll_WSASetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x50], WSASetLastError
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x50], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x50], 0x20
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x50], WSAGetLastError
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x50], 0x65
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x50], 0x79
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x50], 0
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x60], WSASetLastError
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x60], WSACleanup
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x60], 0x68
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x60], 0x49
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x60], WSACleanup
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x60], 0x63
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x60], 0x20
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x60], 0x79
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x60], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x60], 0x20
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x60], WSASetLastError
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x60], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x60], 0x65
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x60], WSAGetLastError
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x60], 0x65
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x60], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x60], 0
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x60], 0x65
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x60], WSASetLastError
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x60], 0x67
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x60], 0x63
mov eax, 1
imul rax, rax, 0xd
mov byte [rsp + rax + 0x78], 0x63
mov eax, 1
imul rax, rax, 0xa
mov byte [rsp + rax + 0x78], 0x62
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x78], 0x63
mov eax, 1
imul rax, rax, 0x15
mov byte [rsp + rax + 0x78], 0x68
mov eax, 1
imul rax, rax, 0xc
mov byte [rsp + rax + 0x78], reloc.WS2_32.dll_WSAGetLastError
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x78], 0x49
mov eax, 1
imul rax, rax, 4
mov byte [rsp + rax + 0x78], WSACleanup
mov eax, 1
imul rax, rax, 0x12
mov byte [rsp + rax + 0x78], WSASetLastError
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x78], WSASetLastError
mov eax, 1
imul rax, rax, 0x16
mov byte [rsp + rax + 0x78], 0
mov eax, 1
imul rax, rax, 0x11
mov byte [rsp + rax + 0x78], 0x65
mov eax, 1
imul rax, rax, 7
mov byte [rsp + rax + 0x78], 0x63
mov eax, 1
imul rax, rax, 0xe
mov byte [rsp + rax + 0x78], WSAGetLastError
mov eax, 1
imul rax, rax, 9
mov byte [rsp + rax + 0x78], 0x20
mov eax, 1
imul rax, rax, 6
mov byte [rsp + rax + 0x78], 0x65
mov eax, 1
imul rax, rax, 0x14
mov byte [rsp + rax + 0x78], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0xf
mov byte [rsp + rax + 0x78], 0x20
mov eax, 1
imul rax, rax, 5
mov byte [rsp + rax + 0x78], WSACleanup
mov eax, 1
imul rax, rax, 8
mov byte [rsp + rax + 0x78], reloc.WS2_32.dll_WSACleanup
mov eax, 1
imul rax, rax, 0x10
mov byte [rsp + rax + 0x78], WSASetLastError
mov eax, 1
imul rax, rax, 0xb
mov byte [rsp + rax + 0x78], WSASetLastError
mov eax, 1
imul rax, rax, 0x13
mov byte [rsp + rax + 0x78], 0x67
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x78], reloc.WS2_32.dll_WSAGetLastError
cmp qword [rsp + 0x168], 0
jne 0x140112972
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xf0]
call fcn.140115b60
lea rdx, [0x1401dde60]
lea rcx, [rsp + 0xf0]
call fcn.140147a0c
cmp dword [rsp + 0x178], 0x10
je 0x1401129b6
cmp dword [rsp + 0x178], 0x18
je 0x1401129b6
cmp dword [rsp + 0x178], 0x20
je 0x1401129b6
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x108]
call fcn.140115b60
lea rdx, [0x1401dde60]
lea rcx, [rsp + 0x108]
call fcn.140147a0c
cmp dword [rsp + 0x180], 0x10
je 0x1401129fa
cmp dword [rsp + 0x180], 0x18
je 0x1401129fa
cmp dword [rsp + 0x180], 0x20
je 0x1401129fa
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x120]
call fcn.140115b60
lea rdx, [0x1401dde60]
lea rcx, [rsp + 0x120]
call fcn.140147a0c
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x178]
mov dword [rax + 0x3cc], ecx
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x180]
mov dword [rax + 0x3d0], ecx
mov rax, qword [rsp + 0x160]
movsxd rax, dword [rax + 0x3d0]
mov rcx, qword [rsp + 0x160]
add rcx, 0x3d8
mov rdi, rcx
mov rsi, qword [rsp + 0x170]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x160]
movsxd rax, dword [rax + 0x3d0]
mov rcx, qword [rsp + 0x160]
add rcx, 0x3f8
mov rdi, rcx
mov rsi, qword [rsp + 0x170]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3cc]
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x98], 0x10
je 0x140112aae
cmp dword [rsp + 0x98], 0x18
je 0x140112b1a
jmp 0x140112b5a
mov rax, qword [rsp + 0x160]
cmp dword [rax + 0x3d0], 0x10
jne 0x140112acc
mov dword [rsp + 0xa0], 0xa
jmp 0x140112b03
mov rax, qword [rsp + 0x160]
cmp dword [rax + 0x3d0], 0x18
jne 0x140112aea
mov dword [rsp + 0x9c], select
jmp 0x140112af5
mov dword [rsp + 0x9c], select
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0xa0]
mov dword [rax + 0x3d4], ecx
jmp 0x140112b6c
mov rax, qword [rsp + 0x160]
cmp dword [rax + 0x3d0], 0x20
je 0x140112b38
mov dword [rsp + 0xa4], select
jmp 0x140112b43
mov dword [rsp + 0xa4], select
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0xa4]
mov dword [rax + 0x3d4], ecx
jmp 0x140112b6c
mov rax, qword [rsp + 0x160]
mov dword [rax + 0x3d4], select
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x24], 0
jmp 0x140112b9b
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3d4]
cmp dword [rsp + 0x24], eax
jg 0x140112bf3
mov dword [rsp + 0x20], 0
jmp 0x140112bc3
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jge 0x140112bf1
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rsp + 0x20]
mov dword [rax + rcx*4], 0
jmp 0x140112bb9
jmp 0x140112b91
mov dword [rsp + 0x24], 0
jmp 0x140112c07
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3d4]
cmp dword [rsp + 0x24], eax
jg 0x140112c62
mov dword [rsp + 0x20], 0
jmp 0x140112c2f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jge 0x140112c60
movsxd rax, dword [rsp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0x1ec]
movsxd rcx, dword [rsp + 0x20]
mov dword [rax + rcx*4], 0
jmp 0x140112c25
jmp 0x140112bfd
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3d4]
inc eax
imul eax, dword [rsp + 0x34]
mov dword [rsp + 0x94], eax
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x160]
add rax, 0x418
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x168]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x24], 0
jmp 0x140112ccd
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x24], eax
jge 0x140112d88
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
shl eax, 0x18
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
shl eax, 0x10
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
shl eax, 8
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
movzx eax, byte [rax]
mov rcx, qword [rsp + 0x48]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x48]
mov dword [rcx], eax
mov rax, qword [rsp + 0x38]
inc rax
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x48]
add rax, 4
mov qword [rsp + 0x48], rax
jmp 0x140112cc3
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
jmp 0x140112dae
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jge 0x140112ea7
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x28], eax
jge 0x140112ea7
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xb0], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0xc]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xb0]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rsp + 0xb8]
mov dword [rdx + rax*4], ecx
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
mov rcx, qword [rsp + 0x160]
mov ecx, dword [rcx + 0x3d4]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0x1ec]
mov qword [rsp + 0xc8], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xc0]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rsp + 0xc8]
mov dword [rdx + rax*4], ecx
jmp 0x140112d9a
mov dword [rsp + 0x90], 0
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x28], eax
jge 0x140113340
mov eax, dword [rsp + 0x30]
dec eax
cdqe
mov rcx, qword [rsp + 0x160]
mov eax, dword [rcx + rax*4 + 0x418]
mov dword [rsp + 0x2c], eax
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rsp + 0x2c]
sar ecx, 0x10
and ecx, 0xff
movsxd rcx, ecx
lea rdx, str.cw
movsx ecx, byte [rdx + rcx]
and ecx, 0xff
shl ecx, 0x18
mov edx, dword [rsp + 0x2c]
sar edx, 8
and edx, 0xff
movsxd rdx, edx
lea rdi, str.cw
movsx edx, byte [rdi + rdx]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [rsp + 0x2c]
and edx, 0xff
movsxd rdx, edx
lea rdi, str.cw
movsx edx, byte [rdi + rdx]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [rsp + 0x2c]
sar edx, 0x18
and edx, 0xff
movsxd rdx, edx
lea rdi, str.cw
movsx edx, byte [rdi + rdx]
and edx, 0xff
xor ecx, edx
movsxd rdx, dword [rsp + 0x90]
lea rdi, [0x1401bdc30]
movsx edx, byte [rdi + rdx]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov rdx, qword [rsp + 0x160]
mov eax, dword [rdx + rax + 0x418]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x160]
mov dword [rdx + rcx + 0x418], eax
mov eax, dword [rsp + 0x90]
inc eax
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x30], 8
je 0x140113048
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x24], eax
jge 0x140113043
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x160]
mov ecx, dword [rdi + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x160]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140112fe5
jmp 0x140113224
mov dword [rsp + 0x24], 1
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
cmp dword [rsp + 0x24], eax
jge 0x1401130bb
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x160]
mov ecx, dword [rdi + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x160]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x140113058
mov eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
dec eax
cdqe
mov rcx, qword [rsp + 0x160]
mov eax, dword [rcx + rax*4 + 0x418]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
cdqe
mov ecx, dword [rsp + 0x2c]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, str.cw
movsx ecx, byte [rdx + rcx]
and ecx, 0xff
mov edx, dword [rsp + 0x2c]
sar edx, 8
and edx, 0xff
movsxd rdx, edx
lea rdi, str.cw
movsx edx, byte [rdi + rdx]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [rsp + 0x2c]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea rdi, str.cw
movsx edx, byte [rdi + rdx]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [rsp + 0x2c]
sar edx, 0x18
and edx, 0xff
movsxd rdx, edx
lea rdi, str.cw
movsx edx, byte [rdi + rdx]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov rdx, qword [rsp + 0x160]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
mov dword [rsp + 0xa8], eax
mov eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rsp + 0x160]
mov edx, dword [rsp + 0xa8]
mov dword [rcx + rax*4 + 0x418], edx
mov eax, dword [rsp + 0x30]
cdq
sub eax, edx
sar eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x24], eax
jge 0x140113224
movsxd rax, dword [rsp + 0x24]
movsxd rcx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x160]
mov rdi, qword [rsp + 0x160]
mov ecx, dword [rdi + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x160]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
jmp 0x1401131c6
mov dword [rsp + 0x20], 0
jmp 0x140113242
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x20], eax
jge 0x14011333b
mov eax, dword [rsp + 0x94]
cmp dword [rsp + 0x28], eax
jge 0x14011333b
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xd0], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0xc]
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xd0]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rsp + 0xd8]
mov dword [rdx + rax*4], ecx
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
mov rcx, qword [rsp + 0x160]
mov ecx, dword [rcx + 0x3d4]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0x1ec]
mov qword [rsp + 0xe8], rax
mov eax, dword [rsp + 0x28]
cdq
idiv dword [rsp + 0x34]
mov eax, edx
cdqe
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0xe0]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rsp + 0xe8]
mov dword [rdx + rax*4], ecx
jmp 0x14011322e
jmp 0x140112eb2
mov dword [rsp + 0x40], 1
jmp 0x140113354
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x160]
mov eax, dword [rax + 0x3d4]
cmp dword [rsp + 0x40], eax
jge 0x140113443
mov dword [rsp + 0x20], 0
jmp 0x140113380
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jge 0x14011343e
movsxd rax, dword [rsp + 0x40]
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x160]
lea rax, [rcx + rax + 0x1ec]
movsxd rcx, dword [rsp + 0x20]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x2c]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x1401bcc30]
mov edx, dword [rsp + 0x2c]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea rdi, [0x1401bd030]
mov edx, dword [rdi + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rsp + 0x2c]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1401bd430]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rsp + 0x2c]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x1401bd830]
xor eax, dword [rdx + rcx*4]
movsxd rcx, dword [rsp + 0x40]
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x160]
lea rcx, [rdx + rcx + 0x1ec]
movsxd rdx, dword [rsp + 0x20]
mov dword [rcx + rdx*4], eax
jmp 0x140113376
jmp 0x14011334a
mov rax, qword [rsp + 0x160]
mov byte [rax + 8], 1
add rsp, 0x148
pop rdi
pop rsi
ret