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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rdx + 0x14], 0
mov rdi, rdx
mov rbx, rcx
je 0x1400bd0bb
mov ecx, dword [rdx + 4]
test ecx, ecx
je 0x1400bd195
sub ecx, 1
je 0x1400bd17b
sub ecx, 1
je 0x1400bd0c8
cmp ecx, 1
jne 0x1400bd0bb
cmp dword [rdx + 0xc], 0xd
jne 0x1400bd0a4
mov rax, qword [rbx + 8]
cmp dword [rax + 0x10], 0
je 0x1400bd0a4
mov rcx, rbx
call fcn.1400bf310
test eax, eax
jne 0x1400bd16b
or ecx, 0xffffffff
xor edx, edx
mov dword [rbx + 0x1c], ecx
mov dword [rbx + 0x20], edx
mov byte [rbx + 0xe2c], dl
mov dword [rbx + 0xe28], ecx
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rax, qword [rbx + 8]
cmp dword [rax], 0
je 0x1400bd0ea
cmp dword [rax + 0x840], 0xa
jne 0x1400bd0ea
mov rcx, rbx
call fcn.1400be7d0
test eax, eax
jne 0x1400bd16b
inc dword [rbx + 0x1c]
xor edx, edx
movsxd rax, dword [rbx + 0x1c]
lea r8, [rax*8 + 0x392]
add r8, rax
mov eax, edx
cmp dword [rdi + 4], 1
lea r8, [rbx + r8*4]
sete al
or ecx, 0xffffffff
mov dword [r8 + 8], ecx
mov dword [r8 + 0xc], ecx
mov dword [r8 + 4], ecx
mov dword [r8], eax
mov eax, dword [rdi + 0xc]
mov dword [r8 + 0x20], eax
mov eax, dword [rdi + 8]
cmp eax, ecx
je 0x1400bd134
lea ecx, [rax + 1]
test al, 1
je 0x1400bd134
mov ecx, eax
mov dword [r8 + 0x18], edx
mov dword [r8 + 0x1c], ecx
cmp ecx, dword [rdi + 8]
setne dl
mov dword [r8 + 0x14], edx
mov rax, qword [rbx + 8]
cmp dword [rax], 0
je 0x1400bd0bb
cmp dword [rax + 0x840], 6
jne 0x1400bd0bb
mov edx, dword [rbx + 0x1c]
mov rcx, rbx
call fcn.1400bf760
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
xor edx, edx
mov rcx, rbx
mov dword [rbx + 0x20], edx
mov rdx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400c0550
movsxd rcx, dword [rdx + 8]
lea rdx, [0x140000000]
cmp byte [rcx + rdx + 0x12b2e0], 0
je 0x1400bd214
cmp ecx, 0xffffffff
jne 0x1400bd1b3
or ecx, ecx
jmp 0x1400bd1ba
test cl, 1
jne 0x1400bd1ba
inc ecx
movsxd rax, ecx
mov edx, dword [rdx + rax*4 + 0x112a60]
movsxd rax, dword [rbx + 0x1c]
test eax, eax
js 0x1400bd1ff
mov rcx, rax
lea rax, [rax + rax*8]
cmp dword [rbx + rax*4 + 0xe48], 2
jne 0x1400bd1ff
lea rax, [rcx + rcx*8]
mov ecx, dword [rbx + rax*4 + 0xe58]
cmp ecx, 0x15
jne 0x1400bd1f5
cmp edx, 0x8f
je 0x1400bd214
cmp ecx, 6
jne 0x1400bd1ff
cmp edx, 0x4b
je 0x1400bd214
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400be050
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x1400bd940
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0x60], rax
inc dword [rcx + 0x1c]
or ebp, 0xffffffff
movsxd rax, dword [rcx + 0x1c]
mov r8, rdx
mov qword [rsp + 0x40], rdx
mov rdi, rcx
mov byte [rsp + 0x30], 0
lea rsi, [rax*8 + 0x392]
add rsi, rax
mov eax, dword [rdx + 8]
lea rsi, [rcx + rsi*4]
cmp eax, ebp
jne 0x1400bd98b
mov eax, ebp
jmp 0x1400bd991
test al, 1
jne 0x1400bd991
inc eax
movsxd rcx, eax
lea rdx, [0x140000000]
xor r11d, r11d
mov qword [rsp + 0xa0], rbx
mov r9d, dword [rdx + rcx*4 + 0x112a60]
mov ecx, r11d
mov dword [rsi + 0x1c], r9d
cmp eax, dword [r8 + 8]
mov dword [rsp + 0x34], r9d
setne cl
sub eax, r9d
cdq
mov dword [rsi + 0x14], ecx
sub eax, edx
sar eax, 1
mov dword [rsi + 0x18], eax
mov eax, dword [r8 + 0xc]
mov dword [rsi + 0x20], eax
mov edx, dword [rdi + 0x1c]
mov dword [rsp + 0x38], edx
test edx, edx
je 0x1400bdf85
mov r8, qword [rdi + 8]
cmp dword [r8], r11d
je 0x1400bdf85
lea eax, [rdx - 1]
movsxd rcx, eax
lea rbx, [rcx*8 + 0x392]
add rbx, rcx
movsxd r10, dword [rdi + rbx*4]
lea rbx, [rdi + rbx*4]
mov qword [rsp + 0x48], rbx
cmp r10d, 6
ja case.default.0x1400bda33
lea rcx, [0x140000000]
mov ecx, dword [rcx + r10*4 + 0xbe028]
lea rax, [0x140000000]
add rcx, rax
jmp rcx
mov dword [rsi], r11d
mov dword [rsi + 8], ebp
mov dword [rsi + 0xc], ebp
mov dword [rsi + 4], ebp
mov rax, qword [rdi + 8]
cmp dword [rax + 0x840], 6
jne 0x1400be009
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
call fcn.1400bf760
mov eax, 1
jmp 0x1400be00b
mov r8d, ebp
mov qword [rsi], 2
mov edx, ebp
mov dword [rsi + 0xc], ebp
mov ecx, r9d
mov dword [rsi + 8], ebp
call fcn.1400bf210
mov dword [rsi + 0x10], eax
mov rax, qword [rdi + 8]
cmp dword [rax + 0x840], 6
jne 0x1400be009
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
call fcn.1400bf760
mov eax, 1
jmp 0x1400be00b
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x40], eax
cmp eax, 0x26
je 0x1400bdabf
cmp eax, 0x2b
jne 0x1400bdac7
mov dword [rsp + 0x40], 0x2c
mov eax, dword [rbx + 4]
mov dword [rsp + 0x48], ebp
cmp eax, 0xffffffff
je 0x1400bdae9
sub edx, eax
lea eax, [rdx - 1]
cdqe
add rax, 0x66
lea rax, [rax + rax*8]
mov eax, dword [rdi + rax*4]
mov dword [rsp + 0x48], eax
mov r8d, ebp
mov edx, ebp
mov ecx, r9d
call fcn.1400bf210
mov edx, dword [rsp + 0x40]
mov r8d, eax
mov ecx, dword [rsp + 0x48]
mov dword [rsp + 0x38], eax
call fcn.1400beea0
test al, al
je 0x1400bdc6e
mov ecx, dword [rsp + 0x34]
cmp ecx, 0x2b
jne 0x1400bdb31
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
dec edx
call fcn.1400bf760
mov dword [rbx + 0x1c], 0x79
jmp 0x1400bdb73
cmp ecx, 0x26
jne 0x1400bdb83
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
sub edx, 2
call fcn.1400bf760
mov eax, dword [rdi + 0x1c]
sub eax, 2
cdqe
lea rcx, [rax + rax*8]
mov dword [rdi + rcx*4 + 0xe64], 0x9b
mov eax, dword [rdi + 0x1c]
sub eax, 2
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov dword [rdi + rax*4], 0xa
mov ecx, dword [rsp + 0x34]
mov byte [rsp + 0x30], 1
mov dword [rbx + 0x10], 0x2c
cmp dword [rbx], 3
jne 0x1400bdb93
mov dword [rsi], 5
mov dword [rsi + 4], ebp
jmp 0x1400bdba1
mov dword [rsi], 6
mov eax, dword [rbx + 4]
inc eax
mov dword [rsi + 4], eax
mov eax, dword [rsp + 0x38]
mov edx, ecx
mov rcx, rdi
mov qword [rsi + 8], 1
mov r8b, 1
mov dword [rsi + 0x10], eax
call fcn.1400bedb0
mov esi, eax
lea rdx, [0x140000000]
movsxd rax, dword [rsp + 0x34]
imul rcx, rax, 0x34
mov eax, dword [rdi + 0x1c]
sub eax, dword [rcx + rdx + 0x116310]
add esi, eax
movsxd rax, esi
lea rcx, [rax + rax*8]
lea rbp, [rdi + rcx*4]
cmp dword [rbp + 0xe60], 0
je 0x1400bdc5d
mov edx, dword [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
call fcn.1400bedb0
movsxd rcx, dword [rsp + 0x40]
mov ebx, eax
mov eax, dword [rdi + 0x1c]
imul r8, rcx, 0x34
lea rcx, [0x140000000]
sub eax, dword [r8 + rcx + 0x116310]
add ebx, eax
cmp ebx, esi
je 0x1400bdc5d
mov edx, ebx
mov rcx, rdi
call fcn.1400bf760
movsxd rax, ebx
mov edx, esi
lea rcx, [rax + rax*8]
mov eax, dword [rbp + 0xe60]
mov dword [rdi + rcx*4 + 0xe60], eax
mov rcx, rdi
call fcn.1400bf760
mov eax, 1
mov dword [rbp + 0xe60], 0
jmp 0x1400be00b
cmp byte [rsp + 0x30], 0
je 0x1400bdc7d
mov eax, 1
jmp 0x1400be00b
mov dword [rsi], 0
mov dword [rsi + 8], ebp
mov dword [rsi + 0xc], ebp
mov dword [rsi + 4], ebp
mov rax, qword [rdi + 8]
cmp dword [rax + 0x840], 6
jne 0x1400be009
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
call fcn.1400bf760
mov eax, 1
jmp 0x1400be00b
cmp dword [r8 + 0x30], r11d
je 0x1400bde41
cmp r10d, 2
jne 0x1400bdcd6
movsxd rax, dword [rbx + 0x10]
lea rcx, [rax + rax*2]
lea rax, [0x140000000]
cmp dword [rax + rcx*8 + 0x117164], 0xffffffff
je 0x1400bdcd6
cmp dword [rax + rcx*8 + 0x117154], r9d
je 0x1400bdd3f
lea eax, [r10 - 5]
cmp eax, 1
ja 0x1400bdd97
cmp dword [rbx + 0x10], 0xf
jne 0x1400bdd12
cmp r9d, 0x5f
jne 0x1400bdd12
lea eax, [rdx - 2]
movsxd rcx, eax
lea edx, [r9 - 0x4f]
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov ecx, dword [rdi + rax*4]
call fcn.1400befb0
test al, al
jne 0x1400bdd3f
mov r9d, dword [rsp + 0x34]
cmp dword [rbx + 0x10], 1
jne 0x1400bdd97
cmp r9d, 0x27
jne 0x1400bdd97
mov eax, dword [rdi + 0x1c]
lea edx, [r9 - 0x25]
sub eax, 2
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov ecx, dword [rdi + rax*4]
call fcn.1400befb0
test al, al
je 0x1400bdd97
dec dword [rdi + 0x1c]
cmp dword [rsi + 0x14], 0
mov rax, qword [rsp + 0x40]
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
movsxd rax, dword [rbx + 0x10]
movups xmmword [rsp + 0x48], xmm0
movsd qword [rsp + 0x58], xmm1
lea rcx, [rax + rax*2]
lea rax, [0x140000000]
mov eax, dword [rax + rcx*8 + 0x117164]
mov dword [rsp + 0x50], eax
je 0x1400bdd80
dec eax
mov dword [rsp + 0x50], eax
lea rdx, [rsp + 0x48]
mov rcx, rdi
call 0x1400bd940
mov eax, 1
jmp 0x1400be00b
movsxd rax, dword [rbx + 0x10]
lea rcx, [rax + rax*2]
lea rax, [0x140000000]
cmp dword [rax + rcx*8 + 0x117150], 2
jne 0x1400bde3c
mov eax, dword [rdi + 0xe28]
cmp eax, 1
jl 0x1400bde3c
dec eax
movsxd rcx, eax
imul rax, rcx, 0x1c
mov ecx, dword [rax + rdi + 0x34]
call fcn.140060554
movsxd rcx, dword [rdi + 0xe28]
mov ebx, eax
imul rdx, rcx, 0x1c
mov ecx, dword [rdx + rdi + 0x34]
call fcn.140060554
mov dword [rsp + 0x38], eax
cmp ebx, eax
jne 0x1400bde37
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
call fcn.140060554
cmp dword [rsp + 0x38], eax
jne 0x1400bde37
dec dword [rdi + 0x1c]
xor r8d, r8d
mov rdx, qword [rsp + 0x48]
mov dword [rdx], r8d
mov eax, dword [rdi + 0x1c]
dec eax
cdqe
lea rcx, [rax + rax*8]
mov eax, dword [rdi + rcx*4 + 0xe64]
mov dword [rdx + 0x1c], eax
mov dword [rdx + 8], ebp
mov dword [rdx + 0xc], ebp
mov dword [rdx + 4], ebp
mov dword [rdi + 0x20], r8d
jmp 0x1400bda52
mov rbx, qword [rsp + 0x48]
mov r9d, dword [rsp + 0x34]
movsxd rax, dword [rbx + 0x10]
lea rcx, [rax + rax*2]
lea rcx, [rcx*8]
lea rax, [0x140000000]
mov eax, dword [rcx + rax + 0x117150]
cmp eax, 3
je 0x1400bdf40
cmp eax, 2
lea rax, [0x140000000]
jne 0x1400bde80
mov edx, dword [rcx + rax + 0x117158]
mov r8d, r9d
jmp 0x1400bde86
mov r8d, ebp
mov edx, r9d
mov ecx, dword [rcx + rax + 0x117154]
call fcn.1400bf210
mov dword [rsp + 0x48], eax
mov ecx, eax
cmp eax, 0xffffffff
je 0x1400bdf40
mov eax, dword [rbx]
sub eax, 5
cmp eax, 1
ja 0x1400bdef3
mov edx, dword [rbx + 4]
mov r9d, ebp
cmp edx, 0xffffffff
je 0x1400bdecb
mov eax, dword [rdi + 0x1c]
sub eax, edx
dec eax
cdqe
add rax, 0x66
lea rax, [rax + rax*8]
mov r9d, dword [rdi + rax*4]
mov eax, dword [rdi + 0x1c]
mov r8d, ecx
sub eax, dword [rbx + 8]
mov ecx, r9d
dec eax
cdqe
add rax, 0x66
lea rax, [rax + rax*8]
mov edx, dword [rdi + rax*4]
call fcn.1400beea0
test al, al
je 0x1400bdf40
mov ecx, dword [rsp + 0x48]
mov eax, dword [rbx]
cmp eax, 2
jne 0x1400bdf0f
mov qword [rsi], 2
mov dword [rsi + 0xc], ebp
mov dword [rsi + 8], ebp
mov dword [rsi + 0x10], ecx
jmp 0x1400bda41
cmp eax, 5
jne 0x1400bdf1b
mov dword [rsi], eax
mov dword [rsi + 4], ebp
jmp 0x1400bdf29
mov dword [rsi], 6
mov eax, dword [rbx + 4]
inc eax
mov dword [rsi + 4], eax
mov dword [rsi + 0xc], 0
mov eax, dword [rbx + 8]
inc eax
mov dword [rsi + 0x10], ecx
mov dword [rsi + 8], eax
jmp 0x1400bda41
mov dword [rsi], 0
jmp 0x1400bda38
cmp dword [r8 + 0x840], 6
jne 0x1400be009
mov r8d, dword [rdi + 0x10]
cmp edx, r8d
jge 0x1400be002
dec r8d
mov rcx, rdi
call fcn.1400bec80
add dword [rdi + 0x14], eax
mov eax, dword [rsp + 0x38]
mov dword [rdi + 0x10], eax
mov eax, 1
jmp 0x1400be00b
mov dword [rsp + 0x48], r9d
lea rax, [0x1400c09b0]
mov r9d, 0x10
mov qword [rsi], 2
lea rdx, [0x14012bc00]
mov dword [rsi + 0xc], ebp
lea rcx, [rsp + 0x48]
mov dword [rsi + 8], ebp
mov dword [rsp + 0x4c], ebp
lea r8d, [r9 + 0xe]
mov dword [rsp + 0x50], ebp
mov qword [rsp + 0x20], rax
call fcn.14008d584
test rax, rax
je 0x1400bdfce
mov ebp, dword [rax + 0xc]
mov dword [rsi + 0x10], ebp
mov rax, qword [rdi + 8]
cmp dword [rax], 0
je 0x1400be009
cmp dword [rax + 0x840], 6
jne 0x1400be009
mov ebx, dword [rdi + 0x1c]
mov r8d, dword [rdi + 0x10]
cmp ebx, r8d
jge 0x1400be002
dec r8d
mov edx, ebx
mov rcx, rdi
call fcn.1400bec80
add dword [rdi + 0x14], eax
mov dword [rdi + 0x10], ebx
mov eax, 1
jmp 0x1400be00b
xor eax, eax
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400265c0
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x140115740]
xor rax, rsp
mov qword [rsp + 0xa0], rax
inc dword [rcx + 0x1c]
or esi, 0xffffffff
movsxd rax, dword [rcx + 0x1c]
mov r8, rdx
mov ebp, dword [rdx + 8]
mov rdi, rcx
mov qword [rsp + 0x78], rdx
mov byte [rsp + 0x30], 0
lea rbx, [rax*8 + 0x392]
add rbx, rax
lea rbx, [rcx + rbx*4]
cmp ebp, esi
jne 0x1400be0a5
mov ebp, esi
jmp 0x1400be0ad
test bpl, 1
jne 0x1400be0ad
inc ebp
xor r10d, r10d
movsxd rax, ebp
lea r11, [0x140000000]
mov r9d, dword [r11 + rax*4 + 0x112a60]
mov eax, r10d
mov dword [rbx + 0x1c], r9d
cmp ebp, dword [rdx + 8]
mov dword [rsp + 0x38], r9d
setne al
mov dword [rbx + 0x14], eax
mov eax, ebp
sub eax, r9d
cdq
sub eax, edx
sar eax, 1
mov dword [rbx + 0x18], eax
mov ecx, dword [r8 + 0xc]
mov dword [rbx + 0x20], ecx
mov dword [rsp + 0x40], eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x34], eax
test eax, eax
je 0x1400be6ad
mov rcx, qword [rdi + 8]
cmp dword [rcx], r10d
je 0x1400be6ad
dec eax
cdqe
lea rdx, [rax*8 + 0x392]
add rdx, rax
movsxd rax, dword [rdi + rdx*4]
mov dword [rsp + 0x5c], eax
lea rdx, [rdi + rdx*4]
mov qword [rsp + 0x50], rdx
cmp eax, 6
ja case.default.0x1400be13b
mov ecx, dword [r11 + rax*4 + 0xbe768]
add rcx, r11
jmp rcx
mov r8d, esi
mov dword [rbx], 3
mov edx, esi
mov dword [rbx + 0xc], esi
mov ecx, r9d
mov dword [rbx + 4], esi
mov dword [rbx + 8], r10d
call fcn.1400bf290
mov dword [rbx + 0x10], eax
mov rax, qword [rdi + 8]
jmp 0x1400be708
mov dword [rbx], r10d
mov dword [rbx + 0xc], esi
mov dword [rbx + 4], esi
mov dword [rbx + 8], esi
mov rax, qword [rdi + 8]
jmp 0x1400be708
movsxd rcx, dword [rdx + 0x10]
mov r8b, 1
imul rax, rcx, 0x34
mov dword [rsp + 0x58], ecx
mov edx, ecx
mov qword [rsp + 0x60], rax
mov rcx, rdi
lea rax, [rax + 0x116310]
add rax, r11
mov qword [rsp + 0x68], rax
mov eax, dword [rax]
mov dword [rsp + 0x48], eax
call fcn.1400bedb0
mov r8d, dword [rsp + 0x34]
mov ecx, eax
mov r9d, dword [rsp + 0x48]
mov eax, r8d
sub eax, r9d
add ecx, eax
movsxd rax, ecx
mov dword [rsp + 0x44], ecx
lea rcx, [rax + 0x73]
lea rcx, [rax + rcx*8]
lea rax, [rdi + rcx*4]
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x70], rax
mov eax, dword [rax]
mov dword [rsp + 0x3c], eax
cmp dword [rcx + 0x30], 0
je 0x1400be3a4
mov ecx, dword [rsp + 0x58]
cmp ecx, 9
jne 0x1400be2af
test eax, eax
jne 0x1400be3a4
cmp ebp, 0x8f
jne 0x1400be3a4
cmp dword [rsp + 0x5c], 4
jne 0x1400be23d
lea eax, [r8 - 2]
movsxd rcx, eax
lea edx, [rbp - 0x63]
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov ecx, dword [rdi + rax*4]
call fcn.1400bee20
test al, al
je 0x1400be39b
mov r8d, dword [rsp + 0x34]
lea edx, [r8 - 1]
mov rcx, rdi
call fcn.1400bf760
mov rax, qword [rsp + 0x50]
lea rdx, [rsp + 0x88]
mov ecx, 0x78
mov dword [rax + 0x10], 0xa
mov dword [rax + 0x1c], 0x9b
mov rax, qword [rsp + 0x78]
dec dword [rdi + 0x1c]
cmp dword [rbx + 0x14], 0
movups xmm0, xmmword [rax]
movsd xmm1, qword [rax + 0x10]
mov eax, 0x79
cmovne eax, ecx
movsd qword [rsp + 0x98], xmm1
movups xmmword [rsp + 0x88], xmm0
mov rcx, rdi
mov dword [rsp + 0x90], eax
call 0x1400be050
mov eax, 1
jmp 0x1400be745
cmp ecx, 0x2c
jne 0x1400be319
test eax, eax
jne 0x1400be3a4
cmp ebp, 0x8f
jne 0x1400be3a4
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x20]
sub eax, 0x55
test eax, 0xffffffdf
jne 0x1400be3a0
lea edx, [r8 - 1]
mov rcx, rdi
mov dword [rdi + 0x1c], edx
call fcn.1400bf760
movsxd rax, dword [rdi + 0x1c]
add rax, 0x66
lea rax, [rax + rax*8]
mov dword [rdi + rax*4], 0x2d
movsxd rax, dword [rdi + 0x1c]
lea rcx, [rax + rax*8]
mov eax, 1
mov dword [rdi + rcx*4 + 0xe64], ebp
jmp 0x1400be745
cmp ecx, 0x2d
jne 0x1400be3a4
test eax, eax
jne 0x1400be3a4
cmp ebp, 0x8f
jne 0x1400be3a4
lea edx, [r8 - 2]
mov rcx, rdi
call fcn.1400bf760
mov eax, dword [rdi + 0x1c]
sub eax, 2
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov dword [rdi + rax*4], 9
mov eax, dword [rdi + 0x1c]
sub eax, 2
cdqe
lea rcx, [rax + rax*8]
mov dword [rdi + rcx*4 + 0xe64], ebp
mov eax, dword [rdi + 0x1c]
dec eax
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov dword [rdi + rax*4], 0x27
mov eax, dword [rdi + 0x1c]
dec eax
cdqe
lea rcx, [rax + rax*8]
mov eax, 1
mov dword [rdi + rcx*4 + 0xe64], ebp
dec dword [rdi + 0x1c]
jmp 0x1400be745
mov r9d, dword [rsp + 0x48]
mov eax, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
cmp ebp, edx
je 0x1400be3b4
test eax, eax
jne 0x1400be606
cmp r9d, 3
je 0x1400be606
mov rax, qword [rsp + 0x60]
lea rcx, [0x140000000]
cmp r9d, 2
jne 0x1400be3dc
mov r8d, edx
mov edx, dword [rax + rcx + 0x116320]
jmp 0x1400be3df
mov r8d, esi
mov ecx, dword [rax + rcx + 0x11631c]
call fcn.1400bf290
mov dword [rsp + 0x34], eax
mov edx, eax
cmp eax, 0xffffffff
je 0x1400be606
mov rbp, qword [rsp + 0x50]
cmp dword [rbp], 4
jne 0x1400be42b
mov eax, dword [rdi + 0x1c]
sub eax, dword [rbp + 4]
dec eax
cdqe
add rax, 0x66
lea rax, [rax + rax*8]
mov ecx, dword [rdi + rax*4]
call fcn.1400bee20
test al, al
je 0x1400be606
mov edx, dword [rsp + 0x34]
lea eax, [rdx - 0x3a]
cmp eax, 1
jbe 0x1400be489
lea eax, [rdx - 0x40]
cmp eax, 1
ja 0x1400be4ef
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
dec edx
call fcn.1400bf760
xor eax, eax
cmp dword [rsp + 0x34], 0x41
sete al
lea edx, [rax + 0x42]
mov eax, dword [rdi + 0x1c]
dec eax
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov dword [rdi + rax*4], 0x2c
mov eax, dword [rdi + 0x1c]
dec eax
cdqe
lea rcx, [rax + rax*8]
mov eax, 0x79
mov dword [rdi + rcx*4 + 0xe64], eax
jmp 0x1400be4ea
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
sub edx, 2
call fcn.1400bf760
xor eax, eax
cmp dword [rsp + 0x34], 0x3b
sete al
lea edx, [rax + 0x42]
mov eax, dword [rdi + 0x1c]
sub eax, 2
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov dword [rdi + rax*4], 0xa
mov eax, dword [rdi + 0x1c]
sub eax, 2
cdqe
lea rcx, [rax + rax*8]
mov dword [rdi + rcx*4 + 0xe64], 0x9b
mov eax, dword [rdi + 0x1c]
dec eax
movsxd rcx, eax
add rcx, 0x66
lea rax, [rcx + rcx*8]
mov dword [rdi + rax*4], 0x2c
mov byte [rsp + 0x30], 1
mov eax, dword [rbp]
mov dword [rbx], eax
cmp dword [rbp], 4
jne 0x1400be504
mov eax, dword [rbp + 4]
inc eax
mov dword [rbx + 4], eax
jmp 0x1400be507
mov dword [rbx + 4], esi
mov ebp, dword [rsp + 0x3c]
mov dword [rbx + 0xc], esi
mov dword [rbx + 8], 0
mov dword [rbx + 0x10], edx
mov dword [rbx + 0x18], 0
test ebp, ebp
jne 0x1400be568
mov esi, dword [rsp + 0x40]
test esi, esi
je 0x1400be5f2
mov r8b, 1
mov rcx, rdi
call fcn.1400bedb0
mov ecx, dword [rdi + 0x1c]
mov ebx, eax
mov rax, qword [rsp + 0x68]
sub ecx, dword [rax]
add ebx, ecx
mov rcx, rdi
mov edx, ebx
call fcn.1400bf760
movsxd rax, ebx
lea rcx, [rax + rax*8]
mov dword [rdi + rcx*4 + 0xe60], esi
lea eax, [rbp + 1]
jmp 0x1400be745
mov r8b, 1
mov rcx, rdi
call fcn.1400bedb0
mov ecx, dword [rdi + 0x1c]
mov esi, eax
mov rax, qword [rsp + 0x68]
mov edx, dword [rsp + 0x44]
sub ecx, dword [rax]
add esi, ecx
mov dword [rsp + 0x38], esi
cmp esi, edx
je 0x1400be5cd
mov rcx, rdi
call fcn.1400bf760
mov rax, qword [rsp + 0x70]
mov edx, esi
mov rcx, rdi
mov dword [rax], 0
call fcn.1400bf760
movsxd rax, dword [rsp + 0x38]
mov esi, dword [rsp + 0x40]
test esi, esi
cmovne ebp, esi
lea rcx, [rax + rax*8]
mov eax, 1
mov dword [rdi + rcx*4 + 0xe60], ebp
jmp 0x1400be745
mov esi, dword [rsp + 0x40]
test esi, esi
je 0x1400be5f2
cmp esi, ebp
je 0x1400be5f2
mov rcx, rdi
call fcn.1400bf760
mov rax, qword [rsp + 0x70]
mov dword [rax], esi
mov eax, 1
jmp 0x1400be745
cmp byte [rsp + 0x30], 0
jne 0x1400be71d
mov rax, qword [rdi + 8]
jmp 0x1400be708
mov dword [rbx], 0
mov dword [rbx + 0xc], esi
mov dword [rbx + 4], esi
mov dword [rbx + 8], esi
mov rax, qword [rdi + 8]
jmp 0x1400be708
mov r8d, esi
mov edx, esi
mov ecx, r9d
call fcn.1400bf290
mov rbp, qword [rsp + 0x50]
mov edx, eax
mov dword [rsp + 0x44], eax
mov ecx, dword [rbp + 0x10]
mov dword [rsp + 0x38], ecx
call fcn.1400bee20
mov dword [rbx + 0xc], esi
test al, al
jne 0x1400be65e
mov dword [rbx], 0
mov dword [rbx + 4], esi
mov dword [rbx + 8], esi
mov rax, qword [rdi + 8]
jmp 0x1400be708
mov eax, dword [rsp + 0x44]
xor esi, esi
cmp dword [rsp + 0x38], 8
mov dword [rbx], 4
mov qword [rbx + 4], 1
mov dword [rbx + 0x10], eax
jne case.default.0x1400be13b
mov eax, dword [rbp + 0x18]
test eax, eax
je case.default.0x1400be13b
cmp dword [rbx + 0x18], esi
jne 0x1400be693
mov dword [rbx + 0x18], eax
mov edx, dword [rdi + 0x1c]
mov rcx, rdi
dec edx
call fcn.1400bf760
mov eax, 1
mov dword [rbp + 0x18], esi
jmp 0x1400be745
mov dword [rsp + 0x78], r9d
lea rax, [0x1400c09f0]
mov r9d, 0x10
mov dword [rbx], 3
lea rdx, [0x14012b7a0]
mov dword [rbx + 0xc], esi
lea rcx, [rsp + 0x78]
mov dword [rbx + 4], esi
mov dword [rbx + 8], r10d
lea r8d, [r9 + 0x36]
mov dword [rsp + 0x7c], esi
mov dword [rsp + 0x80], esi
mov qword [rsp + 0x20], rax
call fcn.14008d584
test rax, rax
je 0x1400be6fc
mov esi, dword [rax + 0xc]
mov dword [rbx + 0x10], esi
mov rax, qword [rdi + 8]
cmp dword [rax], 0
je 0x1400be743
cmp dword [rax + 0x840], 6
je 0x1400be71d
mov ecx, dword [rbx + 0x20]
call fcn.14007b054
test eax, eax
jne 0x1400be743
mov ebx, dword [rdi + 0x1c]
mov r8d, dword [rdi + 0x10]
cmp ebx, r8d
jge 0x1400be73c
dec r8d
mov edx, ebx
mov rcx, rdi
call fcn.1400bec80
add dword [rdi + 0x14], eax
mov dword [rdi + 0x10], ebx
mov eax, 1
jmp 0x1400be745
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400265c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x30
mov rax, qword [rcx + 8]
mov rbp, rdx
mov rbx, rcx
cmp dword [rax + 0x10], 0
je 0x1400c0583
call fcn.1400bf310
test eax, eax
je 0x1400c0583
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
mov rax, qword [rbx + 8]
mov qword [rsp + 0x48], rsi
cmp dword [rax + 0x24], 0
je 0x1400c06b1
cmp dword [rbx + 0x20], 0
jne 0x1400c06b1
cmp dword [rbx + 0x1c], 0
jl 0x1400c06b1
cmp byte [rbx + 0xe43], 0
jne 0x1400c06b1
xor esi, esi
mov qword [rsp + 0x50], rdi
mov edi, esi
cmp dword [rax + 0x28], esi
je 0x1400c0618
mov rcx, rbx
call fcn.1400bf0a0
test al, al
je 0x1400c0618
mov rax, qword [rbx + 0xe38]
lea rdx, [rbx + 0x14]
mov r8, qword [rbx + 0xe30]
lea r9, [rsp + 0x40]
mov ecx, dword [rax]
lea rax, [rbx + 0xe44]
mov dword [rsp + 0x40], ecx
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400c0740
mov edi, dword [rsp + 0x40]
test eax, eax
je 0x1400c0618
mov byte [rbx + 0xe42], 1
mov byte [rbx + 0xe40], 1
inc dword [rbx + 0x1c]
or ecx, 0xffffffff
movsxd rax, dword [rbx + 0x1c]
lea rdx, [rax*8 + 0x392]
add rdx, rax
lea rdx, [rbx + rdx*4]
mov dword [rdx], 1
mov dword [rdx + 8], ecx
mov dword [rdx + 0xc], ecx
mov dword [rdx + 4], ecx
mov eax, dword [rbp + 0xc]
mov dword [rdx + 0x20], eax
mov eax, dword [rbp + 8]
cmp eax, ecx
je 0x1400c0656
lea ecx, [rax + 1]
test al, 1
je 0x1400c0656
mov ecx, eax
mov dword [rdx + 0x1c], ecx
cmp ecx, dword [rbp + 8]
setne sil
mov dword [rdx + 0x14], esi
cmp byte [rbx + 0xe42], 0
je 0x1400c06ad
mov rax, qword [rbx + 0xe38]
cmp edi, dword [rax]
jge 0x1400c06ad
movzx eax, byte [rbp + 0xc]
mov rcx, qword [rbx + 0xe30]
movsxd rdx, edi
inc edi
mov byte [rdx + rcx], al
mov rax, qword [rbx + 0xe38]
mov dword [rax], edi
mov eax, 1
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rbp
ret
xor eax, eax
jmp 0x1400c0698
inc dword [rbx + 0x1c]
or ecx, 0xffffffff
movsxd rax, dword [rbx + 0x1c]
lea rdx, [rax*8 + 0x392]
add rdx, rax
lea rdx, [rbx + rdx*4]
mov dword [rdx], 1
mov dword [rdx + 8], ecx
mov dword [rdx + 0xc], ecx
mov dword [rdx + 4], ecx
mov eax, dword [rbp + 0xc]
mov dword [rdx + 0x20], eax
mov eax, dword [rbp + 8]
cmp eax, ecx
je 0x1400c06ef
lea ecx, [rax + 1]
test al, 1
je 0x1400c06ef
mov ecx, eax
mov rbx, qword [rsp + 0x58]
xor esi, esi
mov dword [rdx + 0x1c], ecx
cmp ecx, dword [rbp + 8]
setne sil
xor eax, eax
mov dword [rdx + 0x14], esi
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rbp
ret