Function at 0x140001f0a
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x14001d450
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x258
lea rbp, [rsp + 0x20]
mov rdi, rsp
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x278]
lea rcx, [0x1402ef029]
call fcn.14000236f
cmp qword [rbp + 0x258], 0
jne 0x14001d4a4
jmp 0x14001df17
cmp dword [rbp + 0x268], 0x10
je 0x14001d4c4
cmp dword [rbp + 0x268], 0x18
je 0x14001d4c4
cmp dword [rbp + 0x268], 0x20
je 0x14001d4c4
jmp 0x14001df17
cmp dword [rbp + 0x270], 0x10
je 0x14001d4e4
cmp dword [rbp + 0x270], 0x18
je 0x14001d4e4
cmp dword [rbp + 0x270], 0x20
je 0x14001d4e4
jmp 0x14001df17
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x268]
mov dword [rax + 0x3cc], ecx
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x270]
mov dword [rax + 0x3d0], ecx
mov rax, qword [rbp + 0x250]
movsxd rax, dword [rax + 0x3d0]
mov rcx, qword [rbp + 0x250]
add rcx, 0x3d8
mov r8, rax
mov rdx, qword [rbp + 0x260]
call fcn.1400081fc
mov rax, qword [rbp + 0x250]
movsxd rax, dword [rax + 0x3d0]
mov rcx, qword [rbp + 0x250]
add rcx, 0x3f8
mov r8, rax
mov rdx, qword [rbp + 0x260]
call fcn.1400081fc
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3cc]
mov dword [rbp + 0x214], eax
cmp dword [rbp + 0x214], 0x10
je 0x14001d58a
cmp dword [rbp + 0x214], 0x18
je 0x14001d5ed
jmp 0x14001d628
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x10
jne 0x14001d5a6
mov dword [rbp + 0x214], 0xa
jmp 0x14001d5d8
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x18
jne 0x14001d5c2
mov dword [rbp + 0x218], reloc.WS2_32.dll_inet_ntoa
jmp 0x14001d5cc
mov dword [rbp + 0x218], 0xe
mov eax, dword [rbp + 0x218]
mov dword [rbp + 0x214], eax
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x214]
mov dword [rax + 0x3d4], ecx
jmp 0x14001d639
mov rax, qword [rbp + 0x250]
cmp dword [rax + 0x3d0], 0x20
je 0x14001d609
mov dword [rbp + 0x214], reloc.WS2_32.dll_inet_ntoa
jmp 0x14001d613
mov dword [rbp + 0x214], 0xe
mov rax, qword [rbp + 0x250]
mov ecx, dword [rbp + 0x214]
mov dword [rax + 0x3d4], ecx
jmp 0x14001d639
mov rax, qword [rbp + 0x250]
mov dword [rax + 0x3d4], 0xe
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d0]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 4], eax
mov dword [rbp + 0x24], 0
jmp 0x14001d663
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x24], eax
jg 0x14001d6b1
mov dword [rbp + 0x44], 0
jmp 0x14001d686
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x14001d6af
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
movsxd rcx, dword [rbp + 0x44]
mov dword [rax + rcx*4], 0
jmp 0x14001d67e
jmp 0x14001d65b
mov dword [rbp + 0x24], 0
jmp 0x14001d6c2
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x24], eax
jg 0x14001d713
mov dword [rbp + 0x44], 0
jmp 0x14001d6e5
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x14001d711
movsxd rax, dword [rbp + 0x24]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
movsxd rcx, dword [rbp + 0x44]
mov dword [rax + rcx*4], 0
jmp 0x14001d6dd
jmp 0x14001d6ba
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
inc eax
imul eax, dword [rbp + 4]
mov dword [rbp + 0x64], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3cc]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rbp + 0x84], eax
mov rax, qword [rbp + 0x250]
add rax, 0x418
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x258]
mov qword [rbp + 0xc8], rax
mov dword [rbp + 0x24], 0
jmp 0x14001d778
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x14001d85e
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
shl eax, 0x18
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
shl eax, 0x10
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
shl eax, 8
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xc8]
movzx eax, byte [rax]
mov rcx, qword [rbp + 0xa8]
mov ecx, dword [rcx]
or ecx, eax
mov eax, ecx
mov rcx, qword [rbp + 0xa8]
mov dword [rcx], eax
mov rax, qword [rbp + 0xc8]
inc rax
mov qword [rbp + 0xc8], rax
mov rax, qword [rbp + 0xa8]
add rax, 4
mov qword [rbp + 0xa8], rax
jmp 0x14001d770
mov dword [rbp + 0xe4], 0
mov dword [rbp + 0x44], 0
jmp 0x14001d887
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x44], eax
jge 0x14001d974
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x14001d974
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x3d4]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
jmp 0x14001d871
mov dword [rbp + 0x124], 0
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x14001ddfc
mov eax, dword [rbp + 0x84]
dec eax
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x418]
mov dword [rbp + 0x104], eax
mov eax, 4
imul rax, rax, 0
mov ecx, dword [rbp + 0x104]
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 [rbp + 0x104]
sar edx, 8
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [rbp + 0x104]
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [rbp + 0x104]
sar edx, 0x18
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
xor ecx, edx
movsxd rdx, dword [rbp + 0x124]
lea r8, [0x140235120]
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov rdx, qword [rbp + 0x250]
mov eax, dword [rdx + rax + 0x418]
xor eax, ecx
mov ecx, 4
imul rcx, rcx, 0
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx + 0x418], eax
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
cmp dword [rbp + 0x84], 8
je 0x14001db14
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x44], 0
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x14001db0f
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x250]
mov ecx, dword [r8 + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x14001dab9
jmp 0x14001dceb
mov dword [rbp + 0x24], 1
mov dword [rbp + 0x44], 0
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
cmp dword [rbp + 0x24], eax
jge 0x14001db7d
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x250]
mov ecx, dword [r8 + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x14001db22
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
dec eax
cdqe
mov rcx, qword [rbp + 0x250]
mov eax, dword [rcx + rax*4 + 0x418]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
cdqe
mov ecx, dword [rbp + 0x104]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, str.cw
movsx ecx, byte [rdx + rcx]
and ecx, 0xff
mov edx, dword [rbp + 0x104]
sar edx, 8
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 8
xor ecx, edx
mov edx, dword [rbp + 0x104]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x10
xor ecx, edx
mov edx, dword [rbp + 0x104]
sar edx, 0x18
and edx, 0xff
movsxd rdx, edx
lea r8, str.cw
movsx edx, byte [r8 + rdx]
and edx, 0xff
shl edx, 0x18
xor ecx, edx
mov rdx, qword [rbp + 0x250]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
mov dword [rbp + 0x214], eax
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
cdqe
mov rcx, qword [rbp + 0x250]
mov edx, dword [rbp + 0x214]
mov dword [rcx + rax*4 + 0x418], edx
mov eax, dword [rbp + 0x84]
cdq
sub eax, edx
sar eax, 1
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x24], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x24], eax
jge 0x14001dceb
movsxd rax, dword [rbp + 0x24]
movsxd rcx, dword [rbp + 0x44]
mov rdx, qword [rbp + 0x250]
mov r8, qword [rbp + 0x250]
mov ecx, dword [r8 + rcx*4 + 0x418]
mov eax, dword [rdx + rax*4 + 0x418]
xor eax, ecx
movsxd rcx, dword [rbp + 0x24]
mov rdx, qword [rbp + 0x250]
mov dword [rdx + rcx*4 + 0x418], eax
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0x24]
inc eax
mov dword [rbp + 0x24], eax
jmp 0x14001dc95
mov dword [rbp + 0x44], 0
jmp 0x14001dd0a
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 0xe4]
inc eax
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x44], eax
jge 0x14001ddf7
mov eax, dword [rbp + 0x64]
cmp dword [rbp + 0xe4], eax
jge 0x14001ddf7
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0xc]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
movsxd rax, dword [rbp + 0x44]
mov qword [rbp + 0x218], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov rcx, qword [rbp + 0x250]
mov ecx, dword [rcx + 0x3d4]
sub ecx, eax
mov eax, ecx
cdqe
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
mov qword [rbp + 0x220], rax
mov eax, dword [rbp + 0xe4]
cdq
idiv dword [rbp + 4]
mov eax, edx
cdqe
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x218]
mov ecx, dword [rcx + rdx*4 + 0x418]
mov rdx, qword [rbp + 0x220]
mov dword [rdx + rax*4], ecx
jmp 0x14001dcf4
jmp 0x14001d97e
mov dword [rbp + 0x144], 1
jmp 0x14001de16
mov eax, dword [rbp + 0x144]
inc eax
mov dword [rbp + 0x144], eax
mov rax, qword [rbp + 0x250]
mov eax, dword [rax + 0x3d4]
cmp dword [rbp + 0x144], eax
jge 0x14001df0c
mov dword [rbp + 0x44], 0
jmp 0x14001de40
mov eax, dword [rbp + 0x44]
inc eax
mov dword [rbp + 0x44], eax
mov eax, dword [rbp + 4]
cmp dword [rbp + 0x44], eax
jge 0x14001df07
movsxd rax, dword [rbp + 0x144]
imul rax, rax, 0x20
mov rcx, qword [rbp + 0x250]
lea rax, [rcx + rax + 0x1ec]
movsxd rcx, dword [rbp + 0x44]
mov eax, dword [rax + rcx*4]
mov dword [rbp + 0x104], eax
mov eax, dword [rbp + 0x104]
sar eax, 0x18
and eax, 0xff
cdqe
lea rcx, [0x140234120]
mov edx, dword [rbp + 0x104]
sar edx, 0x10
and edx, 0xff
movsxd rdx, edx
lea r8, [0x140234520]
mov edx, dword [r8 + rdx*4]
mov eax, dword [rcx + rax*4]
xor eax, edx
mov ecx, dword [rbp + 0x104]
sar ecx, 8
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140234920]
xor eax, dword [rdx + rcx*4]
mov ecx, dword [rbp + 0x104]
and ecx, 0xff
movsxd rcx, ecx
lea rdx, [0x140234d20]
xor eax, dword [rdx + rcx*4]
movsxd rcx, dword [rbp + 0x144]
imul rcx, rcx, 0x20
mov rdx, qword [rbp + 0x250]
lea rcx, [rdx + rcx + 0x1ec]
movsxd rdx, dword [rbp + 0x44]
mov dword [rcx + rdx*4], eax
jmp 0x14001de38
jmp 0x14001de08
mov rax, qword [rbp + 0x250]
mov byte [rax + 8], 1
lea rsp, [rbp + 0x238]
pop rdi
pop rbp
ret