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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
sub eax, 5
mov rcx, qword [rsp + 0x80]
cmp eax, dword [rcx + 0xa0]
jbe 0x1400be24f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xa0]
mov dword [rsp + 0x38], eax
jmp 0x1400be261
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x18]
sub eax, 5
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], 0
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov dword [rsp + 0x2c], eax
mov dword [rsp + 0x20], 0xffff
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1774]
add eax, 0x2a
sar eax, 3
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x24]
cmp dword [rax + 0x18], ecx
jae 0x1400be2bc
jmp 0x1400be61c
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xe4]
mov eax, dword [rax + 0xf4]
sub eax, ecx
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jbe 0x1400be32c
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jbe 0x1400be33e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x20], eax
jae 0x1400be384
cmp dword [rsp + 0x20], 0
jne 0x1400be359
cmp dword [rsp + 0x88], 4
jne 0x1400be37f
cmp dword [rsp + 0x88], 0
je 0x1400be37f
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
je 0x1400be384
jmp 0x1400be61c
cmp dword [rsp + 0x88], 4
jne 0x1400be3b4
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
cmp dword [rsp + 0x20], eax
jne 0x1400be3b4
mov dword [rsp + 0x3c], 1
jmp 0x1400be3bc
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
mov r9d, dword [rsp + 0x30]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x80]
call fcn.1400c4a90
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x28]
sub eax, 4
mov eax, eax
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x10]
movzx edx, byte [rsp + 0x20]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x20]
shr eax, 8
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x28]
sub ecx, 3
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x20]
not eax
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x28]
sub ecx, 2
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x20]
not eax
shr eax, 8
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x28]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x10]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400c0f20
cmp dword [rsp + 0x28], 0
je 0x1400be57b
mov eax, dword [rsp + 0x20]
cmp dword [rsp + 0x28], eax
jbe 0x1400be49e
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
movsxd rcx, dword [rcx + 0xe4]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0xb0]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx]
mov qword [rsp + 0x58], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
call fcn.1400cc590
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
add rcx, qword [rax + 0x10]
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 0x1c]
add eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x1c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xe4]
add eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xe4], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x1400be611
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov r8d, dword [rsp + 0x20]
mov rdx, qword [rax + 0x10]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400c1030
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x20]
add rcx, qword [rax + 0x10]
mov rax, rcx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x20]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x18], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 0x1c]
add eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov dword [rcx + 0x1c], eax
cmp dword [rsp + 0x30], 0
je 0x1400be283
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
je 0x1400be891
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0x2c], eax
jb 0x1400be6cf
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1768], 2
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xa0]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0xa0]
mov rcx, qword [rcx]
sub rcx, rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xb0]
call fcn.1400cc590
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
mov dword [rax + 0xf4], ecx
jmp 0x1400be805
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
mov eax, dword [rax + 0xb8]
sub eax, ecx
cmp eax, dword [rsp + 0x2c]
ja 0x1400be797
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
mov eax, dword [rax + 0xf4]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xf4]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0xb0]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xb0]
call fcn.1400cc590
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1768], 2
jae 0x1400be797
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1768]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1768], eax
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx]
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rcx]
sub rcx, rdx
mov rdx, qword [rsp + 0x80]
mov edx, dword [rdx + 0xf4]
mov r8, qword [rsp + 0x80]
add rdx, qword [r8 + 0xb0]
mov qword [rsp + 0x60], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x60]
mov rcx, rax
call fcn.1400cc590
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xf4]
add eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
mov dword [rax + 0xe4], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x176c]
mov eax, dword [rax + 0xa0]
sub eax, ecx
cmp dword [rsp + 0x2c], eax
jbe 0x1400be869
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x176c]
mov eax, dword [rax + 0xa0]
sub eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x1400be871
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x176c]
add eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x176c], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
cmp dword [rax + 0x1778], ecx
jae 0x1400be8cb
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
mov dword [rax + 0x1778], ecx
cmp dword [rsp + 0x30], 0
je 0x1400be8dc
mov eax, 3
jmp 0x1400bed12
cmp dword [rsp + 0x88], 0
je 0x1400be929
cmp dword [rsp + 0x88], 4
je 0x1400be929
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1400be929
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xe4]
cmp dword [rax + 0xf4], ecx
jne 0x1400be929
mov eax, 1
jmp 0x1400bed12
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
mov eax, dword [rax + 0xb8]
sub eax, ecx
dec eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov ecx, dword [rsp + 0x24]
cmp dword [rax + 8], ecx
jbe 0x1400bea6d
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
cmp dword [rax + 0xe4], ecx
jl 0x1400bea6d
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
mov eax, dword [rax + 0xe4]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xe4], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
mov eax, dword [rax + 0xf4]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xf4]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xa0]
mov rdx, qword [rsp + 0x80]
add rcx, qword [rdx + 0xb0]
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax + 0xb0]
call fcn.1400cc590
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x1768], 2
jae 0x1400bea53
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1768]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x1768], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xa0]
mov ecx, dword [rsp + 0x24]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x24], eax
jbe 0x1400bea93
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
mov eax, dword [rax + 8]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x1400beaef
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xf4]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0xb0]
mov r8d, dword [rsp + 0x24]
mov rdx, rax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400c1030
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xf4]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xf4], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
cmp dword [rax + 0x1778], ecx
jae 0x1400beb29
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xf4]
mov dword [rax + 0x1778], ecx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x1774]
add eax, 0x2a
sar eax, 3
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 0x18]
sub eax, ecx
cmp eax, 0xffff
jbe 0x1400beb63
mov dword [rsp + 0x44], 0xffff
jmp 0x1400beb78
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 0x18]
sub eax, ecx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xa0]
cmp dword [rsp + 0x24], eax
jbe 0x1400beba8
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xa0]
mov dword [rsp + 0x48], eax
jmp 0x1400bebb0
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0xe4]
mov eax, dword [rax + 0xf4]
sub eax, ecx
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x34]
cmp dword [rsp + 0x28], eax
jae 0x1400bec2a
cmp dword [rsp + 0x28], 0
jne 0x1400bebf9
cmp dword [rsp + 0x88], 4
jne 0x1400becf5
cmp dword [rsp + 0x88], 0
je 0x1400becf5
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1400becf5
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
ja 0x1400becf5
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jbe 0x1400bec3e
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x4c], eax
jmp 0x1400bec46
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x88], 4
jne 0x1400bec7d
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 8], 0
jne 0x1400bec7d
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x20], eax
jne 0x1400bec7d
mov dword [rsp + 0x50], 1
jmp 0x1400bec85
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x80]
movsxd rax, dword [rax + 0xe4]
mov rcx, qword [rsp + 0x80]
add rax, qword [rcx + 0xb0]
mov r9d, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x20]
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.1400c4a90
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0xe4]
add eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0xe4], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400c0f20
cmp dword [rsp + 0x30], 0
je 0x1400bed06
mov dword [rsp + 0x54], 2
jmp 0x1400bed0e
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
add rsp, 0x78
ret