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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov rbx, qword [rcx + 0x10]
mov r14d, edx
mov rdi, rcx
test rbx, rbx
jne 0x1802f34b0
cmp qword [rcx + 0xa0], rbx
jne 0x1802f34a8
mov rax, qword [rcx]
test byte [rax + 0x5c], 8
jne 0x1802f34a8
mov byte [rcx + 0x23], 1
call fcn.1802baed0
mov rbx, rax
dec dword [rdi + 0x44]
xor r8d, r8d
mov esi, dword [rdi + 0x34]
mov r12d, dword [rdi + 0x44]
dec esi
mov r13, qword [rsp + 0xc0]
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x34], r12d
cmp dword [rsp + 0xd8], r8d
jge 0x1802f3539
movsxd rcx, dword [rbx + 0x90]
movzx edx, byte [r13 + 0x2c]
cmp dword [rbx + 0x94], ecx
jg 0x1802f350b
mov dword [rsp + 0x20], r8d
mov r9d, r12d
mov r8d, edx
mov rcx, rbx
mov edx, 0x2f
call fcn.1802bb270
xor r8d, r8d
jmp 0x1802f3539
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x2f
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
mov r15d, dword [r13 + 0x28]
mov ebp, r8d
mov dword [rsp + 0x3c], r15d
test r15d, r15d
jle 0x1802f3659
mov rsi, qword [rsp + 0xc8]
xor r14d, r14d
mov edi, dword [rsp + 0xd0]
mov r10, qword [r13]
movzx eax, word [rsi]
test byte [r10 + 0x40], 0x20
je 0x1802f35cd
test ax, ax
js 0x1802f35cd
movsx ecx, ax
mov r11d, r14d
movzx edx, r14w
test ecx, ecx
jle 0x1802f35aa
mov r8, qword [r10 + 8]
add r8, 0x1c
mov r11d, ecx
mov r9d, ecx
nop
movzx eax, byte [r8]
lea ecx, [rdx + 1]
and al, 0x20
lea r8, [r8 + 0x20]
cmovne cx, dx
movzx edx, cx
sub r9, 1
jne 0x1802f3590
mov rax, qword [r10 + 8]
movsxd rcx, r11d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f35ca
movzx eax, word [r10 + 0x48]
sub ax, dx
add ax, r11w
jmp 0x1802f35cd
movzx eax, dx
movsxd rcx, dword [rbx + 0x90]
lea edx, [rdi + 1]
cwde
add edx, eax
cmp dword [rbx + 0x94], ecx
jg 0x1802f35fc
mov r8d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x32
mov r9d, r12d
mov rcx, rbx
call fcn.1802bb270
jmp 0x1802f362a
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x32
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r14
mov r15d, dword [r13 + 0x28]
inc ebp
add rsi, 4
mov dword [rsp + 0x3c], r15d
cmp ebp, r15d
jl 0x1802f3560
mov rdi, qword [rsp + 0xa0]
xor r8d, r8d
mov r14d, dword [rsp + 0xa8]
mov esi, dword [rsp + 0x30]
cmp dword [rsp + 0xe0], 0
jne 0x1802f3fbe
mov rbp, qword [rsp + 0xb8]
test rbp, rbp
jne 0x1802f392a
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1802f3688
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
jmp 0x1802f3697
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov esi, dword [rdi + rax*4 + 0xcc]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [r13]
movzx edx, word [rax]
call fcn.1802e4140
mov r15d, dword [rsp + 0xd0]
xor r8d, r8d
movsx ecx, ax
lea edx, [r15 + 1]
add edx, ecx
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1802f36eb
mov dword [rsp + 0x20], r8d
mov r9d, esi
mov r8d, edx
mov rcx, rbx
mov edx, 0x4e
call fcn.1802bb270
xor r8d, r8d
jmp 0x1802f3718
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x4e
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rbp, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ebp
jg 0x1802f3742
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, esi
mov rcx, rbx
lea edx, [r9 + 0xf]
call fcn.1802bb270
mov ebp, eax
jmp 0x1802f3776
lea eax, [rbp + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rbp*2]
mov rax, qword [rbx + 0x88]
add rcx, rbp
mov dword [rax + rcx*8], 0xf
mov dword [rax + rcx*8 + 4], esi
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0xb0]
cmp rax, qword [r13]
jne 0x1802f37c5
cmp dword [rsp + 0xd8], 1
jne 0x1802f37c5
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov edx, 0x35
mov rcx, rbx
call fcn.1802bb2d0
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1802f37c5
lea rcx, [rax + rax*2]
mov edx, 0x90
mov rax, qword [rbx + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov r9, qword [rsp + 0xb0]
mov r8d, r14d
mov r14d, dword [rsp + 0x30]
mov rcx, rdi
mov edx, r14d
mov dword [rsp + 0x20], 0x60
call fcn.1802f6490
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1802f3812
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r14d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.1802bb270
xor r15d, r15d
jmp 0x1802f3843
lea eax, [rcx + 1]
xor r15d, r15d
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x20
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r15
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1802f386b
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov rcx, rbx
lea edx, [r8 + 0xb]
call fcn.1802bb270
jmp 0x1802f3896
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0xb
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rax, qword [rbx]
lea rdx, [0x1804de2c0]
mov r8d, dword [rbx + 0x90]
cmp byte [rax + 0x61], 0
lea ecx, [r8 - 2]
je 0x1802f38b6
mov rax, rdx
jmp 0x1802f38d2
sar ecx, 0x1f
mov eax, r8d
sub eax, ecx
sub eax, 2
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], r8d
mov rax, qword [rbx]
mov r8d, dword [rbx + 0x90]
cmp byte [rax + 0x61], 0
jne 0x1802f3900
lea eax, [r8 - 1]
test ebp, ebp
cmovns eax, ebp
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rax + rcx*8]
mov dword [rdx + 8], r8d
test esi, esi
je 0x1802f3fc6
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1802f3fc6
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], esi
inc byte [rdi + 0x1f]
jmp 0x1802f3fc6
cmp r15d, 1
jne 0x1802f3963
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1802f3949
inc dword [rdi + 0x38]
mov r12d, dword [rdi + 0x38]
mov dword [rsp + 0xe0], r12d
jmp 0x1802f39a0
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xcc]
mov dword [rsp + 0xe0], r12d
jmp 0x1802f39a0
mov ecx, dword [rdi + 0x28]
mov edx, dword [rdi + 0x2c]
mov dword [rsp + 0xe0], edx
cmp r15d, ecx
jg 0x1802f3987
lea eax, [rdx + r15]
sub ecx, r15d
mov dword [rdi + 0x2c], eax
mov r12d, edx
mov dword [rdi + 0x28], ecx
jmp 0x1802f399c
mov eax, dword [rdi + 0x38]
lea r12d, [rax + 1]
add eax, r15d
mov dword [rdi + 0x38], eax
mov dword [rsp + 0xe0], r12d
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1802f39ac
inc dword [rdi + 0x38]
mov eax, dword [rdi + 0x38]
jmp 0x1802f39bb
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xcc]
movsxd rcx, dword [rbx + 0x90]
mov edx, dword [rbp + 0x58]
mov dword [rsp + 0x38], eax
cmp dword [rbx + 0x94], ecx
jg 0x1802f39eb
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x60
mov r8d, esi
mov rcx, rbx
call fcn.1802bb270
jmp 0x1802f3a18
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x60
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], r8
mov rsi, qword [rdi + 0x10]
mov rdx, rbp
mov rcx, rdi
call fcn.1802ebb70
mov rdx, rax
test rax, rax
je 0x1802f3a63
mov rcx, qword [rsi]
cmp byte [rcx + 0x61], 0
je 0x1802f3a47
mov r8, rax
mov edx, 0xfffffff7
call fcn.1802bc250
jmp 0x1802f3a63
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf7
mov qword [rax + rcx*8 - 8], rdx
test r15d, r15d
jle 0x1802f3b79
mov r14, qword [rsp + 0xc8]
mov esi, r12d
mov edi, dword [rsp + 0xd0]
xor r12d, r12d
mov ebp, r15d
nop dword [rax]
nop dword [rax + rax]
mov r10, qword [r13]
movzx eax, word [r14]
test byte [r10 + 0x40], 0x20
je 0x1802f3afd
test ax, ax
js 0x1802f3afd
movsx ecx, ax
mov r11d, r12d
movzx edx, r12w
test ecx, ecx
jle 0x1802f3ada
mov r8, qword [r10 + 8]
add r8, 0x1c
mov r11d, ecx
mov r9d, ecx
movzx eax, byte [r8]
lea ecx, [rdx + 1]
and al, 0x20
lea r8, [r8 + 0x20]
cmovne cx, dx
movzx edx, cx
sub r9, 1
jne 0x1802f3ac0
mov rax, qword [r10 + 8]
movsxd rcx, r11d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f3afa
movzx eax, word [r10 + 0x48]
sub ax, dx
add ax, r11w
jmp 0x1802f3afd
movzx eax, dx
movsxd rcx, dword [rbx + 0x90]
lea edx, [rdi + 1]
cwde
add edx, eax
cmp dword [rbx + 0x94], ecx
jg 0x1802f3b2c
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4d
mov r9d, esi
mov rcx, rbx
call fcn.1802bb270
jmp 0x1802f3b59
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], esi
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
inc esi
add r14, 4
sub rbp, 1
jne 0x1802f3a90
mov rdi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
cmp rax, qword [r13]
jne 0x1802f3dfa
cmp dword [rsp + 0xd8], 1
jne 0x1802f3dfa
mov esi, dword [rbx + 0x90]
lea eax, [rsi + 1]
add eax, r15d
test r15d, r15d
jle 0x1802f3da5
mov rcx, qword [rsp + 0xc8]
xor r9d, r9d
mov r13d, r15d
mov r12d, r9d
mov r15, qword [rsp + 0xc0]
mov edi, eax
nop dword [rax]
mov r10, qword [r15]
movzx eax, word [rcx]
test byte [r10 + 0x40], 0x20
je 0x1802f3c3d
test ax, ax
js 0x1802f3c3d
movsx ecx, ax
mov r11d, r9d
movzx edx, r9w
test ecx, ecx
jle 0x1802f3c1a
mov r8, qword [r10 + 8]
add r8, 0x1c
mov r11d, ecx
mov r9d, ecx
nop
movzx eax, byte [r8]
lea ecx, [rdx + 1]
and al, 0x20
lea r8, [r8 + 0x20]
cmovne cx, dx
movzx edx, cx
sub r9, 1
jne 0x1802f3c00
mov rax, qword [r10 + 8]
movsxd rcx, r11d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f3c3a
movzx eax, word [r10 + 0x48]
sub ax, dx
add ax, r11w
jmp 0x1802f3c3d
movzx eax, dx
mov r8d, dword [rsp + 0xd0]
cwde
lea r14d, [r8 + 1]
add r14d, eax
mov rax, qword [rbp + 8]
mov rbp, qword [rbp + 0x18]
movzx r11d, word [r12 + rax]
test byte [rbp + 0x40], 0x20
je 0x1802f3cc9
test r11w, r11w
js 0x1802f3cc9
movsx eax, r11w
mov r10d, r9d
movzx edx, r9w
test eax, eax
jle 0x1802f3ca5
mov r8, qword [rbp + 8]
add r8, 0x1c
mov r10d, eax
mov r9d, eax
movzx eax, byte [r8]
lea ecx, [rdx + 1]
and al, 0x20
lea r8, [r8 + 0x20]
cmovne cx, dx
movzx edx, cx
sub r9, 1
jne 0x1802f3c83
mov r8d, dword [rsp + 0xd0]
mov rax, qword [rbp + 8]
movsxd rcx, r10d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f3cc4
movzx eax, word [rbp + 0x48]
sub ax, dx
add ax, r10w
jmp 0x1802f3ccd
movzx eax, dx
jmp 0x1802f3ccd
movzx eax, r11w
movsx edx, ax
mov rax, qword [rsp + 0xb0]
inc edx
add edx, r8d
cmp r11w, word [rax + 0x44]
cmove edx, r8d
cmp dword [rbx + 0x94], esi
jg 0x1802f3d0a
mov dword [rsp + 0x20], edx
mov r9d, edi
mov edx, 0x34
mov r8d, r14d
mov rcx, rbx
call fcn.1802bb270
xor r9d, r9d
jmp 0x1802f3d3a
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x34
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], edi
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r9
movsxd rsi, dword [rbx + 0x90]
mov eax, esi
test esi, esi
jle 0x1802f3d64
mov rax, qword [rbx + 0x88]
lea rcx, [rsi + rsi*2]
mov edx, 0x10
mov word [rax + rcx*8 - 0x16], dx
mov esi, dword [rbx + 0x90]
mov eax, esi
mov rcx, qword [rsp + 0xc8]
add r12, 2
mov rbp, qword [rsp + 0xb8]
add rcx, 4
mov qword [rsp + 0xc8], rcx
sub r13, 1
jne 0x1802f3bd0
mov rdi, qword [rsp + 0xa0]
mov esi, eax
mov r15d, dword [rsp + 0x3c]
mov r13, qword [rsp + 0xc0]
mov r12d, dword [rsp + 0x34]
xor ebp, ebp
cmp dword [rbx + 0x94], esi
jg 0x1802f3dcb
mov r9d, r12d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
lea edx, [rbp + 0xb]
mov rcx, rbx
call fcn.1802bb270
jmp 0x1802f3dff
lea eax, [rsi + 1]
mov dword [rbx + 0x90], eax
movsxd rax, esi
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0xb
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x1802f3dff
mov r12d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdi]
call fcn.1802f65e0
movsxd rdx, dword [rbx + 0x90]
mov rsi, rax
mov ebp, dword [rsp + 0x38]
mov r14d, dword [rsp + 0xe0]
cmp dword [rbx + 0x94], edx
jg 0x1802f3e48
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x5b
mov rcx, rbx
call fcn.1802bb270
mov edx, eax
jmp 0x1802f3e79
lea rcx, [rdx + rdx*2]
xor r8d, r8d
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x5b
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r8
mov rcx, qword [rbx]
cmp byte [rcx + 0x61], 0
je 0x1802f3e95
cmp r15d, 0xfffffff4
je 0x1802f3ef3
mov r8, rsi
mov edx, r15d
call fcn.1802bc250
jmp 0x1802f3ef3
test edx, edx
jns 0x1802f3ea1
mov edx, dword [rbx + 0x90]
dec edx
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rdx, [rax + rcx*8]
test r15d, r15d
jns 0x1802f3ee5
cmp byte [rdx + 1], 0
jne 0x1802f3ee5
cmp r15d, 0xfffffffd
jne 0x1802f3ecd
mov dword [rdx + 0x10], esi
mov byte [rdx + 1], r15b
jmp 0x1802f3ef3
test rsi, rsi
je 0x1802f3ef3
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], r15b
cmp r15d, 0xfffffff4
jne 0x1802f3ef3
inc dword [rsi + 0x18]
jmp 0x1802f3ef3
mov r9d, r15d
mov r8, rsi
mov rcx, rbx
call fcn.1802bc460
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], edx
jg 0x1802f3f22
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov edx, 0x1e
mov rcx, rbx
call fcn.1802bb270
mov edx, eax
xor r9d, r9d
jmp 0x1802f3f53
lea rcx, [rdx + rdx*2]
xor r9d, r9d
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x1e
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r12d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rbx]
cmp byte [rax + 0x61], 0
jne 0x1802f3f74
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], r9d
test ebp, ebp
je 0x1802f3f8d
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1802f3f8d
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], ebp
inc byte [rdi + 0x1f]
cmp r15d, 1
jne 0x1802f3fb0
test r14d, r14d
je 0x1802f3fbe
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1802f3fbe
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], r14d
inc byte [rdi + 0x1f]
jmp 0x1802f3fbe
cmp r15d, dword [rdi + 0x28]
jle 0x1802f3fbe
mov dword [rdi + 0x28], r15d
mov dword [rdi + 0x2c], r14d
mov r14d, dword [rsp + 0x30]
xor r15d, r15d
movzx edx, byte [r13 + 0x2c]
test dl, dl
jne 0x1802f400e
mov rax, qword [rdi]
mov ecx, dword [rax + 0x30]
bt rcx, 0x13
jb 0x1802f400e
cmp qword [rdi + 0xa0], 0
jne 0x1802f400e
cmp byte [rdi + 0x20], dl
jne 0x1802f400e
xor r9d, r9d
mov byte [rsp + 0x28], 4
mov edx, 0x313
mov byte [rsp + 0x20], 0xff
mov rcx, rdi
lea r8d, [r9 + 2]
call fcn.1802eb280
jmp 0x1802f4093
mov r8d, dword [rsp + 0xd8]
movzx eax, dl
test r8d, r8d
jle 0x1802f4039
test dl, dl
jne 0x1802f4039
mov rax, qword [rdi + 0xa0]
test rax, rax
cmovne rdi, rax
mov byte [rdi + 0x21], 1
movzx eax, byte [r13 + 0x2c]
movsxd rcx, dword [rbx + 0x90]
movzx edx, al
cmp dword [rbx + 0x94], ecx
jg 0x1802f4065
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
mov edx, 0x95
call fcn.1802bb270
jmp 0x1802f4093
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], ILFree
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r15
mov rcx, qword [rbx + 0x18]
not r12d
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x1802f40af
mov r8d, r12d
mov rdx, rbx
call fcn.1802bbc10
jmp 0x1802f40bf
mov rcx, qword [rcx + 0x50]
mov eax, dword [rbx + 0x90]
movsxd rdx, r12d
mov dword [rcx + rdx*4], eax
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1802f40e7
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, r14d
mov rcx, rbx
lea edx, [r9 + 0x74]
call fcn.1802bb270
jmp 0x1802f4115
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x74
mov dword [rax + rcx*8 + 4], r14d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r15
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret