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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x198
mov rax, qword [0x14014a040]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x1d0]
test eax, eax
je 0x14001d9f2
cmp qword [rsp + 0x1c0], 0
je 0x14001d9f2
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
call fcn.140020820
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14001d9f2
mov eax, dword [rsp + 0x24]
jmp 0x14001dfa9
mov edx, 8
lea rcx, [rsp + 0x120]
call fcn.140007710
xor r8d, r8d
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0xb8]
call fcn.14001e990
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
lea r8, [rsp + 0xb8]
lea rdx, [rsp + 0x120]
mov rcx, rax
call fcn.14001e5c0
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14001e650
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.14001e3f0
movzx eax, al
test eax, eax
je 0x14001db9e
movzx eax, byte [rsp + 0x1d0]
test eax, eax
je 0x14001daa9
lea rdx, [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
call fcn.140020820
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14001daa9
mov eax, dword [rsp + 0x24]
jmp 0x14001dfa9
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x3c]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x3c], ecx
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x1a8]
lea rcx, [rsp + 0xe8]
call fcn.14001e990
cmp qword [rsp + 0x1c0], 0
je 0x14001db14
cmp qword [rsp + 0x1b0], 0
je 0x14001db04
cmp qword [rsp + 0x1b8], 0
jne 0x14001db14
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0xa8]
call fcn.14001e540
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x138]
call fcn.140020aa0
nop
lea rcx, [rsp + 0xa8]
call fcn.14001e330
mov rax, qword [rsp + 0x1a0]
add rax, 0x18
lea r8, [rsp + 0x138]
lea rdx, [rsp + 0x128]
mov rcx, rax
call fcn.140020af0
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x120], rax
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x138]
call fcn.14001e350
cmp qword [rsp + 0x1b0], 0
je 0x14001dbb4
cmp qword [rsp + 0x1b8], 0
jne 0x14001dbd8
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14001dbc7
mov dword [rsp + 0x38], 2
jmp 0x14001dbcf
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
jmp 0x14001dfa9
lea rcx, [rsp + 0x120]
call fcn.14001e390
add rax, 0x18
mov qword [rsp + 0x28], rax
mov edx, 8
lea rcx, [rsp + 0x118]
call fcn.140007710
xor r8d, r8d
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0xd0]
call fcn.14001e990
lea r8, [rsp + 0xd0]
lea rdx, [rsp + 0x118]
mov rcx, qword [rsp + 0x28]
call fcn.14001e5c0
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x28]
call fcn.14001e650
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.14001e3f0
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x3c], ecx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0x28]
call fcn.14001e650
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.14001e3b0
movzx eax, al
test eax, eax
je 0x14001ddf7
mov rax, qword [rsp + 0x1a0]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x14001ddf7
movzx eax, byte [rsp + 0x1c8]
test eax, eax
je 0x14001ddf7
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0x80]
mov rcx, qword [rsp + 0x28]
call fcn.14001e650
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.14001e3b0
movzx eax, al
test eax, eax
je 0x14001dd7b
lea rcx, [rsp + 0x118]
call fcn.14001e390
mov r8, qword [rax]
mov rdx, qword [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
call fcn.14001e920
movzx eax, al
test eax, eax
jne 0x14001dd7b
lea rcx, [rsp + 0x118]
call fcn.14001e390
mov ecx, dword [rsp + 0x30]
cmp dword [rax + 0x10], ecx
jge 0x14001dd69
lea rcx, [rsp + 0x118]
call fcn.14001e390
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x118]
call fcn.14001e390
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x118]
call fcn.14001e370
jmp 0x14001dcd4
cmp qword [rsp + 0x48], 0
je 0x14001ddba
mov rdx, qword [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
call fcn.140020980
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x1c0], rax
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x1a0]
call fcn.140020820
xor r9d, r9d
mov r8, qword [rsp + 0x1b0]
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
call fcn.1400207e0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x28]
call fcn.14001e650
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
mov rax, qword [rsp + 0x1a0]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x14001de1d
movzx eax, byte [rsp + 0x1c8]
test eax, eax
jne 0x14001de1d
mov dword [rsp + 0x40], 1
jmp 0x14001de25
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x1d0]
test eax, eax
je 0x14001dec2
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x14001de70
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
call fcn.14001e650
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.14001e3f0
movzx eax, al
test eax, eax
je 0x14001de99
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x1a0]
call fcn.140020820
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14001de99
mov eax, dword [rsp + 0x24]
jmp 0x14001dfa9
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0x1a0]
call fcn.140020820
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14001dec2
mov eax, dword [rsp + 0x24]
jmp 0x14001dfa9
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x28]
call fcn.14001e650
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.14001e3f0
movzx eax, al
test eax, eax
jne 0x14001def4
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x14001df71
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x100]
call fcn.14001e990
cmp qword [rsp + 0x1c0], 0
je 0x14001df29
mov rax, qword [rsp + 0x1c0]
mov qword [rsp + 0x108], rax
mov qword [rsp + 0x60], 0
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x160]
call fcn.140020b30
lea r8, [rsp + 0x160]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x28]
call fcn.140020b70
mov rax, qword [rax]
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x118]
call fcn.14001e390
mov rcx, qword [rsp + 0x1b8]
mov qword [rax + 0x18], rcx
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14001df9d
mov dword [rsp + 0x44], 2
jmp 0x14001dfa5
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.1400955d0
add rsp, 0x198
ret