Function at 0x1401790c0
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, 0x1c8
mov rax, qword [0x1405eb5a0]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x200]
test eax, eax
je 0x140179132
cmp qword [rsp + 0x1f0], 0
je 0x140179132
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
call fcn.140183f30
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x140179132
mov eax, dword [rsp + 0x24]
jmp 0x14017974b
mov edx, 8
lea rcx, [rsp + 0x158]
call fcn.1400667b0
mov rax, qword [rsp + 0x1d0]
add rax, 0x18
mov qword [rsp + 0x60], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x1d8]
lea rcx, [rsp + 0xf0]
call fcn.14017f0e0
lea r8, [rsp + 0xf0]
lea rdx, [rsp + 0x158]
mov rcx, qword [rsp + 0x60]
call fcn.14017e770
mov rax, qword [rsp + 0x1d0]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
call fcn.14006f150
mov rdx, rax
lea rcx, [rsp + 0x158]
call fcn.14006efb0
movzx eax, al
test eax, eax
je 0x14017930c
movzx eax, byte [rsp + 0x200]
test eax, eax
je 0x1401791fa
lea rdx, [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
call fcn.140183f30
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x1401791fa
mov eax, dword [rsp + 0x24]
jmp 0x14017974b
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x3c]
inc eax
mov dword [rsp + 0x34], eax
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x34]
mov dword [rax + 0x3c], ecx
mov rax, qword [rsp + 0x1d8]
mov qword [rsp + 0x70], rax
mov r8d, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x120]
call fcn.14017f0e0
cmp qword [rsp + 0x1f0], 0
je 0x14017926f
cmp qword [rsp + 0x1e0], 0
je 0x14017925f
cmp qword [rsp + 0x1e8], 0
jne 0x14017926f
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x128], rax
lea rcx, [rsp + 0xe0]
call fcn.14017e6e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x80], rax
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x170]
call fcn.140184d40
nop
lea rcx, [rsp + 0xe0]
call fcn.14017e1f0
mov rax, qword [rsp + 0x1d0]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x170]
lea rdx, [rsp + 0x160]
mov rcx, qword [rsp + 0x88]
call fcn.140184da0
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x158], rax
mov byte [rsp + 0x20], 1
lea rcx, [rsp + 0x170]
call fcn.14017e210
cmp qword [rsp + 0x1e0], 0
je 0x140179322
cmp qword [rsp + 0x1e8], 0
jne 0x140179346
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x140179335
mov dword [rsp + 0x38], 2
jmp 0x14017933d
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x38]
jmp 0x14017974b
lea rcx, [rsp + 0x158]
call fcn.14017e5e0
add rax, 0x18
mov qword [rsp + 0x28], rax
mov edx, 8
lea rcx, [rsp + 0x150]
call fcn.1400667b0
xor r8d, r8d
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x108]
call fcn.14017f0e0
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x28]
call fcn.14017e770
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x28]
call fcn.14006f150
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14006efb0
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x1d0]
mov eax, dword [rax + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x1d0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x3c], ecx
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x28]
call fcn.14006f150
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.140073140
movzx eax, al
test eax, eax
je 0x14017958f
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x14017958f
movzx eax, byte [rsp + 0x1f8]
test eax, eax
je 0x14017958f
mov qword [rsp + 0x48], 0
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x28]
call fcn.14006f150
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.140073140
movzx eax, al
test eax, eax
je 0x140179513
lea rcx, [rsp + 0x150]
call fcn.14017e5e0
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x1d0]
call fcn.14017f070
movzx eax, al
test eax, eax
jne 0x140179513
lea rcx, [rsp + 0x150]
call fcn.14017e5e0
mov ecx, dword [rsp + 0x30]
cmp dword [rax + 0x10], ecx
jge 0x140179501
lea rcx, [rsp + 0x150]
call fcn.14017e5e0
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x150]
call fcn.14017e5e0
mov rax, qword [rax + 8]
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x150]
call fcn.14017e5c0
jmp 0x140179448
cmp qword [rsp + 0x48], 0
je 0x140179552
mov rdx, qword [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
call fcn.1401840a0
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x1f0], rax
lea rdx, [rsp + 0x1f0]
mov rcx, qword [rsp + 0x1d0]
call fcn.140183f30
xor r9d, r9d
mov r8, qword [rsp + 0x1e0]
mov rdx, qword [rsp + 0x1d8]
mov rcx, qword [rsp + 0x1d0]
call fcn.140183ef0
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x28]
call fcn.14006f150
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x1d0]
movzx eax, byte [rax + 0x39]
test eax, eax
je 0x1401795b5
movzx eax, byte [rsp + 0x1f8]
test eax, eax
jne 0x1401795b5
mov dword [rsp + 0x40], 1
jmp 0x1401795bd
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x200]
test eax, eax
je 0x14017965a
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x140179608
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x28]
call fcn.14006f150
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14006efb0
movzx eax, al
test eax, eax
je 0x140179631
lea rdx, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x1d0]
call fcn.140183f30
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x140179631
mov eax, dword [rsp + 0x24]
jmp 0x14017974b
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x1d0]
call fcn.140183f30
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jge 0x14017965a
mov eax, dword [rsp + 0x24]
jmp 0x14017974b
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x28]
call fcn.14006f150
mov rdx, rax
lea rcx, [rsp + 0x150]
call fcn.14006efb0
movzx eax, al
test eax, eax
jne 0x14017968c
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x140179709
mov r8d, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x138]
call fcn.14017f0e0
cmp qword [rsp + 0x1f0], 0
je 0x1401796c1
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x50], 0
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0x198]
call fcn.140184de0
lea r8, [rsp + 0x198]
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x28]
call fcn.140184e30
mov rax, qword [rax]
mov qword [rsp + 0x150], rax
mov rax, qword [rsp + 0x1e8]
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x150]
call fcn.14017e5e0
mov rcx, qword [rsp + 0x58]
mov qword [rax + 0x18], rcx
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x14017973f
mov dword [rsp + 0x44], 2
jmp 0x140179747
mov dword [rsp + 0x44], 1
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1403f0a90
add rsp, 0x1c8
ret