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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov rax, qword [0x140035be8]
xor rax, rsp
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001d910
test rax, rax
jle 0x14000416d
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001d910
cmp rax, qword [rsp + 0xb0]
ja 0x140004178
mov qword [rsp + 0x28], 0
jmp 0x1400041aa
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001d910
sub rax, qword [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x78]
call fcn.14000bdd8
nop
lea rcx, [rsp + 0x78]
call fcn.14000d2dc
movzx eax, al
test eax, eax
jne 0x1400041de
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x140004424
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001aa4c
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
and eax, 0x1c0
cmp eax, 0x40
je 0x1400042d2
jmp 0x140004228
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x1400042d2
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001aa08
mov byte [rsp + 0x24], al
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001c69c
mov qword [rsp + 0x50], rax
mov dl, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x50]
call fcn.14001ceb4
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
call fcn.14001a56c
mov dword [rsp + 0x3c], eax
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x3c]
call fcn.14001a598
movzx eax, al
test eax, eax
je 0x1400042cd
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400042d2
jmp 0x14000421b
cmp dword [rsp + 0x20], 0
jne 0x140004341
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001c69c
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0xb0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x58]
call fcn.14001cf30
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
cmp qword [rsp + 0x60], rax
je 0x140004341
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400043fa
jmp 0x140004350
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x1400043fa
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001aa08
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14001c69c
mov qword [rsp + 0x68], rax
mov dl, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x68]
call fcn.14001ceb4
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
call fcn.14001a56c
mov dword [rsp + 0x48], eax
lea rdx, [rsp + 0x44]
lea rcx, [rsp + 0x48]
call fcn.14001a598
movzx eax, al
test eax, eax
je 0x1400043f5
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400043fa
jmp 0x140004343
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
xor edx, edx
mov rcx, rax
call fcn.14001d8dc
nop
jmp 0x140004424
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, rax
call fcn.14001cda0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.14000cb10
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140023750
add rsp, 0x98
ret