Function at 0x140040290
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, 0xa8
mov rax, qword [0x1400e3110]
xor rax, rsp
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400393c0
test rax, rax
jle 0x140040319
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400393c0
cmp rax, qword [rsp + 0xc0]
ja 0x140040324
mov qword [rsp + 0x28], 0
jmp 0x140040356
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400393c0
sub rax, qword [rsp + 0xc0]
mov qword [rsp + 0x28], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x88]
call fcn.14003c110
nop
lea rcx, [rsp + 0x88]
call fcn.140015b20
movzx eax, al
test eax, eax
jne 0x140040390
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400405d7
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.1400393a0
and eax, 0x1c0
cmp eax, 0x40
je 0x14004047d
jmp 0x1400403d2
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x14004047d
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14003c890
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140013f40
mov byte [rsp + 0x24], al
movzx edx, byte [rsp + 0x24]
mov rcx, qword [rsp + 0x48]
call fcn.14003ed00
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x34], eax
call fcn.14003c920
mov dword [rsp + 0x38], eax
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x38]
call fcn.14003c980
movzx eax, al
test eax, eax
je 0x140040478
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14004047d
jmp 0x1400403c5
cmp dword [rsp + 0x20], 0
jne 0x1400404ec
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14003c890
mov qword [rsp + 0x50], rax
mov r8, qword [rsp + 0xc0]
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0x50]
call fcn.14003fd50
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x58], rax
je 0x1400404ec
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400405a6
jmp 0x1400404fb
mov rax, qword [rsp + 0x28]
dec rax
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
jbe 0x1400405a6
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14003c890
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140013f40
mov byte [rsp + 0x25], al
movzx edx, byte [rsp + 0x25]
mov rcx, qword [rsp + 0x60]
call fcn.14003ed00
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x40], eax
call fcn.14003c920
mov dword [rsp + 0x44], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x44]
call fcn.14003c980
movzx eax, al
test eax, eax
je 0x1400405a1
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x1400405a6
jmp 0x1400404ee
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
xor edx, edx
mov rcx, qword [rsp + 0x68]
call fcn.1400393d0
nop
jmp 0x1400405d7
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
xor r8d, r8d
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x78]
call fcn.14003c8a0
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x88]
call fcn.14003c0c0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140055f20
add rsp, 0xa8
ret