Function at 0x1800517e0
Capabilities:
Encode data using xor

Disassembly:
test r8d, r8d
je 0x18005287d
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x318
movsx r9d, byte [rdx]
xor r14d, r14d
mov qword [rax + 0x10], rbx
mov r13d, r14d
mov qword [rax - 0x28], rsi
mov r15, rdx
mov esi, dword [0x1802848b4]
mov qword [rax - 0x30], rdi
mov qword [rax - 0x38], r12
lea eax, [r8 - 1]
mov byte [rax + rdx], r13b
mov eax, 0xffffffff
mov dword [rsp + 0x20], r14d
mov ecx, 4
cmp r9d, 1
je 0x180051853
cmp r9d, eax
jne 0x18005284f
jmp 0x180051a67
mov rax, qword gs:[0x58]
mov rdi, r14
movabs r12, 0x2aaaaaaaaaaaaaab
mov rsi, qword [rax + rsi*8]
add rsi, rcx
mov eax, dword [rsi]
cmp dword [0x180286960], eax
jle 0x1800518ac
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x1800518ac
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
lea rcx, [0x18028ae70]
call fcn.180001a60
mov rcx, qword [0x18028ae60]
mov rax, r12
sub rcx, qword [0x18028ae58]
imul rcx
lea rcx, [0x18028ae70]
mov rbx, rdx
sar rbx, 3
mov rax, rbx
shr rax, 0x3f
add rbx, rax
call fcn.180001bf0
cmp rdi, rbx
jae 0x180051a5e
mov eax, dword [rsi]
cmp dword [0x180286960], eax
jle 0x18005192e
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x18005192e
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
lea rcx, [0x18028ae70]
call fcn.180001a60
mov rcx, qword [0x18028ae60]
mov rax, r12
mov r8, qword [0x18028ae58]
sub rcx, r8
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdi, rdx
jae 0x18005198d
lea rbx, [r14 + r8]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.18023b280
movzx eax, word [rbx + 0x20]
mov word [rbp - 0x68], ax
mov eax, dword [rbx + 0x24]
mov dword [rbp - 0x64], eax
mov rax, qword [rbx + 0x28]
mov qword [rbp - 0x60], rax
jmp 0x1800519ab
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], 0xf
mov byte [rsp + 0x78], r13b
mov word [rbp - 0x68], r13w
mov dword [rbp - 0x64], r13d
mov qword [rbp - 0x60], r13
lea rcx, [0x18028ae70]
call fcn.180001bf0
cmp qword [rbp - 0x60], r13
jne 0x180051a48
mov eax, dword [rsi]
cmp dword [0x180286960], eax
mov qword [rbp - 0x60], 1
jle 0x180051a05
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x180051a05
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x110]
call fcn.18023b280
movzx eax, word [rbp - 0x68]
lea rdx, [rbp + 0x110]
mov word [rbp + 0x130], ax
lea rcx, [0x18028ae58]
mov eax, dword [rbp - 0x64]
mov dword [rbp + 0x134], eax
mov rax, qword [rbp - 0x60]
mov qword [rbp + 0x138], rax
call fcn.18000bea0
lea rcx, [rsp + 0x78]
call fcn.18023c0a0
inc rdi
add r14, 0x30
jmp 0x180051870
mov esi, dword [0x1802848b4]
xor r14d, r14d
xor eax, eax
mov word [rbp + 0x258], 0xda5d
mov byte [rbp + 0x25a], al
inc r15
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x28]
cmp rax, 1
jae 0x180051aef
movabs r14, 0xaaaaaaaaaaaaaaab
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
movzx r8d, byte [rbp + rax + 0x259]
mov rax, r14
mul rcx
shr rdx, 4
movzx eax, dl
add al, al
add dl, al
mov rax, qword [rsp + 0x28]
shl dl, 3
sub cl, dl
mov edx, 0x1d10d4a6
sar edx, cl
xor dl, r8b
mov byte [rbp + rax + 0x259], dl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp rax, 1
jb 0x180051a95
xor r14d, r14d
mov byte [rbp + 0x25a], 0
mov rdi, 0xffffffffffffffff
test r15, r15
jne 0x180051b12
mov r15, qword [rbp + 0x258]
test r15, r15
je 0x180052270
cmp byte [r15], 0
mov r9, r14
movsx r11d, byte [rbp + 0x259]
je 0x180051b5c
lea rcx, [rbp + 0x259]
test r11b, r11b
je 0x180051b5c
movzx r8d, byte [r9 + r15]
movzx eax, r11b
movzx edx, al
cmp r8b, al
je 0x180051b4e
movzx eax, byte [rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x180051b38
test dl, dl
je 0x180051b5c
inc r9
cmp byte [r9 + r15], 0
jne 0x180051b23
add r15, r9
movzx eax, byte [r15]
test al, al
je 0x180052270
mov r9, r15
mov r10, r14
movsx r8d, al
lea r9, [r9 + 1]
lea rcx, [rbp + 0x259]
cmp r11d, r8d
je 0x180051ba0
movzx edx, r11b
nop dword [rax]
test dl, dl
je 0x180051ba0
movsx edx, byte [rcx + 1]
inc rcx
cmp edx, r8d
jne 0x180051b90
cmp byte [rcx], 0
jne 0x180051bb0
movzx eax, byte [r9]
inc r10
test al, al
jne 0x180051b71
cmp byte [r10 + r15], 0
lea r12, [r10 + r15]
je 0x180051bc5
mov byte [r12], 0
inc r12
jmp 0x180051bc8
mov r12, r14
mov rax, qword gs:[0x58]
mov edx, esi
mov ecx, 4
mov rax, qword [rax + rdx*8]
add rax, rcx
mov qword [rbp + 8], rax
mov eax, dword [rax]
cmp dword [0x180286960], eax
jle 0x180051c1f
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x180051c1f
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
mov qword [rsp + 0x48], r14
mov r8, rdi
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], 0
inc r8
cmp byte [r15 + r8], 0
jne 0x180051c35
mov rdx, r15
lea rcx, [rsp + 0x38]
call fcn.18023c100
lea rcx, [0x18028ae70]
call fcn.180001a60
mov r15, qword [rsp + 0x50]
lea rdi, [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
cmp r15, 0x10
mov qword [rbp - 0x48], r14
mov word [rbp - 0x38], r14w
mov dword [rbp - 0x34], r14d
mov qword [rbp - 0x30], r14
mov r14, qword [rsp + 0x38]
cmovae rdi, r14
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
test rsi, rsi
je 0x180051cb3
mov r8, rsi
mov edx, 0x3a
mov rcx, rdi
call fcn.18024c430
mov rbx, rax
test rax, rax
je 0x180051cb3
sub rbx, rdi
jmp 0x180051cba
mov rbx, 0xffffffffffffffff
lea rdx, [rsp + 0x38]
cmp rbx, 0xffffffffffffffff
jne 0x180051d5a
lea rcx, [rbp + 0x1a0]
or r13d, 1
call fcn.18023b280
mov rdi, rax
lea rax, [rbp - 0x58]
cmp rax, rdi
jne 0x180051d8e
xor r14d, r14d
test r13b, 2
je 0x180051cff
and r13d, 0xfffffffd
lea rcx, [rbp + 0x50]
call fcn.18023c0a0
test r13b, 1
je 0x180051d15
and r13d, 0xfffffffe
lea rcx, [rbp + 0x1a0]
call fcn.18023c0a0
cmp rbx, 0xffffffffffffffff
jne 0x180051dc0
mov qword [rbp + 0xc0], r14
lea rbx, [rbp + 0xb0]
mov qword [rbp + 0xc8], 0xf
lea rdx, [0x18027a397]
mov byte [rbp + 0xb0], 0
mov r8, r14
mov eax, 4
mov rdi, 0xffffffffffffffff
jmp 0x180051e1f
xor eax, eax
mov qword [rbp + 0x68], 0xf
or r13d, 2
mov qword [rbp + 0x60], rax
cmp rsi, rbx
mov byte [rbp + 0x50], al
mov r8, rbx
lea rcx, [rbp + 0x50]
cmovb r8, rsi
cmp r15, 0x10
cmovae rdx, r14
call fcn.18023c100
lea rdi, [rbp + 0x50]
lea rcx, [rbp - 0x58]
call fcn.18023c0a0
mov r8d, 0x20
lea rcx, [rbp - 0x58]
mov rdx, rdi
call fcn.18024af30
xor r14d, r14d
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov byte [rdi], r14b
jmp 0x180051cec
mov rax, qword [rsp + 0x48]
lea rcx, [rbx + 1]
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0xa8], 0xf
mov byte [rbp + 0x90], 0
cmp rax, rcx
jb 0x180052884
sub rax, rcx
lea rdx, [rsp + 0x38]
mov rdi, 0xffffffffffffffff
lea rbx, [rbp + 0x90]
cmp rax, rdi
mov r8, rdi
cmovb r8, rax
cmp qword [rsp + 0x50], 0x10
mov eax, 8
cmovae rdx, qword [rsp + 0x38]
add rdx, rcx
or eax, r13d
mov rcx, rbx
mov esi, eax
mov dword [rsp + 0x20], eax
call fcn.18023c100
mov r8d, 0x20
mov qword [rbp + 0x20], r14
mov rdx, rbx
mov qword [rbp + 0x28], r14
lea rcx, [rbp + 0x10]
call fcn.18024af30
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test sil, 8
je 0x180051e72
and esi, 0xfffffff7
lea rcx, [rbp + 0x90]
mov dword [rsp + 0x20], esi
call fcn.18023c0a0
test sil, 4
je 0x180051e8b
and esi, 0xfffffffb
lea rcx, [rbp + 0xb0]
mov dword [rsp + 0x20], esi
call fcn.18023c0a0
mov dword [rsp + 0x28], 0x285
mov dword [rsp + 0x34], 0x17b
mov ecx, dword [rsp + 0x34]
mov eax, dword [rsp + 0x28]
add ecx, eax
mov dword [rsp + 0x28], ecx
mov eax, dword [rsp + 0x28]
cmp qword [rbp + 0x20], 0
mov word [rbp - 0x38], ax
jbe 0x180051f4a
cmp qword [rbp + 0x28], 0x10
lea r8, [rbp + 0x10]
mov ecx, r14d
cmovae r8, qword [rbp + 0x10]
movzx edx, byte [r8]
test dl, dl
je 0x180051efd
movzx eax, dl
cmp al, 0x39
jg 0x180051ee3
movzx edx, al
cmp al, 0x30
jge 0x180051efd
movzx edx, al
cmp al, 0x2d
je 0x180051f0b
cmp al, 0x2b
je 0x180051f02
movzx edx, byte [r8 + 1]
inc r8
movzx eax, dl
test dl, dl
jne 0x180051ed8
cmp dl, 0x2d
je 0x180051f0b
movzx r9d, dl
cmp dl, 0x2b
jne 0x180051f13
movzx r9d, byte [r8 + 1]
inc r8
test r9b, r9b
je 0x180051f39
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x180051f39
inc r8
movsx eax, r9b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
movzx r9d, byte [r8]
lea ecx, [rax + rcx*2]
test r9b, r9b
jne 0x180051f18
movzx eax, cx
neg ax
cmp dl, 0x2d
cmovne ax, cx
mov word [rbp - 0x38], ax
cmp qword [rbp - 0x40], 0x10
lea r9, [rbp - 0x58]
lea r11, [rsp + 0x30]
cmovae r9, qword [rbp - 0x58]
movzx ecx, byte [r9]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180052143
mov eax, r14d
mov r10d, 0xa
mov r8d, r14d
cmp cl, 0x30
jne 0x180051fa6
movzx ecx, byte [r9 + 1]
inc r9
lea edx, [rcx - 0x58]
test dl, 0xdf
je 0x180051f99
mov r10d, 8
lea r8d, [r10 - 7]
jmp 0x180051fa6
mov r10d, 0x10
inc r9
movzx ecx, byte [r9]
lea edx, [rcx - 0x30]
cmp dl, 9
ja 0x180051fd9
cmp r10d, 8
jne 0x180051fc0
lea edx, [rcx - 0x38]
cmp dl, 1
jbe 0x180052143
mov edx, r10d
mov r8d, 1
imul edx, eax
movsx eax, cl
add eax, 0xffffffd0
add eax, edx
inc r9
jmp 0x180051fa2
cmp r10d, 0x10
jne 0x18005202a
lea edx, [rcx - 0x30]
cmp dl, 9
jbe 0x180051ff7
lea edx, [rcx - 0x61]
cmp dl, 5
jbe 0x180051ff7
lea edx, [rcx - 0x41]
cmp dl, 5
ja 0x18005202a
lea edx, [rcx - 0x61]
mov r8d, 0x41
cmp dl, 0x19
mov edx, 0x61
cmovbe r8d, edx
movsx edx, cl
sub edx, r8d
mov ecx, eax
shl ecx, 4
mov r8d, 1
lea eax, [rdx + 0xa]
or eax, ecx
inc r9
jmp 0x180051fa2
cmp cl, 0x2e
jne 0x180052056
lea rcx, [rsp + 0x33]
cmp r11, rcx
jae 0x180052143
cmp eax, 0xff
ja 0x180052143
mov byte [r11], al
inc r11
inc r9
jmp 0x180051f5d
cmp cl, 0x20
ja 0x180052143
movabs rdx, 0x100003e01
bt rdx, rcx
jae 0x180052143
test r8d, r8d
je 0x180052143
lea rcx, [rsp + 0x30]
sub r11d, ecx
inc r11d
sub r11d, 2
je 0x1800520e5
sub r11d, 1
je 0x1800520c4
cmp r11d, 1
jne 0x1800520f6
cmp eax, 0xff
ja 0x180052143
movzx ecx, byte [rsp + 0x31]
movzx edx, byte [rsp + 0x30]
shl edx, 8
or edx, ecx
movzx ecx, byte [rsp + 0x32]
shl edx, 8
or edx, ecx
shl edx, 8
or eax, edx
jmp 0x1800520f6
cmp eax, 0xffff
ja 0x180052143
movzx edx, byte [rsp + 0x30]
movzx ecx, byte [rsp + 0x31]
shl edx, 8
or edx, ecx
shl edx, 0x10
or eax, edx
jmp 0x1800520f6
cmp eax, 0xffffff
ja 0x180052143
movzx ecx, byte [rsp + 0x30]
shl ecx, 0x18
or eax, ecx
bswap eax
mov ecx, 0xffffffff
cmp eax, ecx
je 0x180052143
lea rdx, [rbp - 0x58]
lea rcx, [rbp + 0x140]
call fcn.18023b280
movzx eax, word [rbp - 0x38]
lea rdx, [rbp + 0x140]
mov word [rbp + 0x160], ax
lea rcx, [0x18028ae58]
mov eax, dword [rbp - 0x34]
mov dword [rbp + 0x164], eax
mov rax, qword [rbp - 0x30]
mov qword [rbp + 0x168], rax
call fcn.18000b2e0
lea rcx, [rbp + 0x10]
call fcn.18023c0a0
lea rcx, [rbp - 0x58]
call fcn.18023c0a0
lea rcx, [0x18028ae70]
call fcn.180001bf0
lea rcx, [rsp + 0x38]
call fcn.18023c0a0
xor eax, eax
mov word [rsp + 0x24], 0xb7ba
mov byte [rsp + 0x26], al
mov qword [rsp + 0x28], r14
mov rax, qword [rsp + 0x28]
cmp rax, 1
jae 0x1800521f4
movabs r14, 0xaaaaaaaaaaaaaaab
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x28]
movzx r8d, byte [rsp + rax + 0x25]
mov rax, r14
mul rcx
shr rdx, 4
movzx eax, dl
add al, al
add dl, al
mov rax, qword [rsp + 0x28]
shl dl, 3
sub cl, dl
mov edx, 0x33252fcb
sar edx, cl
xor dl, r8b
mov byte [rsp + rax + 0x25], dl
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp rax, 1
jb 0x1800521a0
xor r14d, r14d
mov byte [rsp + 0x26], 0
test r12, r12
jne 0x180052203
mov r15, r14
jmp 0x18005225e
cmp byte [r12], 0
mov r9, r14
movsx ebx, byte [rsp + 0x25]
je 0x180052247
lea rcx, [rsp + 0x25]
test bl, bl
je 0x180052247
movzx r8d, byte [r9 + r12]
movzx eax, bl
movzx edx, al
cmp r8b, al
je 0x180052239
movzx eax, byte [rcx + 1]
inc rcx
movzx edx, al
test al, al
jne 0x180052223
test dl, dl
je 0x180052247
inc r9
cmp byte [r9 + r12], 0
jne 0x180052212
movzx eax, byte [r9 + r12]
lea r15, [r9 + r12]
test al, al
jne 0x1800523b8
mov r15, r14
mov r12, r14
mov r13d, dword [rsp + 0x20]
mov rax, qword [rbp + 8]
test r15, r15
jne 0x180051be3
mov rbx, qword [rbp + 0x240]
mov r12d, r14d
mov rdx, qword [rbx + 0x38]
mov rax, qword [rdx + 0x78]
sub rax, qword [rdx + 0x70]
sar rax, 3
test eax, eax
je 0x180052747
mov ecx, dword [0x1802848b4]
mov rax, qword gs:[0x58]
lea r13, [rax + rcx*8]
mov rax, qword [rdx + 0x70]
mov ecx, r12d
mov rcx, qword [rax + rcx*8]
cmp dword [rcx + 0x9c], 1
jne 0x180052727
mov rax, qword [r13]
mov ecx, 4
mov ecx, dword [rcx + rax]
cmp dword [0x180286960], ecx
jle 0x180052303
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x180052303
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
mov rcx, qword [rbx + 0x38]
lea rdx, [rbp + 0x1e0]
mov r8d, r12d
call fcn.180059150
cmp qword [rax + 0x18], 0x10
jb 0x180052320
mov rax, qword [rax]
mov qword [rsp + 0x68], r14
mov r8, rdi
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
inc r8
cmp byte [rax + r8], 0
jne 0x180052336
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.18023c100
lea rcx, [0x18028ae70]
call fcn.180001a60
mov r15, qword [rsp + 0x70]
lea rdi, [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
cmp r15, 0x10
mov qword [rbp - 0x18], r14
mov word [rbp - 8], r14w
mov dword [rbp - 4], r14d
mov qword [rbp], r14
mov r14, qword [rsp + 0x58]
cmovae rdi, r14
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
test rsi, rsi
je 0x180052411
mov r8, rsi
mov edx, 0x3a
mov rcx, rdi
call fcn.18024c430
mov rbx, rax
test rax, rax
je 0x180052411
sub rbx, rdi
jmp 0x180052418
mov r9, r15
mov r10, r14
nop
movsx r8d, al
lea r9, [r9 + 1]
lea rdx, [rsp + 0x25]
cmp ebx, r8d
je 0x1800523e5
movzx ecx, bl
test cl, cl
je 0x1800523e5
movsx ecx, byte [rdx + 1]
inc rdx
cmp ecx, r8d
jne 0x1800523d5
cmp byte [rdx], 0
jne 0x1800523f5
movzx eax, byte [r9]
inc r10
test al, al
jne 0x1800523c0
cmp byte [r10 + r15], 0
lea r12, [r10 + r15]
je 0x18005225b
mov byte [r12], 0
inc r12
jmp 0x18005225e
mov rbx, 0xffffffffffffffff
lea rdx, [rsp + 0x58]
cmp rbx, 0xffffffffffffffff
jne 0x1800524b4
mov esi, dword [rsp + 0x20]
lea rcx, [rbp + 0x1c0]
or esi, 0x10
call fcn.18023b280
mov rdi, rax
lea rax, [rbp - 0x28]
cmp rax, rdi
jne 0x1800524f3
xor r14d, r14d
test sil, 0x20
je 0x18005245f
and esi, 0xffffffdf
lea rcx, [rbp + 0x70]
call fcn.18023c0a0
test sil, 0x10
je 0x180052474
and esi, 0xffffffef
lea rcx, [rbp + 0x1c0]
call fcn.18023c0a0
cmp rbx, 0xffffffffffffffff
jne 0x180052525
or esi, 0x40
mov qword [rbp + 0x100], r14
mov dword [rsp + 0x20], esi
lea rbx, [rbp + 0xf0]
mov qword [rbp + 0x108], 0xf
lea rdx, [0x18027a397]
mov byte [rbp + 0xf0], 0
mov r8, r14
jmp 0x180052584
or dword [rsp + 0x20], 0x20
lea rcx, [rbp + 0x70]
xor eax, eax
mov qword [rbp + 0x88], 0xf
cmp rsi, rbx
mov qword [rbp + 0x80], rax
mov r8, rbx
mov byte [rbp + 0x70], al
cmovb r8, rsi
cmp r15, 0x10
cmovae rdx, r14
call fcn.18023c100
mov esi, dword [rsp + 0x20]
lea rdi, [rbp + 0x70]
lea rcx, [rbp - 0x28]
call fcn.18023c0a0
mov r8d, 0x20
lea rcx, [rbp - 0x28]
mov rdx, rdi
call fcn.18024af30
xor r14d, r14d
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], r14
mov byte [rdi], r14b
jmp 0x18005244d
mov rax, qword [rsp + 0x68]
lea rcx, [rbx + 1]
bts esi, 7
mov qword [rbp + 0xe0], r14
mov dword [rsp + 0x20], esi
mov qword [rbp + 0xe8], 0xf
mov byte [rbp + 0xd0], 0
cmp rax, rcx
jb 0x18005287e
sub rax, rcx
lea rdx, [rsp + 0x58]
mov r8, 0xffffffffffffffff
lea rbx, [rbp + 0xd0]
cmp rax, r8
cmovb r8, rax
cmp qword [rsp + 0x70], 0x10
cmovae rdx, qword [rsp + 0x58]
add rdx, rcx
mov rcx, rbx
call fcn.18023c100
mov r8d, 0x20
mov qword [rbp + 0x40], r14
mov rdx, rbx
mov qword [rbp + 0x48], r14
lea rcx, [rbp + 0x30]
call fcn.18024af30
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test sil, sil
jns 0x1800525ce
btr esi, 7
lea rcx, [rbp + 0xd0]
mov dword [rsp + 0x20], esi
call fcn.18023c0a0
test sil, 0x40
je 0x1800525e7
and esi, 0xffffffbf
lea rcx, [rbp + 0xf0]
mov dword [rsp + 0x20], esi
call fcn.18023c0a0
mov dword [rsp + 0x34], 0x285
mov dword [rsp + 0x28], 0x17b
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x34]
add ecx, eax
mov dword [rsp + 0x28], ecx
mov eax, dword [rsp + 0x28]
cmp qword [rbp + 0x40], 0
mov word [rbp - 8], ax
jbe 0x1800526a6
cmp qword [rbp + 0x48], 0x10
lea r8, [rbp + 0x30]
mov ecx, r14d
cmovae r8, qword [rbp + 0x30]
movzx edx, byte [r8]
test dl, dl
je 0x180052659
movzx eax, dl
cmp al, 0x39
jg 0x18005263f
movzx edx, al
cmp al, 0x30
jge 0x180052659
movzx edx, al
cmp al, 0x2d
je 0x180052667
cmp al, 0x2b
je 0x18005265e
movzx edx, byte [r8 + 1]
inc r8
movzx eax, dl
test dl, dl
jne 0x180052634
cmp dl, 0x2d
je 0x180052667
movzx r9d, dl
cmp dl, 0x2b
jne 0x18005266f
movzx r9d, byte [r8 + 1]
inc r8
test r9b, r9b
je 0x180052695
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x180052695
inc r8
movsx eax, r9b
lea ecx, [rcx + rcx*4]
lea ecx, [rcx - 0x18]
movzx r9d, byte [r8]
lea ecx, [rax + rcx*2]
test r9b, r9b
jne 0x180052674
movzx eax, cx
neg ax
cmp dl, 0x2d
cmovne ax, cx
mov word [rbp - 8], ax
lea rdx, [rbp - 0x28]
lea rcx, [rbp + 0x170]
call fcn.18023b280
movzx eax, word [rbp - 8]
lea rdx, [rbp + 0x170]
mov word [rbp + 0x190], ax
lea rcx, [0x18028ae58]
mov eax, dword [rbp - 4]
mov dword [rbp + 0x194], eax
mov rax, qword [rbp]
mov qword [rbp + 0x198], rax
call fcn.18000b2e0
lea rcx, [rbp + 0x30]
call fcn.18023c0a0
lea rcx, [rbp - 0x28]
call fcn.18023c0a0
lea rcx, [0x18028ae70]
call fcn.180001bf0
lea rcx, [rsp + 0x58]
call fcn.18023c0a0
lea rcx, [rbp + 0x1e0]
call fcn.18023c0a0
mov rbx, qword [rbp + 0x240]
mov rdx, qword [rbx + 0x38]
mov rcx, qword [rdx + 0x78]
inc r12d
sub rcx, qword [rdx + 0x70]
sar rcx, 3
cmp r12d, ecx
jae 0x180052747
mov rdi, 0xffffffffffffffff
jmp 0x1800522a5
mov rax, qword gs:[0x58]
mov edx, dword [0x1802848b4]
mov ecx, 4
mov rbx, qword [rax + rdx*8]
add rbx, rcx
mov eax, dword [rbx]
cmp dword [0x180286960], eax
jle 0x18005279e
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x18005279e
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
lea rcx, [0x18028ae70]
call fcn.180001a60
lea rax, [rbp + 0x250]
mov rcx, 0xffffffffffffffff
mov qword [rsp + 0x78], rax
mov edx, 0xffffffff
mov eax, 0x40
nop word [rax + rax]
dec rax
shr rcx, 1
cmp rcx, rdx
ja 0x1800527d0
mov rdx, qword [0x18028ae60]
lea r8, [rsp + 0x78]
mov qword [rbp - 0x78], rcx
mov rcx, qword [0x18028ae58]
mov qword [rbp - 0x80], rax
call fcn.180240910
lea rcx, [0x18028ae70]
call fcn.180001bf0
mov eax, dword [rbx]
cmp dword [0x180286960], eax
jle 0x180052843
lea rcx, [0x180286960]
call fcn.180249e18
cmp dword [0x180286960], 0xffffffff
jne 0x180052843
call fcn.18023b700
lea rcx, [0x180269ee0]
call fcn.18024a2cc
lea rcx, [0x180286960]
call fcn.180249db8
lea rcx, [0x18028ae58]
call fcn.18000b620
mov rdi, qword [rsp + 0x308]
mov rsi, qword [rsp + 0x310]
mov rbx, qword [rsp + 0x348]
mov r12, qword [rsp + 0x300]
add rsp, 0x318
pop r15
pop r14
pop r13
pop rbp
ret
call fcn.18023c5c0
int3
call fcn.18023c5c0
int3