Function at 0x14001a540
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, 0x108
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
test rax, rax
jle 0x14001a5c5
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
cmp rax, qword [rsp + 0x120]
ja 0x14001a5d0
mov qword [rsp + 0x40], 0
jmp 0x14001a609
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + rax + 0x28]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
sub rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x110]
lea rcx, [rsp + 0xe0]
call fcn.14000f0c0
nop
movzx eax, byte [rsp + 0xe8]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
movzx eax, al
test eax, eax
jne 0x14001a647
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a931
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov eax, dword [rcx + rax + 0x18]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, 0x1c0
cmp eax, 0x40
je 0x14001a764
jmp 0x14001a687
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x14001a764
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x2a], ax
movzx eax, word [rsp + 0x2a]
mov word [rsp + 0x2c], ax
movzx edx, word [rsp + 0x2c]
mov rcx, qword [rsp + 0xa8]
call fcn.140012330
mov word [rsp + 0x32], ax
mov eax, 0xffff
mov word [rsp + 0x2e], ax
movzx eax, word [rsp + 0x2e]
mov word [rsp + 0x30], ax
movzx eax, word [rsp + 0x30]
movzx ecx, word [rsp + 0x32]
cmp eax, ecx
jne 0x14001a735
mov dword [rsp + 0x48], 1
jmp 0x14001a73d
mov dword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x25]
movzx eax, al
test eax, eax
je 0x14001a75f
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a764
jmp 0x14001a67a
cmp dword [rsp + 0x20], 0
jne 0x14001a7fa
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rax, qword [rax + 0x48]
mov qword [rsp + 0xb8], rax
mov r8, qword [rsp + 0x120]
mov rdx, qword [rsp + 0x118]
mov rcx, qword [rsp + 0x78]
call qword [rsp + 0xb8]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0x120]
je 0x14001a7fa
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a8e6
jmp 0x14001a809
mov rax, qword [rsp + 0x40]
dec rax
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jbe 0x14001a8e6
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx + rax + 0x48]
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
movzx eax, word [rcx + rax + 0x58]
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x34]
mov word [rsp + 0x36], ax
movzx edx, word [rsp + 0x36]
mov rcx, qword [rsp + 0xd0]
call fcn.140012330
mov word [rsp + 0x3c], ax
mov eax, 0xffff
mov word [rsp + 0x38], ax
movzx eax, word [rsp + 0x38]
mov word [rsp + 0x3a], ax
movzx eax, word [rsp + 0x3a]
movzx ecx, word [rsp + 0x3c]
cmp eax, ecx
jne 0x14001a8b7
mov dword [rsp + 0x4c], 1
jmp 0x14001a8bf
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0x4c]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x26]
movzx eax, al
test eax, eax
je 0x14001a8e1
mov eax, dword [rsp + 0x20]
or eax, 4
mov dword [rsp + 0x20], eax
jmp 0x14001a8e6
jmp 0x14001a7fc
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x80]
mov qword [rax + 0x28], 0
jmp 0x14001a931
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
movsxd rax, dword [rax + 4]
mov rcx, qword [rsp + 0x110]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x5c], eax
mov byte [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
cmp qword [rax + 0x48], 0
je 0x14001a97a
mov dword [rsp + 0x54], 0
jmp 0x14001a982
mov dword [rsp + 0x54], 4
mov eax, dword [rsp + 0x5c]
or eax, dword [rsp + 0x20]
or eax, dword [rsp + 0x54]
movzx r8d, byte [rsp + 0x28]
mov edx, eax
mov rcx, qword [rsp + 0x70]
call fcn.140009100
nop
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd8], rax
lea rcx, [rsp + 0xe0]
call fcn.14000f070
mov rax, qword [rsp + 0xd8]
add rsp, 0x108
ret