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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x14031a320]
xor rax, rsp
mov qword [rsp + 0xe0], rax
mov rdi, qword [rcx + 0x10]
xor r11d, r11d
mov r12, qword [rsp + 0x150]
mov rbp, r8
mov qword [rsp + 0x80], r8
xor r14b, r14b
mov qword [rsp + 0x88], r9
mov rsi, rdx
movsxd r8, dword [rdi + 0x90]
mov r15, rcx
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x60], r11
mov dword [rsp + 0x58], r11d
mov dword [rsp + 0x50], r11d
mov qword [rsp + 0x98], rdi
mov dword [rsp + 0x5c], r8d
cmp dword [rdi + 0x94], r8d
jg 0x14009ea2d
xor r9d, r9d
mov dword [rsp + 0x20], r11d
xor r8d, r8d
lea edx, [r11 + 0x11]
mov rcx, rdi
call fcn.14002a730
mov dword [rsp + 0x5c], eax
xor r11d, r11d
jmp 0x14009ea54
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], reloc.WS2_32.dll_recvfrom
mov qword [rax + rcx*8 + 8], r11
mov qword [rax + rcx*8 + 0x10], r11
mov rbx, qword [rsi + 0x20]
mov r13d, r11d
mov rdx, qword [r12 + 0x50]
mov r9d, 3
movsxd rax, dword [rsi + 0x14]
mov r12, r11
mov rcx, qword [rbp + 0x20]
movabs r8, 0x8000000000000000
imul rax, rax, 0x38
mov dword [rsp + 0x40], r11d
add rax, rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x48], rdx
cmp rbx, rax
jae 0x14009ec6c
lea rax, [fcn.140045210]
lea rcx, [0x1400450b0]
nop dword [rax]
cmp qword [rdx], 0
mov rsi, qword [rbx]
jne 0x14009eb2e
test byte [rbx + 0x12], 2
jne 0x14009eb2e
test byte [rsi + 4], 1
jne 0x14009eb2e
mov qword [rsp + 0xb8], rax
mov rdx, rsi
mov eax, dword [rbp + 0x44]
mov qword [rsp + 0xc0], rcx
lea rcx, [rsp + 0xb0]
mov dword [rsp + 0xd8], eax
mov word [rsp + 0xd4], r9w
call fcn.14003ec50
cmp word [rsp + 0xd4], 0
je 0x14009eb29
mov rcx, qword [r15]
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
call fcn.140043dc0
mov rdx, qword [rsp + 0x60]
mov r8, rax
mov rcx, r15
call fcn.140043650
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x48]
mov eax, dword [rbp + 0x44]
cmp dword [rbx + 0x1c], eax
jne 0x14009ec37
movzx ecx, word [rbx + 0x14]
test cl, 0x82
je 0x14009ec37
test byte [rbp + 0x3c], 8
je 0x14009eb5e
mov rax, qword [rbx]
test byte [rax + 4], 1
jne 0x14009eb5e
test cl, cl
js 0x14009ec37
mov rax, qword [rsp + 0x88]
test qword [rbx + 0x28], rax
jne 0x14009ec37
movsxd rax, dword [rbx + 0x20]
test eax, eax
js 0x14009ec37
mov rdx, rax
mov rax, qword [rbp + 0x20]
shl rdx, 5
mov rcx, qword [rax + 8]
movzx edx, byte [rdx + rcx + 0x19]
mov rcx, qword [rbx]
call fcn.140042750
test eax, eax
je 0x14009ec32
movsxd rcx, dword [rbx + 0x20]
cmp ecx, 0x40
jl 0x14009ebb5
movabs rsi, 0x8000000000000000
jmp 0x14009ebbd
mov esi, 1
shl rsi, cl
test r14b, r14b
jne 0x14009ebed
mov rax, rcx
lea rdx, str.automatic_index_on__s__s_
mov rcx, qword [rsp + 0x68]
shl rax, 5
mov r9, qword [rcx + 8]
mov r8, qword [rcx]
mov ecx, 0x11c
mov r9, qword [rax + r9]
call fcn.140007170
mov r14b, 1
mov rdx, qword [rsp + 0x48]
test r12, rsi
jne 0x14009ec37
mov rcx, qword [r15]
lea ebp, [r13 + 1]
mov r8d, ebp
call fcn.14009fbb0
test eax, eax
jne 0x14009f5dd
mov rdx, qword [rsp + 0x48]
or r12, rsi
movsxd rcx, r13d
mov r13d, ebp
mov dword [rsp + 0x40], ebp
mov rbp, qword [rsp + 0x80]
mov rax, qword [rdx + 0x38]
mov qword [rax + rcx*8], rbx
jmp 0x14009ec37
mov rdx, qword [rsp + 0x48]
add rbx, 0x38
lea rax, [fcn.140045210]
lea rcx, [0x1400450b0]
mov r9d, 3
cmp rbx, qword [rsp + 0x78]
jb 0x14009eab0
mov rcx, qword [rsp + 0x68]
xor r11d, r11d
movabs r8, 0x8000000000000000
not r12
mov word [rdx + 0x2c], r13w
or r12, r8
mov word [rdx + 0x18], r13w
mov dword [rdx + 0x28], 0x4241
mov eax, 0x3f
mov r9, qword [rbp + 0x58]
movsx r8d, word [rcx + 0x46]
and r12, r9
mov qword [rsp + 0xa8], r12
cmp ax, r8w
jge 0x14009ecab
mov r10d, eax
mov dword [rsp + 0x54], eax
jmp 0x14009ecb9
mov dword [rsp + 0x54], r8d
mov r10d, r8d
cmp r11w, r8w
jge 0x14009ecdc
mov edx, r11d
nop dword [rax]
mov ecx, r13d
mov eax, edx
inc r13d
bt r12, rax
cmovae r13d, ecx
inc edx
cmp edx, r10d
jl 0x14009ecc0
mov dword [rsp + 0x40], r13d
test r9, r9
jns 0x14009eced
add r13d, 0xffffffc1
add r13d, r8d
mov dword [rsp + 0x40], r13d
mov r8, qword [r15]
lea ebx, [r13 + 1]
movsx rsi, bx
movsx r14d, bx
lea eax, [rsi + r14]
lea ecx, [rax*2 + 9]
add ecx, esi
lea eax, [rsi + 0xe]
and ecx, 0xfffffff8
lea eax, [rcx + rax*8]
movsxd rbp, eax
test r8, r8
je 0x14009ed27
mov rdx, rbp
mov rcx, r8
call fcn.1400048c0
jmp 0x14009ed2f
mov rcx, rbp
call fcn.140004220
mov r12, rax
test rax, rax
je 0x14009f5dd
mov r8, rbp
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov rbp, qword [rsp + 0x90]
lea rax, [r12 + 0x70]
mov r11, qword [rsp + 0x68]
lea rdx, [rax + rsi*8]
mov qword [r12 + 0x40], rax
xor r10d, r10d
lea eax, [r14 + 1]
mov word [r12 + 0x60], bx
mov r14, qword [rsp + 0x48]
mov ebx, r10d
movsxd rcx, eax
mov word [r12 + 0x5e], r13w
mov r13d, r10d
mov qword [r12 + 0x10], rdx
lea rax, [rdx + rcx*2]
mov qword [r12 + 8], rax
lea rax, [rax + rsi*2]
mov qword [r12 + 0x38], rax
lea rax, str.auto_index
mov qword [r14 + 0x20], r12
mov qword [r12], rax
mov qword [r12 + 0x18], r11
mov rsi, qword [rbp + 0x20]
cmp rsi, qword [rsp + 0x78]
jae 0x14009ef24
mov rdi, qword [rsp + 0x80]
mov ebp, r10d
mov r14d, r10d
nop dword [rax]
mov eax, dword [rdi + 0x44]
cmp dword [rsi + 0x1c], eax
jne 0x14009eef8
movzx ecx, word [rsi + 0x14]
test cl, 0x82
je 0x14009eef8
test byte [rdi + 0x3c], 8
je 0x14009ee00
mov rax, qword [rsi]
test byte [rax + 4], 1
jne 0x14009ee00
test cl, cl
js 0x14009eef8
mov rax, qword [rsp + 0x88]
test qword [rsi + 0x28], rax
jne 0x14009eef8
movsxd rax, dword [rsi + 0x20]
test eax, eax
js 0x14009eef8
mov rdx, rax
mov rax, qword [rdi + 0x20]
shl rdx, 5
mov rcx, qword [rax + 8]
movzx edx, byte [rdx + rcx + 0x19]
mov rcx, qword [rsi]
call fcn.140042750
test eax, eax
je 0x14009eef8
mov edx, dword [rsi + 0x20]
cmp edx, 0x40
jl 0x14009ee56
movabs rax, 0x8000000000000000
jmp 0x14009ee60
mov ecx, edx
mov eax, 1
shl rax, cl
test rbx, rax
jne 0x14009eef8
mov rcx, qword [rsi]
or rbx, rax
mov rax, qword [r12 + 8]
mov qword [rsp + 0xa0], rbx
mov word [r14 + rax], dx
test dword [rcx + 4], 0x200
je 0x14009ee94
mov rbx, qword [rcx + 0x10]
mov rdx, qword [rcx + 0x18]
jmp 0x14009ee9c
mov rbx, qword [rcx + 0x18]
mov rdx, qword [rcx + 0x10]
test dword [rdx + 4], 0x100
jne 0x14009eec3
test rbx, rbx
je 0x14009eeb3
test dword [rbx + 4], 0x100
jne 0x14009eec0
mov rcx, r15
call fcn.140042590
test rax, rax
jne 0x14009eed0
mov rdx, rbx
mov rcx, r15
call fcn.140042590
test rax, rax
je 0x14009eed5
mov rcx, qword [rax]
jmp 0x14009eedc
lea rcx, str.BINARY
mov rax, qword [r12 + 0x40]
inc r13d
mov rbx, qword [rsp + 0xa0]
add r14, 2
mov qword [rax + rbp], rcx
add rbp, 8
add rsi, 0x38
cmp rsi, qword [rsp + 0x78]
jb 0x14009edd0
mov rdi, qword [rsp + 0x98]
xor r10d, r10d
mov r11, qword [rsp + 0x68]
mov r14, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x90]
mov r9d, dword [rsp + 0x54]
lea rbx, str.BINARY
mov ecx, r10d
test r9d, r9d
jle 0x14009ef80
mov r10, qword [rsp + 0xa8]
movsxd rax, r13d
lea rdx, [rax*8]
lea r8, [rax + rax]
nop
mov eax, ecx
bt r10, rax
jae 0x14009ef76
mov rax, qword [r12 + 8]
inc r13d
mov word [r8 + rax], cx
add r8, 2
mov rax, qword [r12 + 0x40]
mov qword [rdx + rax], rbx
add rdx, 8
inc ecx
cmp ecx, r9d
jl 0x14009ef50
xor r10d, r10d
mov rax, qword [rsp + 0x80]
cmp qword [rax + 0x58], 0
jge 0x14009efdd
mov r8d, 0x3f
cmp r8w, word [r11 + 0x46]
jge 0x14009efdd
movsxd rax, r13d
lea rcx, [rax*8]
lea rdx, [rax + rax]
nop dword [rax + rax]
mov rax, qword [r12 + 8]
lea rdx, [rdx + 2]
inc r13d
lea rcx, [rcx + 8]
mov word [rdx + rax - 2], r8w
inc r8d
mov rax, qword [r12 + 0x40]
mov qword [rcx + rax - 8], rbx
movsx eax, word [r11 + 0x46]
cmp r8d, eax
jl 0x14009efb0
mov rax, qword [r12 + 8]
mov edx, 0xffffffff
mov rsi, qword [rsp + 0x70]
movsxd rcx, r13d
mov word [rax + rcx*2], dx
mov rax, qword [r12 + 0x40]
mov edx, dword [rsp + 0x40]
mov qword [rax + rcx*8], rbx
mov eax, dword [r15 + 0x34]
mov dword [rsi + 8], eax
inc dword [r15 + 0x34]
movsxd rcx, dword [rdi + 0x90]
inc edx
mov r8d, dword [rsi + 8]
cmp dword [rdi + 0x94], ecx
jg 0x14009f037
mov r9d, edx
mov dword [rsp + 0x20], r10d
mov edx, 0x64
mov rcx, rdi
call fcn.14002a730
jmp 0x14009f065
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x64
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r10d
mov qword [rax + rcx*8 + 0x10], r10
mov rbx, qword [r15 + 0x10]
mov rdx, r12
mov rcx, r15
call fcn.140060bb0
mov rdx, rax
test rax, rax
je 0x14009f0b0
mov rcx, qword [rbx]
cmp byte [rcx + 0x63], 0
je 0x14009f094
mov r8, rax
mov edx, 0xfffffff7
call fcn.14002b4f0
jmp 0x14009f0b0
movsxd rax, dword [rbx + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
mov byte [rax + rcx*8 - 0x17], 0xf7
mov qword [rax + rcx*8 - 8], rdx
movzx eax, byte [rsi + 0x34]
imul rdx, rax, 0x70
mov rax, qword [rbp]
mov rbp, qword [rax + 8]
add rbp, rdx
test byte [rbp + 0x48], 0x10
je 0x14009f1ef
movsxd r8, dword [rdi + 0x90]
mov esi, dword [rbp + 0x3c]
mov dword [rsp + 0x50], r8d
cmp dword [rdi + 0x94], r8d
jg 0x14009f105
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0x45]
call fcn.14002a730
mov dword [rsp + 0x50], eax
xor r8d, r8d
jmp 0x14009f12f
lea rcx, [r8 + r8*2]
lea eax, [r8 + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0x45
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
movsxd rcx, dword [rdi + 0x90]
mov edx, dword [rbp + 0x38]
cmp dword [rdi + 0x94], ecx
jg 0x14009f15c
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov r8d, esi
mov rcx, rdi
lea edx, [r9 + 0xd]
call fcn.14002a730
xor r8d, r8d
jmp 0x14009f189
lea eax, [rcx + 1]
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], reloc.WS2_32.dll_listen
mov dword [rax + rcx*8 + 4], esi
mov dword [rax + rcx*8 + 8], r8d
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], r8
movsxd rbx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ebx
jg 0x14009f1bb
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, esi
mov rcx, rdi
lea edx, [r9 + 0xe]
call fcn.14002a730
mov rsi, qword [rsp + 0x70]
mov ebx, eax
jmp 0x14009f248
lea rcx, [rbx + rbx*2]
lea eax, [rbx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 4], esi
mov rsi, qword [rsp + 0x70]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_14
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
jmp 0x14009f248
movsxd rbx, dword [rdi + 0x90]
mov edx, dword [rsi + 4]
cmp dword [rdi + 0x94], ebx
jg 0x14009f21c
xor eax, eax
mov r8d, edx
xor r9d, r9d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0x25]
call fcn.14002a730
mov ebx, eax
jmp 0x14009f248
lea rcx, [rbx + rbx*2]
xor r8d, r8d
lea eax, [rbx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], Ordinal_41
mov dword [rax + rcx*8 + 4], edx
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov rax, qword [rsp + 0x60]
mov ecx, reloc.WS2_32.dll_recv
test rax, rax
je 0x14009f27a
dec dword [r15 + 0x44]
mov r9d, ecx
mov r8d, dword [r15 + 0x44]
mov rcx, r15
mov rdx, rax
mov dword [rsp + 0x58], r8d
call fcn.14004bfb0
or dword [r14 + 0x28], 0x20000
movzx eax, byte [r15 + 0x1f]
test al, al
jne 0x14009f28d
inc dword [r15 + 0x38]
mov r14d, dword [r15 + 0x38]
jmp 0x14009f29e
dec al
movzx eax, al
mov byte [r15 + 0x1f], al
mov r14d, dword [r15 + rax*4 + 0xd0]
mov r8d, dword [rsi + 4]
xor eax, eax
mov dword [rsp + 0x38], eax
mov r9d, r14d
mov qword [rsp + 0x30], rax
mov rdx, r12
mov qword [rsp + 0x28], rax
mov rcx, r15
mov dword [rsp + 0x20], eax
call fcn.140063f60
movsxd rcx, dword [rdi + 0x90]
mov r12d, eax
mov edx, dword [rsi + 8]
cmp dword [rdi + 0x94], ecx
jg 0x14009f2f4
xor eax, eax
mov r8d, edx
mov edx, reloc.WLDAP32.dll_Ordinal_133
mov dword [rsp + 0x20], eax
mov r9d, r14d
mov rcx, rdi
call fcn.14002a730
jmp 0x14009f325
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_133
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r14d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rdx, dword [rdi + 0x90]
test edx, edx
jle 0x14009f34b
mov rax, qword [rdi + 0x88]
lea rcx, [rdx + rdx*2]
mov edx, reloc.WS2_32.dll_recv
mov word [rax + rcx*8 - 0x16], dx
mov edx, dword [rdi + 0x90]
cmp qword [rsp + 0x60], 0
je 0x14009f381
mov r9, qword [rdi + 0x18]
mov ecx, dword [rsp + 0x58]
not ecx
mov eax, dword [r9 + 0x48]
add eax, dword [r9 + 0x44]
jns 0x14009f377
mov r8d, ecx
mov rdx, rdi
mov rcx, r9
call fcn.14002b0b0
jmp 0x14009f381
mov rax, qword [r9 + 0x50]
movsxd rcx, ecx
mov dword [rax + rcx*4], edx
test byte [rbp + 0x48], 0x10
lea rsi, [0x140321520]
je 0x14009f4e1
mov ecx, dword [rsp + 0x50]
test ecx, ecx
jns 0x14009f3a2
mov ecx, dword [rdi + 0x90]
dec ecx
mov rax, qword [rdi]
cmp byte [rax + 0x63], 0
je 0x14009f3b0
mov rcx, rsi
jmp 0x14009f3c2
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rcx, [rax + rcx*8]
lea eax, [r12 + r13]
mov r12, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov ecx, ebx
mov r11d, dword [rbp + 0x40]
mov rdx, qword [r15 + 0x10]
mov r9d, dword [r12 + 8]
mov r10d, dword [r12 + 4]
test ebx, ebx
jns 0x14009f3ee
mov ecx, dword [rdx + 0x90]
dec ecx
mov rax, qword [rdx]
cmp byte [rax + 0x63], 0
je 0x14009f3fc
mov rcx, rsi
jmp 0x14009f40e
movsxd rax, ecx
lea rcx, [rax + rax*2]
mov rax, qword [rdx + 0x88]
lea rcx, [rax + rcx*8]
mov rax, qword [r15]
cmp byte [rax + 0x63], 0
jne 0x14009f47e
mov eax, dword [rdx + 0x90]
cmp ebx, eax
jge 0x14009f47e
sub eax, ebx
lea rdx, [rcx + 4]
mov r8d, eax
xor edi, edi
nop dword [rax]
cmp dword [rdx], r10d
jne 0x14009f46c
movzx eax, byte [rdx - 4]
cmp al, 0x5a
jne 0x14009f451
mov ecx, dword [rdx + 4]
mov eax, dword [rdx + 8]
add ecx, r11d
mov dword [rdx], ecx
mov byte [rdx - 4], 0x4d
mov dword [rdx + 4], eax
jmp 0x14009f469
cmp al, 0x82
jne 0x14009f46c
test r9d, r9d
je 0x14009f463
mov byte [rdx - 4], 0x79
mov dword [rdx], r9d
jmp 0x14009f46c
mov byte [rdx - 4], 0x48
mov dword [rdx], edi
mov dword [rdx + 8], edi
add rdx, 0x18
sub r8, 1
jne 0x14009f430
mov rdi, qword [rsp + 0x98]
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x14009f4ad
xor eax, eax
mov r9d, ebx
xor r8d, r8d
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea edx, [rax + 0xb]
call fcn.14002a730
and dword [rbp + 0x48], 0xffffffef
jmp 0x14009f564
lea eax, [rcx + 1]
xor edx, edx
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], Ordinal_14
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
and dword [rbp + 0x48], 0xffffffef
jmp 0x14009f564
mov r12, qword [rsp + 0x70]
lea edx, [rbx + 1]
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [r12 + 4]
cmp dword [rdi + 0x94], ecx
jg 0x14009f513
xor eax, eax
mov r9d, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea edx, [rax + 5]
call fcn.14002a730
jmp 0x14009f544
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 5
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
movsxd rax, dword [rdi + 0x90]
test eax, eax
jle 0x14009f564
lea rcx, [rax + rax*2]
mov edx, 3
mov rax, qword [rdi + 0x88]
mov word [rax + rcx*8 - 0x16], dx
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x63], 0
je 0x14009f578
mov rax, rsi
jmp 0x14009f591
lea eax, [rdx - 1]
test ebx, ebx
cmovns eax, ebx
cdqe
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
test r14d, r14d
je 0x14009f5ae
movzx eax, byte [r15 + 0x1f]
cmp al, 8
jae 0x14009f5ae
mov dword [r15 + rax*4 + 0xd0], r14d
inc byte [r15 + 0x1f]
mov rax, qword [rdi]
mov ecx, dword [rdi + 0x90]
cmp byte [rax + 0x63], 0
jne 0x14009f5da
mov edx, dword [rsp + 0x5c]
lea eax, [rcx - 1]
test edx, edx
cmovns eax, edx
cdqe
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
lea rsi, [rax + rdx*8]
mov dword [rsi + 8], ecx
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14009f5f2
mov rcx, qword [r15]
mov rdx, rax
call fcn.140043b30
mov rcx, qword [rsp + 0xe0]
xor rcx, rsp
call fcn.140252d20
mov rbx, qword [rsp + 0x148]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret