Function at 0x140083b00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rdi
push r13
sub rsp, 0x138
mov rdi, qword [rcx + 0x10]
xor r9d, r9d
mov r10, qword [rcx]
movzx r8d, byte [rsp + 0x190]
mov qword [rax - 0x20], rbp
mov rbp, rcx
mov qword [rax - 0x30], r12
mov qword [rax - 0x38], r14
mov dword [rsp + 0x8c], r9d
mov dword [rsp + 0x88], r9d
mov dword [rsp + 0xa0], r9d
mov byte [rsp + 0x64], r9b
mov dword [rsp + 0xb0], 0xffffffff
mov qword [rsp + 0xa8], r10
test rdi, rdi
jne 0x140083b98
call fcn.140095540
mov rdx, qword [rsp + 0x158]
mov rdi, rax
movzx r8d, byte [rsp + 0x190]
xor r9d, r9d
mov r10, qword [rsp + 0xa8]
test byte [rdx + 0x46], 0x20
mov eax, 1
jne 0x140083bad
mov qword [rsp + 0x98], r9
jmp 0x140083bde
mov rcx, qword [rdx + 0x10]
mov qword [rsp + 0x98], rcx
test rcx, rcx
je 0x140083bda
nop
mov eax, dword [rcx + 0x64]
and al, 3
cmp al, 2
je 0x140083bd2
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x140083bc0
mov qword [rsp + 0x98], rcx
movzx eax, word [rcx + 0x5e]
movsx r13, word [rdx + 0x3e]
mov r11d, 2
mov qword [rsp + 0x130], rbx
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x178]
mov qword [rsp + 0x120], rsi
mov qword [rsp + 0x108], r15
test r13, r13
jle 0x140083f26
lea ecx, [rax + 1]
mov r12d, eax
mov dword [rsp + 0x80], ecx
mov esi, ecx
not r12d
mov r15, r9
mov r14, r9
nop dword [rax]
movsx eax, word [rdx + 0x3c]
lea ecx, [r12 + rsi]
cmp ecx, eax
je 0x140083efa
mov rax, qword [rsp + 0x1a8]
test rax, rax
je 0x140083c58
cmp dword [rax + r15*4], 0
jl 0x140083efa
mov rcx, qword [rdx + 8]
movzx eax, byte [rcx + r14 + 0x18]
test al, al
je 0x140083efa
cmp r8b, 0xa
jne 0x140083c79
cmp al, r8b
je 0x140083dd7
cmp r8b, 0xa
movzx ebx, r8b
cmove ebx, eax
cmp ebx, 5
jne 0x140083c95
cmp qword [rcx + r14 + 8], 0
je 0x140083dd7
mov ecx, ebx
sub ecx, 1
je 0x140083def
sub ecx, 1
je 0x140083dda
sub ecx, 1
je 0x140083def
mov rax, qword [rdi + 0x18]
cmp ecx, 1
je 0x140083d6d
movsxd rbx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ebx
jg 0x140083cee
mov dword [rsp + 0x20], r9d
mov r8d, esi
xor r9d, r9d
mov rcx, rdi
lea edx, [r9 + 0x23]
call fcn.140042bc0
mov rdx, qword [rsp + 0x158]
mov ebx, eax
jmp 0x140083d1c
lea rcx, [rbx + rbx*2]
lea eax, [rbx + 1]
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x23
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r9
mov rdx, qword [rdx + 8]
mov r8d, esi
mov rcx, rbp
mov rdx, qword [r14 + rdx + 8]
call fcn.140062dd0
mov rax, qword [rdi]
mov edx, dword [rdi + 0xb8]
cmp byte [rax + 0x55], 0
je 0x140083d4e
lea rax, [0x1401bac90]
mov dword [rax + 8], edx
jmp 0x140083ee9
lea eax, [rdx - 1]
test ebx, ebx
cmovns eax, ebx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x140083ee9
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140083d9b
mov dword [rsp + 0x20], r9d
mov r8d, esi
mov r9d, dword [rsp + 0x198]
mov edx, 0x22
mov rcx, rdi
call fcn.140042bc0
jmp 0x140083ee9
mov r8d, dword [rsp + 0x198]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x22
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x140083efa
mov ebx, r11d
mov rax, qword [rbp + 0xa0]
mov rcx, rbp
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov r9, qword [rdx + 8]
mov rcx, r10
mov r8, qword [rdx]
lea rdx, [0x14018ef58]
mov r9, qword [r14 + r9]
call fcn.1400200b0
movsxd rdx, dword [rdi + 0xb8]
mov rbp, rax
mov rax, qword [rdi + 0x18]
cmp dword [rax + 0x3c], edx
jg 0x140083e3a
mov r9d, ebx
mov dword [rsp + 0x20], esi
mov edx, 0x4a
mov r8d, 0x513
mov rcx, rdi
call fcn.140042bc0
mov edx, eax
jmp 0x140083e6f
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x4a
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 0x513
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], 0
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x140083e87
mov r8, rbp
mov edx, 0xffffffff
call fcn.140043970
jmp 0x140083ec9
test edx, edx
jns 0x140083e93
mov edx, dword [rdi + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140083ebc
mov r9d, 0xffffffff
mov r8, rbp
mov rcx, rdi
call fcn.140043c90
jmp 0x140083ec9
test rbp, rbp
je 0x140083ec9
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], 0xff
movsxd rax, dword [rdi + 0xb8]
mov rbp, qword [rsp + 0x150]
test eax, eax
jle 0x140083ee9
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov byte [rax + rcx*8 - 0x15], 1
mov rdx, qword [rsp + 0x158]
mov r11d, 2
xor r9d, r9d
movzx r8d, byte [rsp + 0x190]
inc esi
mov r10, qword [rsp + 0xa8]
inc r15
add r14, 0x20
cmp r15, r13
jl 0x140083c30
mov eax, dword [rsp + 0x80]
jmp 0x140083f2f
inc eax
mov dword [rsp + 0x80], eax
mov r13, qword [rdx + 0x30]
movzx r14d, byte [rsp + 0x188]
mov rsi, qword [rsp + 0xa8]
test r13, r13
je 0x140084237
test dword [rsi + 0x2c], 0x2000
jne 0x140084237
movzx r15d, byte [rsp + 0x190]
mov dword [rbp + 0x44], eax
mov esi, r15d
cmp r15b, 0xa
jne 0x140083f72
mov esi, r11d
cmp dword [r13], 0
mov r12d, r9d
jle 0x1400841f2
mov r15, r9
lea rcx, [0x140083ad0]
nop word [rax + rax]
mov rax, qword [r13 + 8]
mov rbx, qword [r15 + rax]
mov rax, qword [rsp + 0x1a8]
test rax, rax
je 0x140083ffc
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
mov qword [rsp + 0xd0], rcx
movups xmmword [rsp + 0xe8], xmm0
mov qword [rsp + 0xf0], rax
movups xmmword [rsp + 0xd8], xmm0
test rbx, rbx
je 0x140083fe5
mov rdx, rbx
lea rcx, [rsp + 0xc8]
call fcn.140057780
movzx eax, byte [rsp + 0xec]
test r14b, r14b
jne 0x140083ff4
and al, 0xfd
test al, al
je 0x1400841d1
mov rcx, rdi
call fcn.140043280
mov r9d, 0x10
mov r8d, eax
mov rdx, rbx
mov rcx, rbp
mov r14d, eax
call fcn.140063360
cmp esi, 4
jne 0x14008408f
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140084051
mov r9d, dword [rsp + 0x198]
lea edx, [rsi + 9]
xor eax, eax
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140042bc0
jmp 0x1400841ac
mov edx, dword [rsp + 0x198]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
xor r8d, r8d
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x1400841ac
mov rax, qword [r13 + 8]
mov rbp, qword [r15 + rax + 8]
test rbp, rbp
jne 0x1400840a8
mov rax, qword [rsp + 0x158]
mov rbp, qword [rax]
mov rcx, qword [rsp + 0x150]
cmp esi, 5
mov eax, 2
cmove esi, eax
mov rbx, qword [rcx + 0x10]
test rbx, rbx
jne 0x1400840d4
call fcn.140095540
mov rcx, qword [rsp + 0x150]
mov rbx, rax
cmp esi, 2
jne 0x1400840eb
mov rax, qword [rcx + 0xa0]
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov rax, qword [rbx + 0x18]
movsxd rdx, dword [rbx + 0xb8]
cmp dword [rax + 0x3c], edx
jg 0x140084119
xor eax, eax
mov r9d, esi
mov r8d, 0x113
mov dword [rsp + 0x20], eax
mov rcx, rbx
lea edx, [rax + 0x4b]
call fcn.140042bc0
mov edx, eax
jmp 0x14008414e
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov dword [rbx + 0xb8], eax
mov rax, qword [rbx + 0x68]
mov word [rax + rcx*8], 0x4b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], 0x113
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx]
cmp byte [rcx + 0x55], 0
je 0x140084163
mov r8, rbp
xor edx, edx
call fcn.140043970
jmp 0x14008418c
test edx, edx
jns 0x14008416f
mov edx, dword [rbx + 0xb8]
dec edx
movsxd rax, edx
xor r9d, r9d
mov r8, rbp
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
lea rdx, [rax + rcx*8]
mov rcx, rbx
call fcn.140043c90
movsxd rax, dword [rbx + 0xb8]
mov rbp, qword [rsp + 0x150]
test eax, eax
jle 0x1400841ac
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x68]
mov byte [rax + rcx*8 - 0x15], 3
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x1400841c8
mov eax, dword [rdi + 0xb8]
not r14d
movsxd rcx, r14d
mov dword [rdx + rcx*4], eax
movzx r14d, byte [rsp + 0x188]
inc r12d
lea rcx, [0x140083ad0]
add r15, 0x28
cmp r12d, dword [r13]
jl 0x140083f90
movzx r15d, byte [rsp + 0x190]
mov rsi, qword [rsp + 0xa8]
test r14b, r14b
je 0x1400846f3
cmp qword [rsp + 0x98], 0
jne 0x1400846f3
mov rcx, rdi
call fcn.140043280
mov r12, qword [rsp + 0x158]
mov r14d, eax
movzx ebx, byte [r12 + 0x47]
cmp r15b, 0xa
je 0x140084242
movzx ebx, r15b
jmp 0x14008424d
movzx r15d, byte [rsp + 0x190]
jmp 0x1400841fa
cmp ebx, 0xa
mov eax, 2
cmove ebx, eax
mov r8d, dword [rsp + 0x180]
test r8d, r8d
je 0x1400842d9
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140084289
mov dword [rsp + 0x20], r8d
mov r9d, r14d
mov r8d, dword [rsp + 0x178]
mov edx, 0x25
mov rcx, rdi
call fcn.140042bc0
jmp 0x1400842c1
mov edx, dword [rsp + 0x178]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov dword [rax + rcx*8 + 4], edx
xor edx, edx
mov qword [rax + rcx*8 + 0x10], rdx
mov word [rax + rcx*8], 0x25
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
movsxd rax, dword [rdi + 0xb8]
test eax, eax
jle 0x1400842d9
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov byte [rax + rcx*8 - 0x15], 0x90
cmp ebx, 5
jne 0x140084378
cmp r15b, bl
je 0x140084378
mov rcx, qword [r12 + 0x10]
test rcx, rcx
je 0x140084378
nop dword [rax]
movzx eax, byte [rcx + 0x62]
sub al, 3
cmp al, 1
jbe 0x140084315
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x140084300
jmp 0x140084378
movsxd rdx, dword [rdi + 0xb8]
mov rax, qword [rdi + 0x18]
mov dword [rsp + 0x88], edx
cmp dword [rax + 0x3c], edx
jg 0x14008434c
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0xd]
call fcn.140042bc0
mov dword [rsp + 0x88], eax
jmp 0x140084378
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
xor edx, edx
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], rdx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
mov r13d, dword [rsp + 0x178]
cmp dword [rax + 0x3c], ecx
jg 0x1400843b2
mov r8d, dword [rsp + 0x168]
mov r9d, r14d
mov edx, 0x21
mov dword [rsp + 0x20], r13d
mov rcx, rdi
call fcn.140042bc0
xor r10d, r10d
jmp 0x1400843eb
mov edx, dword [rsp + 0x168]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
xor r10d, r10d
mov word [rax + rcx*8], 0x21
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r10
mov ecx, ebx
sub ecx, 1
je 0x140084413
sub ecx, 1
je 0x140084413
sub ecx, 1
je 0x140084413
sub ecx, 1
je 0x14008461e
cmp ecx, 1
je 0x140084498
mov ebx, 2
mov r8, r12
mov edx, ebx
mov rcx, rbp
call fcn.140074360
xor r10d, r10d
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x14008443f
mov eax, dword [rdi + 0xb8]
not r14d
movsxd rcx, r14d
mov dword [rdx + rcx*4], eax
mov r8d, dword [rsp + 0x88]
test r8d, r8d
je 0x1400846fb
movsxd r9, dword [rdi + 0xb8]
mov rax, qword [rdi + 0x18]
mov dword [rsp + 0xa0], r9d
cmp dword [rax + 0x3c], r9d
jg 0x14008468a
xor r9d, r9d
mov dword [rsp + 0x20], r10d
xor r8d, r8d
mov rcx, rdi
lea edx, [r9 + 0xd]
call fcn.140042bc0
mov r8d, dword [rsp + 0x88]
mov dword [rsp + 0xa0], eax
jmp 0x1400846ba
test dword [rsi + 0x2c], 0x40000
mov rbx, r10
mov r15, qword [rsp + 0x150]
je 0x14008450c
mov rax, qword [r15]
mov esi, r10d
mov rbp, r10
test dword [rax + 0x2c], 0x1000000
je 0x1400844cf
mov rdx, r12
mov rcx, r15
call fcn.1400a0800
mov rbp, rax
xor r10d, r10d
mov rbx, rbp
test rbp, rbp
je 0x1400844fe
cmp byte [rbx + 0x10], 0x6d
jne 0x1400844f2
mov rcx, qword [rbx + 0x20]
xor edx, edx
call fcn.1400a2000
test eax, eax
je 0x1400844f2
movzx eax, byte [rbx + 0x11]
or esi, eax
mov rbx, qword [rbx + 0x40]
test rbx, rbx
jne 0x1400844d7
xor r10d, r10d
test esi, esi
mov rbx, r10
cmovne rbx, rbp
test rbx, rbx
jne 0x14008455e
mov rax, qword [r15]
test dword [rax + 0x2c], 0x80000
je 0x1400845c6
mov rcx, qword [r12 + 0x68]
lea r8, [rsp + 0xbc]
mov rdx, qword [r12]
add rcx, 0x50
call fcn.1400225e0
test rax, rax
je 0x140084542
cmp qword [rax + 0x10], 0
jne 0x140084551
cmp qword [r12 + 0x20], 0
jne 0x140084551
xor eax, eax
lea esi, [rax + 1]
jmp 0x140084558
mov esi, 1
mov eax, esi
test eax, eax
je 0x1400845cb
jmp 0x140084563
mov esi, 1
mov rax, qword [r15 + 0xa0]
mov rcx, r15
mov r9d, dword [rsp + 0x168]
test rax, rax
mov dword [rsp + 0x50], 0xffffffff
mov r8, rbx
mov byte [rsp + 0x48], 1
cmovne rcx, rax
mov eax, dword [rsp + 0x170]
mov rdx, r12
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov byte [rcx + 0x20], 1
mov rcx, r15
mov word [rsp + 0x30], si
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
call fcn.140077a70
mov dword [rsp + 0x8c], esi
jmp 0x140084420
mov esi, 1
cmp qword [r12 + 0x10], 0
je 0x140084612
mov rax, qword [r15 + 0xa0]
mov rcx, r15
mov r9d, dword [rsp + 0x170]
test rax, rax
mov r8d, dword [rsp + 0x168]
mov rdx, r12
cmovne rcx, rax
mov dword [rsp + 0x28], 0xffffffff
xor eax, eax
mov qword [rsp + 0x20], rax
mov byte [rcx + 0x20], 1
mov rcx, r15
call fcn.140077ff0
mov dword [rsp + 0x8c], esi
jmp 0x140084420
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x14008464f
mov r9d, dword [rsp + 0x198]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r10d
lea edx, [r8 + 0xd]
call fcn.140042bc0
jmp 0x140084420
mov edx, dword [rsp + 0x198]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r10d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
jmp 0x140084423
lea rcx, [r9 + r9*2]
lea eax, [r9 + 1]
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], 0
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rax, qword [rdi]
mov edx, dword [rdi + 0xb8]
cmp byte [rax + 0x55], 0
je 0x1400846d5
lea rax, [0x1401bac90]
mov dword [rax + 8], edx
jmp 0x1400846fb
lea eax, [rdx - 1]
test r8d, r8d
cmovns eax, r8d
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov dword [rax + rcx*8 + 8], edx
lea rax, [rax + rcx*8]
jmp 0x1400846fb
mov r12, qword [rsp + 0x158]
mov rbp, qword [r12 + 0x10]
xor r13d, r13d
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0xc0], rbp
test rbp, rbp
je 0x1400853ae
mov r15, qword [rsp + 0x160]
mov ebx, r13d
mov qword [rsp + 0x78], rbx
mov eax, r13d
nop dword [rax]
cmp dword [r15 + rbx*4], 0
je 0x14008538b
cmp byte [rsp + 0x64], 0
mov esi, dword [rsp + 0x80]
jne 0x140084760
mov r8d, esi
mov rdx, r12
mov rcx, rdi
call fcn.140080dc0
mov eax, dword [rsp + 0x60]
mov byte [rsp + 0x64], 1
mov r13d, dword [rsp + 0x170]
mov rcx, rdi
add r13d, eax
mov dword [rsp + 0x90], r13d
call fcn.140043280
cmp qword [rbp + 0x48], 0
mov r14d, eax
mov dword [rsp + 0x84], eax
je 0x140084856
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
mov edx, dword [r15 + rbx*4]
cmp dword [rax + 0x3c], ecx
jg 0x1400847c0
xor eax, eax
mov r9d, edx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0x4f]
call fcn.140042bc0
xor r8d, r8d
jmp 0x1400847f2
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x4f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov r12, qword [rsp + 0x150]
mov dword [r12 + 0x44], esi
mov rdx, qword [rbp + 0x48]
mov rsi, qword [r12]
test rdx, rdx
je 0x14008481f
xor r9d, r9d
xor r8d, r8d
mov rcx, rsi
call fcn.14005c090
mov rbx, rax
jmp 0x140084822
mov rbx, r8
cmp byte [rsi + 0x55], 0
jne 0x14008483c
mov r9d, 0x10
mov r8d, r14d
mov rdx, rbx
mov rcx, r12
call fcn.140063870
test rbx, rbx
je 0x14008484c
mov rdx, rbx
mov rcx, rsi
call fcn.14005bda0
xor r9d, r9d
mov dword [r12 + 0x44], r9d
jmp 0x140084861
mov r12, qword [rsp + 0x150]
xor r9d, r9d
movzx ecx, word [rbp + 0x60]
cmp ecx, 1
jne 0x14008489c
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x140084884
inc dword [r12 + 0x38]
mov eax, dword [r12 + 0x38]
mov dword [rsp + 0x68], eax
jmp 0x1400848d4
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov eax, dword [r12 + rax*4 + 0x18c]
mov dword [rsp + 0x68], eax
jmp 0x1400848d4
mov edx, dword [r12 + 0x28]
mov r8d, dword [r12 + 0x2c]
mov dword [rsp + 0x68], r8d
cmp ecx, edx
jg 0x1400848c1
lea eax, [rcx + r8]
sub edx, ecx
mov dword [r12 + 0x2c], eax
mov dword [r12 + 0x28], edx
jmp 0x1400848d4
mov eax, dword [r12 + 0x38]
lea edx, [rax + 1]
add eax, ecx
mov dword [r12 + 0x38], eax
mov dword [rsp + 0x68], edx
movzx ecx, word [rbp + 0x60]
cmp r9w, cx
jae 0x140084a4c
mov esi, dword [rsp + 0x68]
mov r15, r9
mov r13d, esi
mov r14, r9
nop
mov rax, qword [rbp + 8]
movsx edx, word [r14 + rax]
cmp edx, 0xfffffffe
jne 0x14008496e
mov eax, dword [rsp + 0x80]
mov dword [r12 + 0x44], eax
mov rax, qword [rbp + 0x50]
mov rbp, qword [r12]
mov rcx, qword [rax + 8]
mov rdx, qword [r15 + rcx]
test rdx, rdx
je 0x140084932
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
call fcn.14005c090
mov rbx, rax
jmp 0x140084935
mov rbx, r9
cmp byte [rbp + 0x55], 0
jne 0x140084949
mov r8d, esi
mov rdx, rbx
mov rcx, r12
call fcn.140062dd0
test rbx, rbx
je 0x140084959
mov rdx, rbx
mov rcx, rbp
call fcn.14005bda0
mov rbp, qword [rsp + 0xc0]
xor r9d, r9d
mov dword [r12 + 0x44], r9d
jmp 0x140084a19
cmp edx, 0xffffffff
je 0x140084993
mov rax, qword [rsp + 0x158]
movsx eax, word [rax + 0x3c]
cmp edx, eax
je 0x140084993
mov r8d, dword [rsp + 0x178]
inc r8d
add r8d, edx
jmp 0x1400849ba
cmp dword [rsp + 0xb0], esi
je 0x140084a19
cmp qword [rbp + 0x48], 0
mov eax, esi
mov r8d, dword [rsp + 0x178]
mov ecx, 0xffffffff
cmovne eax, ecx
mov dword [rsp + 0xb0], eax
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
sar edx, 0x1f
and edx, 1
add edx, 0x55
cmp dword [rax + 0x3c], ecx
jg 0x1400849e8
mov dword [rsp + 0x20], r9d
mov rcx, rdi
mov r9d, esi
call fcn.140042bc0
xor r9d, r9d
jmp 0x140084a19
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov byte [rax + rcx*8], dl
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov byte [rax + rcx*8 + 1], 0
movzx ecx, word [rbp + 0x60]
inc esi
mov eax, esi
add r14, 2
sub eax, r13d
add r15, 0x28
cmp eax, ecx
jl 0x1400848f0
mov r13d, dword [rsp + 0x90]
mov r14d, dword [rsp + 0x84]
mov r15, qword [rsp + 0x160]
mov rax, qword [rsp + 0x78]
movzx r8d, cx
movsxd rcx, dword [rdi + 0xb8]
mov edx, dword [r15 + rax*4]
mov rax, qword [rdi + 0x18]
mov r15d, dword [rsp + 0x68]
cmp dword [rax + 0x3c], ecx
jg 0x140084a87
mov dword [rsp + 0x20], edx
mov r9d, r8d
mov r8d, r15d
mov edx, 0x63
mov rcx, rdi
call fcn.140042bc0
jmp 0x140084ab6
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x63
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
movzx r8d, word [rbp + 0x60]
mov edx, r15d
mov rcx, r12
call fcn.140060a60
cmp dword [rsp + 0x180], 0
mov rsi, qword [rsp + 0x98]
je 0x140084b24
cmp rsi, rbp
jne 0x140084b24
cmp byte [rsp + 0x188], 0
jne 0x140084b24
xor r13d, r13d
mov rax, qword [rdi + 0x18]
mov r15, qword [rsp + 0x160]
mov r12, qword [rsp + 0x158]
mov rbx, qword [rsp + 0x78]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140085387
mov eax, dword [rdi + 0xb8]
not r14d
movsxd rcx, r14d
mov dword [rdx + rcx*4], eax
jmp 0x140085387
movzx ebx, byte [rbp + 0x62]
test ebx, ebx
jne 0x140084bb4
movzx r8d, word [rbp + 0x60]
cmp r8d, 1
jne 0x140084b8f
xor r13d, r13d
test r15d, r15d
je 0x140084aea
movzx r8d, byte [r12 + 0x1f]
cmp r8b, 8
jae 0x140084aea
movzx edx, byte [r12 + 0x25]
lea rax, [r12 + 0xc4]
mov ecx, r13d
test edx, edx
je 0x140084b74
cmp dword [rax + 0xc], r15d
je 0x140084b86
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x140084b64
mov dword [r12 + r8*4 + 0x18c], r15d
inc byte [r12 + 0x1f]
jmp 0x140084aea
mov byte [rax + 6], 1
jmp 0x140084aea
mov edx, r15d
call fcn.140060a60
xor r13d, r13d
cmp r8d, dword [r12 + 0x28]
jle 0x140084aea
mov dword [r12 + 0x28], r8d
mov dword [r12 + 0x2c], r15d
jmp 0x140084aea
movzx eax, byte [rsp + 0x190]
cmp al, 0xa
je 0x140084bc4
mov ebx, eax
jmp 0x140084bcf
cmp ebx, 0xa
mov eax, 2
cmove ebx, eax
movzx eax, word [rbp + 0x5e]
mov r9d, r14d
mov dword [rsp + 0x28], eax
mov r8d, r13d
mov edx, 0x1d
mov dword [rsp + 0x20], r15d
mov rcx, rdi
mov dword [rsp + 0x90], ebx
call fcn.140043190
cmp rbp, rsi
jne 0x140084c05
mov r14d, r15d
mov dword [rsp + 0x6c], r15d
jmp 0x140084c72
mov edx, dword [rsp + 0x70]
cmp edx, 1
jne 0x140084c38
movzx eax, byte [r12 + 0x1f]
test al, al
jne 0x140084c24
inc dword [r12 + 0x38]
mov r14d, dword [r12 + 0x38]
jmp 0x140084c6d
dec al
movzx eax, al
mov byte [r12 + 0x1f], al
mov r14d, dword [r12 + rax*4 + 0x18c]
jmp 0x140084c6d
mov ecx, dword [r12 + 0x28]
mov r14d, dword [r12 + 0x2c]
mov dword [rsp + 0x6c], r14d
cmp edx, ecx
jg 0x140084c5d
lea eax, [r14 + rdx]
sub ecx, edx
mov dword [r12 + 0x2c], eax
mov dword [r12 + 0x28], ecx
jmp 0x140084c72
mov eax, dword [r12 + 0x38]
lea r14d, [rax + 1]
add eax, edx
mov dword [r12 + 0x38], eax
mov dword [rsp + 0x6c], r14d
mov r8d, dword [rsp + 0x180]
test r8d, r8d
jne 0x140084c88
cmp ebx, 5
jne 0x1400850bb
mov rax, qword [rsp + 0x158]
test byte [rax + 0x46], 0x20
jne 0x140084d95
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140084cd0
xor eax, eax
mov r9d, r14d
mov r8d, r13d
mov dword [rsp + 0x20], eax
mov edx, 0x81
mov rcx, rdi
call fcn.140042bc0
mov r8d, dword [rsp + 0x180]
xor r9d, r9d
jmp 0x140084d03
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x81
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
test r8d, r8d
je 0x1400850bb
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140084d3b
mov r9d, dword [rsp + 0x84]
mov edx, 0x25
mov dword [rsp + 0x20], r8d
mov rcx, rdi
mov r8d, r14d
call fcn.140042bc0
jmp 0x140084d71
mov edx, dword [rsp + 0x84]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x25
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rax, dword [rdi + 0xb8]
xor r13d, r13d
test eax, eax
jle 0x1400850be
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov byte [rax + rcx*8 - 0x15], 0x90
jmp 0x1400850be
cmp rbp, rsi
je 0x140084e86
xor r10d, r10d
cmp r10w, word [rsi + 0x5e]
jae 0x140084e86
mov r15, qword [rsp + 0x98]
lea r12d, [r10 - 1]
mov ebx, r14d
mov esi, r10d
nop
movzx edx, word [rbp + 0x60]
mov ecx, r10d
test edx, edx
je 0x140084df0
mov rax, qword [r15 + 8]
mov r8, qword [rbp + 8]
movzx r9d, word [rsi + rax]
nop dword [rax + rax]
movsxd rax, ecx
cmp r9w, word [r8 + rax*2]
je 0x140084df4
inc ecx
cmp ecx, edx
jl 0x140084de0
movzx ecx, r12w
mov rax, qword [rdi + 0x18]
movsx edx, cx
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140084e23
mov r9d, edx
mov dword [rsp + 0x20], ebx
mov edx, 0x60
mov r8d, r13d
mov rcx, rdi
call fcn.140042bc0
xor r10d, r10d
jmp 0x140084e51
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0x60
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], r10
movzx eax, word [r15 + 0x5e]
inc ebx
mov ecx, ebx
add rsi, 2
sub ecx, r14d
cmp ecx, eax
jl 0x140084dc0
mov r12, qword [rsp + 0x150]
mov r15d, dword [rsp + 0x68]
mov rsi, qword [rsp + 0x98]
mov r8d, dword [rsp + 0x180]
test r8d, r8d
je 0x1400850bb
movzx ecx, word [rsi + 0x5e]
mov edx, dword [rdi + 0xb8]
mov eax, dword [rbp + 0x64]
add edx, ecx
and al, 3
mov dword [rsp + 0xb4], edx
cmp al, 2
mov dword [rsp + 0xb8], 0x24
mov edx, r14d
cmove edx, r15d
xor r13d, r13d
mov dword [rsp + 0xbc], edx
mov r15d, r13d
test ecx, ecx
je 0x1400851df
mov r12d, r13d
nop dword [rax]
nop word [rax + rax]
mov rax, qword [rsi + 0x40]
mov r10, qword [rsp + 0x150]
mov rbp, qword [rax + r13]
mov rax, qword [r10]
movzx r14d, byte [rax + 0x52]
movzx esi, byte [rax + 0xa9]
test rbp, rbp
je 0x140084f1f
mov r8d, esi
mov rdx, rbp
mov rcx, rax
call fcn.140075550
mov r10, qword [rsp + 0x150]
mov rbx, rax
jmp 0x140084f23
mov rbx, qword [rax + 0x10]
test rbx, rbx
je 0x140084f34
lea rcx, [r14 + r14*4]
lea rbx, [rbx + rcx*8]
add rbx, 0xffffffffffffffd8
test sil, sil
jne 0x140084f5a
test rbx, rbx
je 0x140084f45
cmp qword [rbx + 0x18], 0
jne 0x140084f5a
mov r9, rbp
mov r8, rbx
movzx edx, r14b
mov rcx, r10
call fcn.1400753f0
mov rbx, rax
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsi + 8]
movsx eax, word [r12 + rcx]
movzx ecx, word [rsi + 0x5e]
dec ecx
cmp r15d, ecx
jne 0x140084f96
mov r10d, dword [rsp + 0x84]
mov r11d, 0x25
mov dword [rsp + 0xb8], r11d
mov dword [rsp + 0xb4], r10d
jmp 0x140084fa6
mov r10d, dword [rsp + 0xb4]
mov r11d, dword [rsp + 0xb8]
mov r8d, dword [rsp + 0x180]
mov r9d, dword [rsp + 0xbc]
inc r8d
movsxd rdx, dword [rdi + 0xb8]
add r8d, eax
mov rax, qword [rdi + 0x18]
add r9d, r15d
cmp dword [rax + 0x3c], edx
jg 0x140084fe6
mov dword [rsp + 0x20], r9d
mov edx, r11d
mov r9d, r10d
mov rcx, rdi
call fcn.140042bc0
mov edx, eax
jmp 0x14008501c
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0xb8], eax
mov rax, qword [rdi + 0x68]
mov dword [rax + rcx*8 + 4], r8d
xor r8d, r8d
mov qword [rax + rcx*8 + 0x10], r8
mov byte [rax + rcx*8 + 1], r8b
mov byte [rax + rcx*8], r11b
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 8], r10d
mov dword [rax + rcx*8 + 0xc], r9d
mov rcx, qword [rdi]
cmp byte [rcx + 0x55], 0
je 0x140085034
mov r8, rbx
mov edx, 0xfffffffc
call fcn.140043970
jmp 0x140085076
test edx, edx
jns 0x140085040
mov edx, dword [rdi + 0xb8]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
cmp byte [rax + rcx*8 + 1], 0
lea rdx, [rax + rcx*8]
je 0x140085069
mov r9d, 0xfffffffc
mov r8, rbx
mov rcx, rdi
call fcn.140043c90
jmp 0x140085076
test rbx, rbx
je 0x140085076
mov qword [rdx + 0x10], rbx
mov byte [rdx + 1], 0xfc
movsxd rax, dword [rdi + 0xb8]
test eax, eax
jle 0x14008508e
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
mov byte [rax + rcx*8 - 0x15], 0x90
movzx eax, word [rsi + 0x5e]
inc r15d
add r13, 8
add r12, 2
cmp r15d, eax
jl 0x140084ee0
mov r12, qword [rsp + 0x150]
mov r15d, dword [rsp + 0x68]
mov rbp, qword [rsp + 0xc0]
xor r13d, r13d
mov edx, dword [rsp + 0x90]
mov ecx, edx
sub ecx, 1
je 0x14008524f
sub ecx, 1
je 0x14008524f
sub ecx, 1
je 0x14008524f
cmp ecx, 1
je 0x1400851e9
mov rax, qword [r12 + 0xa0]
mov rcx, r12
test rax, rax
mov r8, r13
cmovne rcx, rax
mov rax, qword [rsp + 0xa8]
mov byte [rcx + 0x20], 1
test dword [rax + 0x2c], 0x40000
je 0x140085178
mov rax, qword [r12]
mov esi, r13d
mov rbp, r13
test dword [rax + 0x2c], 0x1000000
je 0x14008513b
mov rdx, qword [rsp + 0x158]
mov rcx, r12
call fcn.1400a0800
mov rbp, rax
mov rbx, rbp
test rbp, rbp
je 0x140085167
cmp byte [rbx + 0x10], 0x6d
jne 0x14008515e
mov rcx, qword [rbx + 0x20]
xor edx, edx
call fcn.1400a2000
test eax, eax
je 0x14008515e
movzx eax, byte [rbx + 0x11]
or esi, eax
mov rbx, qword [rbx + 0x40]
test rbx, rbx
jne 0x140085143
test esi, esi
mov r8, r13
cmovne r8, rbp
mov rbp, qword [rsp + 0xc0]
cmp rbp, qword [rsp + 0x98]
mov rcx, r12
mov r14d, dword [rsp + 0x70]
mov esi, dword [rsp + 0x6c]
sete al
mov r9d, dword [rsp + 0x168]
mov rdx, qword [rsp + 0x158]
mov dword [rsp + 0x50], 0xffffffff
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x170]
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov word [rsp + 0x30], r14w
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], eax
call fcn.140077a70
mov dword [rsp + 0x8c], 1
jmp 0x140085263
mov r15d, dword [rsp + 0x68]
jmp 0x1400850be
mov rax, qword [rdi + 0x18]
movsxd rcx, dword [rdi + 0xb8]
cmp dword [rax + 0x3c], ecx
jg 0x140085217
mov r9d, dword [rsp + 0x198]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x20], r13d
lea edx, [r8 + 0xd]
call fcn.140042bc0
jmp 0x14008525a
mov edx, dword [rsp + 0x198]
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
jmp 0x14008525a
mov r8, rbp
mov rcx, r12
call fcn.140074090
mov esi, dword [rsp + 0x6c]
mov r14d, dword [rsp + 0x70]
mov rax, qword [rdi + 0x18]
mov rdx, qword [rax + 0x58]
test rdx, rdx
je 0x140085285
mov eax, dword [rsp + 0x84]
not eax
movsxd rcx, eax
mov eax, dword [rdi + 0xb8]
mov dword [rdx + rcx*4], eax
movzx r8d, word [rbp + 0x60]
cmp r8d, 1
jne 0x1400852e5
test r15d, r15d
je 0x1400852d3
movzx r8d, byte [r12 + 0x1f]
cmp r8b, 8
jae 0x1400852d3
movzx edx, byte [r12 + 0x25]
lea rax, [r12 + 0xc4]
mov ecx, r13d
test edx, edx
je 0x1400852c6
cmp dword [rax + 0xc], r15d
je 0x1400852da
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x1400852b6
mov dword [r12 + r8*4 + 0x18c], r15d
inc byte [r12 + 0x1f]
lea rbx, [r12 + 0x28]
jmp 0x140085304
mov byte [rax + 6], 1
lea rbx, [r12 + 0x28]
jmp 0x140085304
mov edx, r15d
mov rcx, r12
call fcn.140060a60
cmp r8d, dword [r12 + 0x28]
lea rbx, [r12 + 0x28]
jle 0x140085304
mov dword [rbx], r8d
mov dword [r12 + 0x2c], r15d
cmp esi, r15d
je 0x140085372
cmp r14d, 1
jne 0x140085358
test esi, esi
je 0x140085372
movzx r8d, byte [r12 + 0x1f]
cmp r8b, 8
jae 0x140085372
movzx edx, byte [r12 + 0x25]
lea rax, [r12 + 0xc4]
mov ecx, r13d
test edx, edx
je 0x140085343
cmp dword [rax + 0xc], esi
je 0x140085352
inc ecx
add rax, 0x14
cmp ecx, edx
jl 0x140085334
mov dword [r12 + r8*4 + 0x18c], esi
inc byte [r12 + 0x1f]
jmp 0x140085372
mov byte [rax + 6], 1
jmp 0x140085372
mov r8d, r14d
mov edx, esi
mov rcx, r12
call fcn.140060a60
cmp r14d, dword [rbx]
jle 0x140085372
mov dword [rbx], r14d
mov dword [r12 + 0x2c], esi
mov rbx, qword [rsp + 0x78]
mov r12, qword [rsp + 0x158]
mov r15, qword [rsp + 0x160]
mov eax, dword [rsp + 0x60]
mov rbp, qword [rbp + 0x28]
inc eax
inc rbx
mov qword [rsp + 0xc0], rbp
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x78], rbx
test rbp, rbp
jne 0x140084730
mov eax, dword [rsp + 0x88]
mov r15, qword [rsp + 0x108]
mov r14, qword [rsp + 0x110]
mov r12, qword [rsp + 0x118]
mov rsi, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
mov rbx, qword [rsp + 0x130]
test eax, eax
je 0x140085482
movsxd rcx, dword [rdi + 0xb8]
lea r8d, [rax + 1]
mov rax, qword [rdi + 0x18]
cmp dword [rax + 0x3c], ecx
jg 0x14008541a
mov r9d, r8d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 0xd]
call fcn.140042bc0
jmp 0x14008544a
lea eax, [rcx + 1]
mov dword [rdi + 0xb8], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x68]
mov word [rax + rcx*8], 0xd
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r13d
mov qword [rax + rcx*8 + 0x10], r13
mov ecx, dword [rsp + 0xa0]
mov edx, dword [rdi + 0xb8]
test ecx, ecx
jns 0x14008545e
lea ecx, [rdx - 1]
mov rax, qword [rdi]
cmp byte [rax + 0x55], 0
je 0x140085470
lea rax, [0x1401bac90]
jmp 0x14008547f
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x68]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0x8c]
mov dword [rax], ecx
add rsp, 0x138
pop r13
pop rdi
ret