Function at 0x180012c00
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x90], rbx
mov rax, qword [0x18005ca10]
xor rax, rbp
mov qword [rbp + 0x30], rax
mov qword [rsp + 0x30], rdx
lea rax, [rbp]
mov rsi, rdx
mov qword [rsp + 0x28], rax
lea rax, [rbp + 4]
mov rdi, rcx
mov r9b, 0x4c
mov r8b, 0x48
mov dl, 0x56
mov cl, 0x43
mov qword [rsp + 0x20], rax
call fcn.18001cc00
test al, al
jne 0x180012c64
xor al, al
jmp 0x18001377f
movzx r8d, byte [rbp]
lea rcx, [rbp + 0x10]
mov r9, rsi
mov edx, 6
call fcn.18001c9f0
mov edx, dword [rbp + 0x10]
mov eax, dword [rbp + 0x1c]
mov ecx, dword [rbp + 0x24]
mov r10d, dword [rbp + 0x14]
mov r11d, dword [rbp + 0x18]
mov r12d, dword [rbp + 0x20]
mov dword [rbp + 8], ecx
lea rcx, [rax + 1]
imul rcx, rcx, 0x2c
mov dword [rdi + 0x14], edx
mov dword [rdi + 8], r10d
mov dword [rdi + 0x50], r11d
mov dword [rdi + 0x34], eax
mov r9d, edx
mov r8d, edx
test rcx, rcx
jne 0x180012cb6
inc r8
movabs r13, 0xaaaaaaaaaaaaaaab
mov ebx, reloc.WSOCK32.dll_ioctlsocket
mov rax, r13
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rcx
shl rax, 2
sub rdx, rax
je 0x180012ce7
mov eax, ebx
sub rax, rdx
add rcx, rax
lea rax, [r8 + r8*2]
lea r8, [rcx + rax*4]
mov rcx, r10
test r8, r8
jne 0x180012cfa
inc rcx
mov rax, r13
mul r8
shr rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, r8
shl rax, 2
sub rdx, rax
je 0x180012d1d
mov rax, rbx
sub rax, rdx
add r8, rax
lea rax, [rcx + rcx*2]
lea rcx, [r8 + rax*4]
test rcx, rcx
jne 0x180012d2d
inc r9
mov rax, r13
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rcx
shl rax, 2
sub rdx, rax
je 0x180012d50
mov rax, rbx
sub rax, rdx
add rcx, rax
lea rax, [r9 + r9*2]
mov r8, r11
mov r9, r11
lea rcx, [rcx + rax*4]
test rcx, rcx
jne 0x180012d66
inc r9
mov rax, r13
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rcx
shl rax, 2
sub rdx, rax
je 0x180012d89
mov rax, rbx
sub rax, rdx
add rcx, rax
lea rax, [r9 + r9*2]
mov rdx, r11
lea rax, [rcx + rax*4]
test rax, rax
jne 0x180012d9c
inc rdx
mov r9, rax
mov r14d, 8
and r9d, 7
je 0x180012db4
mov ecx, r14d
sub rcx, r9
add rax, rcx
lea rcx, [rax + rdx*8]
test rcx, rcx
jne 0x180012dc0
inc r8
mov rdx, rcx
mov r13d, 2
and edx, 1
je 0x180012dd7
mov eax, r13d
sub rax, rdx
add rcx, rax
lea rax, [rcx + r8*2]
mov r15, r12
mov r8, r12
test rax, rax
jne 0x180012de9
inc r8
mov rdx, rax
and edx, 1
je 0x180012dfa
mov rcx, r13
sub rcx, rdx
add rax, rcx
lea rcx, [rax + r8*2]
mov rax, r12
test rcx, rcx
jne 0x180012e09
inc rax
add rcx, rax
mov eax, dword [rbp + 8]
jne 0x180012e14
inc rax
lea rax, [rax + rcx + 0x2c]
xor r12d, r12d
mov qword [rbp + 0x28], rax
cmp qword [rdi + 0x78], r12
je 0x180012e3d
call fcn.18001ae30
mov rdx, qword [rdi + 0x78]
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x18]
mov qword [rdi + 0x78], r12
call fcn.18001ae30
mov rdx, qword [rbp + 0x28]
xor r8d, r8d
mov r9, qword [rax]
mov rcx, rax
call qword [r9]
mov r11, rax
mov qword [rdi + 0x78], rax
test rax, rax
je 0x180012c5d
movabs r10, 0x2e8ba2e8ba2e8ba3
mov r9, r11
mov r8d, 0x2c
mov rax, r10
mul r11
shr rdx, 3
imul rdx, rdx, 0x2c
sub r9, rdx
je 0x180012e91
mov ecx, r8d
sub rcx, r9
add r11, rcx
mov ecx, dword [rdi + 0x34]
mov rax, r10
mul r11
mov rax, r11
shr rdx, 3
imul rdx, rdx, 0x2c
sub rax, rdx
je 0x180012eb0
sub r8, rax
add r11, r8
mov r10d, dword [rdi + 0x14]
imul rcx, rcx, 0x2c
mov rax, r11
mov qword [rdi + 0x38], rax
add r11, rcx
movabs r9, 0xaaaaaaaaaaaaaaab
mov rax, r9
mov rcx, r11
mul r11
shr rdx, 3
lea rax, [rdx + rdx*2]
shl rax, 2
sub rcx, rax
je 0x180012eef
mov rax, rbx
sub rax, rcx
add r11, rax
mov r8d, dword [rdi + 8]
lea rax, [r10 + r10*2]
mov qword [rdi + 0x18], r11
lea rcx, [r11 + rax*4]
mov rax, r9
mul rcx
shr rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, rcx
shl rax, 2
sub rdx, rax
je 0x180012f22
mov rax, rbx
sub rax, rdx
add rcx, rax
lea rax, [r8 + r8*2]
mov qword [rdi + 0xc], rcx
lea r9, [rcx + rax*4]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r9
shr rdx, 3
lea rax, [rdx + rdx*2]
mov rdx, r9
shl rax, 2
sub rdx, rax
je 0x180012f58
mov rcx, rbx
sub rcx, rdx
add r9, rcx
lea rcx, [r10 + r10*2]
movabs rax, 0xaaaaaaaaaaaaaaab
mov qword [rdi + 0x20], r9
lea r8, [r9 + rcx*4]
mov r9d, dword [rdi + 0x50]
mov rcx, r8
mul r8
shr rdx, 3
lea rax, [rdx + rdx*2]
shl rax, 2
sub rcx, rax
je 0x180012f8f
sub rbx, rcx
add r8, rbx
lea rax, [r9 + r9*2]
mov qword [rdi + 0x5c], r8
lea rdx, [r8 + rax*4]
mov rax, rdx
and eax, 7
je 0x180012fa9
sub r14, rax
add rdx, r14
lea rcx, [rdx + r9*8]
mov qword [rdi + 0x64], rdx
mov rdx, rcx
and edx, 1
je 0x180012fc2
mov rax, r13
sub rax, rdx
add rcx, rax
lea rdx, [rcx + r9*2]
mov qword [rdi + 0x54], rcx
mov rax, rdx
and eax, 1
je 0x180012fd8
sub r13, rax
add rdx, r13
movzx r8d, byte [rbp]
lea rax, [rdx + r15*2]
mov qword [rdi + 0x48], rdx
mov rdx, rax
add rax, r15
mov r9, rsi
mov qword [rdi + 0x40], rdx
lea edx, [r10 + r10*2]
mov rcx, r11
mov qword [rdi + 0x6c], rax
call fcn.18001c9f0
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov ecx, eax
mov dword [rbp + 0x28], eax
test bl, bl
je 0x180013036
movzx ecx, al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x28], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0x2b], cl
movzx ecx, byte [rbp + 0x29]
mov byte [rbp + 0x29], al
mov byte [rbp + 0x2a], cl
mov ecx, dword [rbp + 0x28]
mov eax, dword [rdi + 8]
mov r8, qword [rdi + 0xc]
mov r9, rsi
lea edx, [rax + rax*2]
movzx eax, byte [rbp]
mov byte [rsp + 0x20], al
call fcn.18001d1a0
mov eax, dword [rbp + 4]
movzx r13d, r12w
cmp eax, 5
jb 0x18001308a
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + reloc.WSOCK32.dll_recv]
movzx r13d, ax
mov word [rbp + 0x28], ax
test bl, bl
je 0x180013087
movzx ecx, al
movzx eax, byte [rbp + 0x29]
mov byte [rbp + 0x28], al
mov byte [rbp + 0x29], cl
movzx r13d, word [rbp + 0x28]
mov eax, dword [rbp + 4]
cmp eax, 4
jb 0x1800130ae
test r13w, r13w
jne 0x1800130ae
movzx r8d, byte [rbp]
mov rdx, qword [rdi + 0x20]
mov ecx, dword [rdi + 0x14]
mov r9, rsi
call fcn.180012900
jmp 0x180013124
mov eax, dword [rdi + 0x14]
movzx r8d, byte [rbp]
mov rcx, qword [rdi + 0x20]
lea edx, [rax + rax*2]
mov r9, rsi
call fcn.18001c9f0
cmp dword [rbp + 4], 2
jae 0x180013124
mov edx, r12d
cmp dword [rdi + 0x14], edx
jbe 0x180013124
movss xmm1, dword [0x18004e3d0]
mov rcx, r12
nop
mov rax, qword [rdi + 0x20]
inc edx
add rcx, 0xc
movss xmm0, dword [rax + rcx - 0xc]
xorps xmm0, xmm1
movss dword [rax + rcx - 0xc], xmm0
mov rax, qword [rdi + 0x20]
movss xmm0, dword [rax + rcx - 8]
xorps xmm0, xmm1
movss dword [rax + rcx - 8], xmm0
mov rax, qword [rdi + 0x20]
movss xmm0, dword [rax + rcx - 4]
xorps xmm0, xmm1
movss dword [rax + rcx - 4], xmm0
cmp edx, dword [rdi + 0x14]
jb 0x1800130e0
movzx r8d, byte [rbp]
lea rcx, [rdi + 0x28]
mov r9, rsi
mov edx, 3
call fcn.18001c9f0
call fcn.18001ae30
mov ecx, dword [rdi + 0x34]
mov r9, qword [rax]
lea rdx, [rcx + rcx*8]
mov r8d, 1
shl rdx, 2
mov rcx, rax
call qword [r9]
mov rbx, rax
test rax, rax
je 0x180012c5d
mov eax, dword [rdi + 0x34]
mov r9, qword [rsi]
mov rdx, rbx
lea r8d, [rax + rax*8]
mov rcx, rsi
shl r8d, 2
call qword [r9 + gethostbyaddr]
mov r11d, r12d
cmp dword [rdi + 0x34], r12d
jbe 0x180013212
mov r9, r12
lea r10, [rbx + 4]
nop word [rax + rax]
movzx eax, word [r10 - 4]
mov ecx, dword [r10 + 4]
mov edx, dword [r10]
mov r8, qword [rdi + 0x38]
inc r11d
add r9, 0x2c
mov word [r9 + r8 - 0x2c], ax
movzx eax, word [r10 - 2]
mov qword [r9 + r8 - 0x20], rcx
mov qword [r9 + r8 - 0x28], rdx
mov word [r9 + r8 - 0x2a], ax
mov eax, dword [r10 + 8]
mov dword [r9 + r8 - 0x18], eax
mov eax, dword [r10 + 0xc]
add r10, 0x24
mov dword [r9 + r8 - 0x14], eax
mov eax, dword [r10 - 0x14]
mov dword [r9 + r8 - 0x10], eax
mov eax, dword [r10 - 0x10]
mov dword [r9 + r8 - 0xc], eax
mov eax, dword [r10 - 0xc]
mov dword [r9 + r8 - 8], eax
mov eax, dword [r10 - 8]
mov dword [r9 + r8 - 4], eax
cmp r11d, dword [rdi + 0x34]
jb 0x1800131a0
call fcn.18001ae30
mov rdx, rbx
mov r8, qword [rax]
mov rcx, rax
call qword [r8 + 0x18]
cmp byte [rbp], r12b
je 0x180013445
mov r9d, r12d
cmp dword [rdi + 0x34], r12d
jbe 0x180013445
mov r8, r12
nop
mov rdx, qword [rdi + 0x38]
movzx eax, byte [r8 + rdx + 1]
movzx ecx, byte [r8 + rdx]
mov byte [r8 + rdx + 1], cl
mov byte [r8 + rdx], al
mov rdx, qword [rdi + 0x38]
movzx ecx, byte [r8 + rdx + 2]
movzx eax, byte [r8 + rdx + 3]
mov byte [r8 + rdx + 3], cl
mov byte [r8 + rdx + 2], al
mov rdx, qword [rdi + 0x38]
mov rax, qword [r8 + rdx + 0xc]
mov byte [r8 + rdx + 0x13], al
mov qword [rbp + 0x28], rax
movzx ecx, byte [rbp + 0x2f]
mov byte [r8 + rdx + 0xc], cl
movzx ecx, byte [rbp + 0x2e]
mov byte [r8 + rdx + 0xd], cl
movzx ecx, byte [rbp + 0x2d]
mov byte [r8 + rdx + 0xe], cl
movzx ecx, byte [rbp + 0x2c]
mov byte [r8 + rdx + 0xf], cl
movzx ecx, byte [rbp + 0x2b]
mov byte [r8 + rdx + 0x10], cl
movzx ecx, byte [rbp + 0x2a]
mov byte [r8 + rdx + 0x11], cl
movzx ecx, byte [rbp + 0x29]
mov byte [r8 + rdx + 0x12], cl
mov rdx, qword [rdi + 0x38]
mov rax, qword [r8 + rdx + 4]
mov byte [r8 + rdx + 0xb], al
mov qword [rbp + 0x28], rax
movzx ecx, byte [rbp + 0x2f]
mov byte [r8 + rdx + 4], cl
movzx ecx, byte [rbp + 0x2e]
mov byte [r8 + rdx + 5], cl
movzx ecx, byte [rbp + 0x2d]
mov byte [r8 + rdx + 6], cl
movzx ecx, byte [rbp + 0x2c]
mov byte [r8 + rdx + 7], cl
movzx ecx, byte [rbp + 0x2b]
mov byte [r8 + rdx + 8], cl
movzx ecx, byte [rbp + 0x2a]
mov byte [r8 + rdx + 9], cl
movzx ecx, byte [rbp + 0x29]
mov byte [r8 + rdx + 0xa], cl
mov rdx, qword [rdi + 0x38]
movzx ecx, byte [r8 + rdx + 0x14]
movzx eax, byte [r8 + rdx + 0x17]
mov byte [r8 + rdx + 0x14], al
movzx eax, byte [r8 + rdx + 0x16]
mov byte [r8 + rdx + 0x17], cl
movzx ecx, byte [r8 + rdx + 0x15]
mov byte [r8 + rdx + 0x15], al
mov byte [r8 + rdx + 0x16], cl
mov rdx, qword [rdi + 0x38]
movzx ecx, byte [r8 + rdx + 0x18]
movzx eax, byte [r8 + rdx + 0x1b]
mov byte [r8 + rdx + 0x18], al
movzx eax, byte [r8 + rdx + 0x1a]
mov byte [r8 + rdx + 0x1b], cl
movzx ecx, byte [r8 + rdx + 0x19]
mov byte [r8 + rdx + 0x19], al
mov byte [r8 + rdx + 0x1a], cl
mov rdx, qword [rdi + 0x38]
movzx ecx, byte [r8 + rdx + 0x1c]
movzx eax, byte [r8 + rdx + 0x1f]
mov byte [r8 + rdx + 0x1c], al
movzx eax, byte [r8 + rdx + 0x1e]
mov byte [r8 + rdx + 0x1f], cl
movzx ecx, byte [r8 + rdx + 0x1d]
mov byte [r8 + rdx + 0x1d], al
mov byte [r8 + rdx + 0x1e], cl
mov rdx, qword [rdi + 0x38]
movzx eax, byte [r8 + rdx + 0x23]
movzx ecx, byte [r8 + rdx + 0x20]
mov byte [r8 + rdx + 0x20], al
movzx eax, byte [r8 + rdx + 0x22]
mov byte [r8 + rdx + 0x23], cl
movzx ecx, byte [r8 + rdx + 0x21]
mov byte [r8 + rdx + 0x21], al
mov byte [r8 + rdx + 0x22], cl
mov rdx, qword [rdi + 0x38]
inc r9d
movzx ecx, byte [r8 + rdx + 0x24]
movzx eax, byte [r8 + rdx + 0x27]
add r8, 0x2c
mov byte [r8 + rdx - 8], al
movzx eax, byte [r8 + rdx - 6]
mov byte [r8 + rdx - 5], cl
movzx ecx, byte [r8 + rdx - 7]
mov byte [r8 + rdx - 7], al
mov byte [r8 + rdx - 6], cl
mov rdx, qword [rdi + 0x38]
movzx ecx, byte [r8 + rdx - 4]
movzx eax, byte [r8 + rdx - 1]
mov byte [r8 + rdx - 4], al
movzx eax, byte [r8 + rdx - 2]
mov byte [r8 + rdx - 1], cl
movzx ecx, byte [r8 + rdx - 3]
mov byte [r8 + rdx - 3], al
mov byte [r8 + rdx - 2], cl
cmp r9d, dword [rdi + 0x34]
jb 0x180013240
cmp dword [rbp + 4], 3
jb 0x18001349b
mov rax, qword [rsi]
mov rdx, qword [rdi + 0x40]
mov r8d, r15d
mov rcx, rsi
mov r14d, r15d
call qword [rax + 0x30]
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov dword [rbp + 0x28], eax
test bl, bl
je 0x180013480
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x28], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0x29], al
movzx eax, byte [rbp]
mov r8, qword [rdi + 0x48]
movzx ecx, word [rbp + 0x28]
mov r9, rsi
mov edx, r14d
mov byte [rsp + 0x20], al
call fcn.18001ce60
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov r14d, eax
mov dword [rbp + 0x28], eax
test bl, bl
je 0x1800134d1
movzx ecx, al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x28], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0x2b], cl
movzx ecx, byte [rbp + 0x29]
mov byte [rbp + 0x29], al
mov byte [rbp + 0x2a], cl
mov r14d, dword [rbp + 0x28]
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov dword [rbp + 0x28], eax
test bl, bl
je 0x180013503
movzx ecx, al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x28], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0x2b], cl
movzx ecx, byte [rbp + 0x29]
mov byte [rbp + 0x29], al
mov byte [rbp + 0x2a], cl
mov eax, dword [rbp + 0x28]
mov rdx, qword [rdi + 0x38]
mov r8d, dword [rdi + 0x34]
imul r8, r8, 0x2c
add r8, rdx
cmp rdx, r8
je 0x18001354a
mov r9d, r14d
mov r10d, eax
nop dword [rax]
mov rax, qword [rdi + 0x40]
mov rcx, qword [rdx + 0xc]
add rdx, 0x2c
sub rax, r9
sub rcx, r10
add qword [rdx - 0x28], rax
mov rax, qword [rdi + 0x48]
shr rcx, 1
lea rcx, [rax + rcx*2]
mov qword [rdx - 0x20], rcx
cmp rdx, r8
jne 0x180013520
mov eax, dword [rbp + 4]
cmp eax, 3
jb 0x180013569
mov r8d, dword [rdi + 0x50]
mov rax, qword [rsi]
mov rdx, qword [rdi + 0x54]
add r8d, r8d
mov rcx, rsi
call qword [rax + 0x30]
mov eax, dword [rbp + 4]
cmp eax, 4
jb 0x18001358a
test r13w, r13w
jne 0x18001358a
movzx r8d, byte [rbp]
mov rdx, qword [rdi + 0x5c]
mov ecx, dword [rdi + 0x50]
mov r9, rsi
call fcn.180012900
jmp 0x1800135a1
mov eax, dword [rdi + 0x50]
movzx r8d, byte [rbp]
mov rcx, qword [rdi + 0x5c]
lea edx, [rax + rax*2]
mov r9, rsi
call fcn.18001c9f0
mov eax, dword [rdi + 0x50]
cmp eax, 0x100
ja 0x1800135d8
shl rax, 2
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x1800135c2
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.18003f160
sub rsp, rcx
lea r13, [rsp + 0x40]
jmp 0x1800135f6
call fcn.18001ae30
mov edx, dword [rdi + 0x50]
mov r8d, 1
mov r9, qword [rax]
shl rdx, 2
mov rcx, rax
call qword [r9]
mov r13, rax
mov rdx, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rdx + 0x18]
mov dword [rbp + 0x28], eax
test bl, bl
je 0x180013618
movzx ecx, byte [rbp + 0x2b]
mov byte [rbp + 0x28], cl
movzx ecx, byte [rbp + 0x2a]
mov byte [rbp + 0x29], cl
movzx eax, byte [rbp]
mov edx, dword [rdi + 0x50]
movzx ecx, word [rbp + 0x28]
mov r9, rsi
mov r8, r13
mov byte [rsp + 0x20], al
call fcn.18001ce60
mov r11d, r12d
cmp dword [rdi + 0x50], r12d
jbe 0x18001365e
mov rdx, r12
mov r8, r13
movzx eax, word [r8]
mov rcx, qword [rdi + 0x64]
inc r11d
mov word [rdx + rcx], ax
add rdx, 8
add r8, 2
cmp r11d, dword [rdi + 0x50]
jb 0x180013641
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov dword [rbp + 0x28], eax
test bl, bl
je 0x180013680
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x28], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0x29], al
movzx eax, byte [rbp]
mov edx, dword [rdi + 0x50]
movzx ecx, word [rbp + 0x28]
mov r9, rsi
mov r8, r13
mov byte [rsp + 0x20], al
call fcn.18001ce60
mov r11d, r12d
cmp dword [rdi + 0x50], r12d
jbe 0x1800136ce
mov rdx, r12
mov r8, r13
nop dword [rax]
movzx eax, word [r8]
mov rcx, qword [rdi + 0x64]
inc r11d
mov word [rdx + rcx + 2], ax
add rdx, 8
add r8, 2
cmp r11d, dword [rdi + 0x50]
jb 0x1800136b0
mov rax, qword [rsi]
movzx ebx, byte [rbp]
mov rcx, rsi
call qword [rax + 0x18]
mov ecx, eax
mov dword [rbp + 0x28], eax
test bl, bl
je 0x180013702
movzx ecx, al
movzx eax, byte [rbp + 0x2b]
mov byte [rbp + 0x28], al
movzx eax, byte [rbp + 0x2a]
mov byte [rbp + 0x2b], cl
movzx ecx, byte [rbp + 0x29]
mov byte [rbp + 0x29], al
mov byte [rbp + 0x2a], cl
mov ecx, dword [rbp + 0x28]
movzx eax, byte [rbp]
mov edx, dword [rdi + 0x50]
mov r9, rsi
mov r8, r13
mov byte [rsp + 0x20], al
call fcn.18001d1a0
cmp dword [rdi + 0x50], r12d
jbe 0x18001374c
mov rdx, r12
mov r8, r13
nop word [rax + rax]
mov eax, dword [r8]
mov rcx, qword [rdi + 0x64]
inc r12d
mov dword [rdx + rcx + 4], eax
add rdx, 8
add r8, 4
cmp r12d, dword [rdi + 0x50]
jb 0x180013730
cmp dword [rdi + 0x50], 0x100
jbe 0x18001376c
test r13, r13
je 0x18001376c
call fcn.18001ae30
mov rdx, r13
mov r9, qword [rax]
mov rcx, rax
call qword [r9 + 0x18]
mov rax, qword [rsi]
mov r8d, dword [rbp + 8]
mov rdx, qword [rdi + 0x6c]
mov rcx, rsi
call qword [rax + 0x30]
mov al, 1
mov rcx, qword [rbp + 0x30]
xor rcx, rbp
call fcn.18003e5c0
mov rbx, qword [rbp + 0x90]
lea rsp, [rbp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret