Function at 0x1802f2780
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 0x1802f27d0
cmp qword [rcx + 0xa0], rbx
jne 0x1802f27c8
mov rax, qword [rcx]
test byte [rax + 0x5c], 8
jne 0x1802f27c8
mov byte [rcx + 0x23], 1
call fcn.1802ba1f0
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 0x1802f2859
movsxd rcx, dword [rbx + 0x90]
movzx edx, byte [r13 + 0x2c]
cmp dword [rbx + 0x94], ecx
jg 0x1802f282b
mov dword [rsp + 0x20], r8d
mov r9d, r12d
mov r8d, edx
mov rcx, rbx
mov edx, 0x2f
call fcn.1802ba590
xor r8d, r8d
jmp 0x1802f2859
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 0x1802f2979
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 0x1802f28ed
test ax, ax
js 0x1802f28ed
movsx ecx, ax
mov r11d, r14d
movzx edx, r14w
test ecx, ecx
jle 0x1802f28ca
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 0x1802f28b0
mov rax, qword [r10 + 8]
movsxd rcx, r11d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f28ea
movzx eax, word [r10 + 0x48]
sub ax, dx
add ax, r11w
jmp 0x1802f28ed
movzx eax, dx
movsxd rcx, dword [rbx + 0x90]
lea edx, [rdi + 1]
cwde
add edx, eax
cmp dword [rbx + 0x94], ecx
jg 0x1802f291c
mov r8d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x32
mov r9d, r12d
mov rcx, rbx
call fcn.1802ba590
jmp 0x1802f294a
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 0x1802f2880
mov rdi, qword [rsp + 0xa0]
xor r8d, r8d
mov r14d, dword [rsp + 0xa8]
mov esi, dword [rsp + 0x30]
cmp dword [rsp + 0xe0], 0
jne 0x1802f32de
mov rbp, qword [rsp + 0xb8]
test rbp, rbp
jne 0x1802f2c4a
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1802f29a8
inc dword [rdi + 0x38]
mov esi, dword [rdi + 0x38]
jmp 0x1802f29b7
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.1802e3460
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 0x1802f2a0b
mov dword [rsp + 0x20], r8d
mov r9d, esi
mov r8d, edx
mov rcx, rbx
mov edx, 0x4e
call fcn.1802ba590
xor r8d, r8d
jmp 0x1802f2a38
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 0x1802f2a62
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, esi
mov rcx, rbx
lea edx, [r9 + 0xf]
call fcn.1802ba590
mov ebp, eax
jmp 0x1802f2a96
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 0x1802f2ae5
cmp dword [rsp + 0xd8], 1
jne 0x1802f2ae5
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, r15d
mov edx, 0x35
mov rcx, rbx
call fcn.1802ba5f0
movsxd rax, dword [rbx + 0x90]
test eax, eax
jle 0x1802f2ae5
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.1802f57b0
movsxd rcx, dword [rbx + 0x90]
cmp dword [rbx + 0x94], ecx
jg 0x1802f2b32
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r14d
mov rcx, rbx
lea edx, [r9 + 0x20]
call fcn.1802ba590
xor r15d, r15d
jmp 0x1802f2b63
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 0x1802f2b8b
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov r9d, r12d
mov rcx, rbx
lea edx, [r8 + 0xb]
call fcn.1802ba590
jmp 0x1802f2bb6
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, [0x1804dc250]
mov r8d, dword [rbx + 0x90]
cmp byte [rax + 0x61], 0
lea ecx, [r8 - 2]
je 0x1802f2bd6
mov rax, rdx
jmp 0x1802f2bf2
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 0x1802f2c20
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 0x1802f32e6
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1802f32e6
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], esi
inc byte [rdi + 0x1f]
jmp 0x1802f32e6
cmp r15d, 1
jne 0x1802f2c83
movzx eax, byte [rdi + 0x1f]
test al, al
jne 0x1802f2c69
inc dword [rdi + 0x38]
mov r12d, dword [rdi + 0x38]
mov dword [rsp + 0xe0], r12d
jmp 0x1802f2cc0
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov r12d, dword [rdi + rax*4 + 0xcc]
mov dword [rsp + 0xe0], r12d
jmp 0x1802f2cc0
mov ecx, dword [rdi + 0x28]
mov edx, dword [rdi + 0x2c]
mov dword [rsp + 0xe0], edx
cmp r15d, ecx
jg 0x1802f2ca7
lea eax, [rdx + r15]
sub ecx, r15d
mov dword [rdi + 0x2c], eax
mov r12d, edx
mov dword [rdi + 0x28], ecx
jmp 0x1802f2cbc
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 0x1802f2ccc
inc dword [rdi + 0x38]
mov eax, dword [rdi + 0x38]
jmp 0x1802f2cdb
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 0x1802f2d0b
mov r9d, edx
mov dword [rsp + 0x20], r14d
mov edx, 0x60
mov r8d, esi
mov rcx, rbx
call fcn.1802ba590
jmp 0x1802f2d38
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.1802eae90
mov rdx, rax
test rax, rax
je 0x1802f2d83
mov rcx, qword [rsi]
cmp byte [rcx + 0x61], 0
je 0x1802f2d67
mov r8, rax
mov edx, 0xfffffff7
call fcn.1802bb570
jmp 0x1802f2d83
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 0x1802f2e99
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 0x1802f2e1d
test ax, ax
js 0x1802f2e1d
movsx ecx, ax
mov r11d, r12d
movzx edx, r12w
test ecx, ecx
jle 0x1802f2dfa
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 0x1802f2de0
mov rax, qword [r10 + 8]
movsxd rcx, r11d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f2e1a
movzx eax, word [r10 + 0x48]
sub ax, dx
add ax, r11w
jmp 0x1802f2e1d
movzx eax, dx
movsxd rcx, dword [rbx + 0x90]
lea edx, [rdi + 1]
cwde
add edx, eax
cmp dword [rbx + 0x94], ecx
jg 0x1802f2e4c
mov r8d, edx
mov dword [rsp + 0x20], r12d
mov edx, 0x4d
mov r9d, esi
mov rcx, rbx
call fcn.1802ba590
jmp 0x1802f2e79
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 0x1802f2db0
mov rdi, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xb8]
mov rax, qword [rsp + 0xb0]
cmp rax, qword [r13]
jne 0x1802f311a
cmp dword [rsp + 0xd8], 1
jne 0x1802f311a
mov esi, dword [rbx + 0x90]
lea eax, [rsi + 1]
add eax, r15d
test r15d, r15d
jle 0x1802f30c5
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 0x1802f2f5d
test ax, ax
js 0x1802f2f5d
movsx ecx, ax
mov r11d, r9d
movzx edx, r9w
test ecx, ecx
jle 0x1802f2f3a
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 0x1802f2f20
mov rax, qword [r10 + 8]
movsxd rcx, r11d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f2f5a
movzx eax, word [r10 + 0x48]
sub ax, dx
add ax, r11w
jmp 0x1802f2f5d
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 0x1802f2fe9
test r11w, r11w
js 0x1802f2fe9
movsx eax, r11w
mov r10d, r9d
movzx edx, r9w
test eax, eax
jle 0x1802f2fc5
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 0x1802f2fa3
mov r8d, dword [rsp + 0xd0]
mov rax, qword [rbp + 8]
movsxd rcx, r10d
shl rcx, 5
test byte [rcx + rax + 0x1c], 0x20
je 0x1802f2fe4
movzx eax, word [rbp + 0x48]
sub ax, dx
add ax, r10w
jmp 0x1802f2fed
movzx eax, dx
jmp 0x1802f2fed
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 0x1802f302a
mov dword [rsp + 0x20], edx
mov r9d, edi
mov edx, 0x34
mov r8d, r14d
mov rcx, rbx
call fcn.1802ba590
xor r9d, r9d
jmp 0x1802f305a
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 0x1802f3084
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 0x1802f2ef0
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 0x1802f30eb
mov r9d, r12d
mov dword [rsp + 0x20], ebp
xor r8d, r8d
lea edx, [rbp + 0xb]
mov rcx, rbx
call fcn.1802ba590
jmp 0x1802f311f
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 0x1802f311f
mov r12d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rdi]
call fcn.1802f5900
movsxd rdx, dword [rbx + 0x90]
mov rsi, rax
mov ebp, dword [rsp + 0x38]
mov r14d, dword [rsp + 0xe0]
cmp dword [rbx + 0x94], edx
jg 0x1802f3168
mov r9d, r15d
mov dword [rsp + 0x20], ebp
mov r8d, r14d
mov edx, 0x5b
mov rcx, rbx
call fcn.1802ba590
mov edx, eax
jmp 0x1802f3199
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 0x1802f31b5
cmp r15d, 0xfffffff4
je 0x1802f3213
mov r8, rsi
mov edx, r15d
call fcn.1802bb570
jmp 0x1802f3213
test edx, edx
jns 0x1802f31c1
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 0x1802f3205
cmp byte [rdx + 1], 0
jne 0x1802f3205
cmp r15d, 0xfffffffd
jne 0x1802f31ed
mov dword [rdx + 0x10], esi
mov byte [rdx + 1], r15b
jmp 0x1802f3213
test rsi, rsi
je 0x1802f3213
mov qword [rdx + 0x10], rsi
mov byte [rdx + 1], r15b
cmp r15d, 0xfffffff4
jne 0x1802f3213
inc dword [rsi + 0x18]
jmp 0x1802f3213
mov r9d, r15d
mov r8, rsi
mov rcx, rbx
call fcn.1802bb780
movsxd rdx, dword [rbx + 0x90]
mov r8d, dword [rsp + 0x30]
cmp dword [rbx + 0x94], edx
jg 0x1802f3242
mov r9d, r12d
mov dword [rsp + 0x20], ebp
mov edx, 0x1e
mov rcx, rbx
call fcn.1802ba590
mov edx, eax
xor r9d, r9d
jmp 0x1802f3273
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 0x1802f3294
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 0x1802f32ad
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1802f32ad
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], ebp
inc byte [rdi + 0x1f]
cmp r15d, 1
jne 0x1802f32d0
test r14d, r14d
je 0x1802f32de
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x1802f32de
movzx eax, al
mov dword [rdi + rax*4 + 0xcc], r14d
inc byte [rdi + 0x1f]
jmp 0x1802f32de
cmp r15d, dword [rdi + 0x28]
jle 0x1802f32de
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 0x1802f332e
mov rax, qword [rdi]
mov ecx, dword [rax + 0x30]
bt rcx, 0x13
jb 0x1802f332e
cmp qword [rdi + 0xa0], 0
jne 0x1802f332e
cmp byte [rdi + 0x20], dl
jne 0x1802f332e
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.1802ea5a0
jmp 0x1802f33b3
mov r8d, dword [rsp + 0xd8]
movzx eax, dl
test r8d, r8d
jle 0x1802f3359
test dl, dl
jne 0x1802f3359
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 0x1802f3385
mov r9d, r8d
mov dword [rsp + 0x20], r15d
mov r8d, edx
mov rcx, rbx
mov edx, 0x95
call fcn.1802ba590
jmp 0x1802f33b3
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 0x1802f33cf
mov r8d, r12d
mov rdx, rbx
call fcn.1802baf30
jmp 0x1802f33df
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 0x1802f3407
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov r8d, r14d
mov rcx, rbx
lea edx, [r9 + 0x74]
call fcn.1802ba590
jmp 0x1802f3435
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