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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0xc0]
call fcn.140027ba0
mov dword [rsp + 0x44], eax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x50]
add rax, 0x24
mov rcx, rax
call fcn.140022420
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x2c], eax
jb 0x14002d4e1
mov ecx, 0xfc3d
call fcn.1400be020
jmp 0x14002df08
cmp dword [rsp + 0x2c], 0
jbe 0x14002dc8d
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x4c], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 1
jne 0x14002d554
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0xd8], eax
ja 0x14002d552
xor r9d, r9d
lea r8, [rsp + 0x54]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.14002b480
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d543
mov eax, dword [rsp + 0x28]
jmp 0x14002df08
movzx eax, byte [rsp + 0x54]
cmp eax, 2
jne 0x14002d552
mov byte [rsp + 0x48], 1
jmp 0x14002d566
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002d566
mov byte [rsp + 0x48], 1
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d588
mov eax, dword [rsp + 0x28]
jmp 0x14002df08
mov eax, dword [rsp + 0x2c]
dec eax
mov rcx, qword [rsp + 0x38]
mov rcx, qword [rcx + 0x50]
add rcx, 0x24
mov edx, eax
call fcn.140020d20
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
je 0x14002d5c8
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x50]
call fcn.140022420
mov dword [rsp + 0x50], eax
jmp 0x14002d5e1
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x50]
add rax, 0x20
mov rcx, rax
call fcn.140022420
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x50], eax
ja 0x14002d601
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x2c]
mov edx, dword [rsp + 0x4c]
inc edx
mov dword [rsp + 0x4c], edx
cmp eax, ecx
jbe 0x14002d611
mov ecx, 0xfc77
call fcn.1400be020
mov dword [rsp + 0x28], eax
jmp 0x14002d62e
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0xc0]
call fcn.14002dfe0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d643
mov qword [rsp + 0x30], 0
jmp 0x14002def0
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
add rax, 4
mov rcx, rax
call fcn.140022420
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0
jne 0x14002d6da
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x14002d6da
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d68a
jmp 0x14002def0
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x50]
add rax, 0x20
mov r8d, 4
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 0x50]
mov rcx, rax
call fcn.1400c2b10
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x30], 0
jmp 0x14002dc68
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x34]
mov ecx, 4
div ecx
sub eax, 2
cmp dword [rsp + 0x40], eax
jbe 0x14002d70f
mov ecx, 0xfc96
call fcn.1400be020
mov dword [rsp + 0x28], eax
jmp 0x14002def0
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x14002d96f
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xd8], eax
je 0x14002d74b
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x50], eax
jae 0x14002d96f
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002d96f
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x50]
mov dword [rax], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov byte [rsp + 0x48], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d78c
jmp 0x14002def0
cmp dword [rsp + 0x40], 0
jne 0x14002d801
cmp qword [rsp + 0x20], 0
jne 0x14002d7c1
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x50]
add rax, 0x20
mov r8d, 4
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx + 0x50]
mov rcx, rax
call fcn.1400c2b10
jmp 0x14002d7fc
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d7df
jmp 0x14002def0
mov r8d, 4
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x50]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x50]
call fcn.1400c2b10
jmp 0x14002d961
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
add rax, 8
mov rcx, rax
call fcn.140022420
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x58], eax
jbe 0x14002d837
mov ecx, 0xfcbb
call fcn.1400be020
mov dword [rsp + 0x28], eax
jmp 0x14002def0
xor r9d, r9d
lea r8, [rsp + 0x60]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
call fcn.14002dfe0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d860
jmp 0x14002def0
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d888
mov rcx, qword [rsp + 0x60]
call fcn.14002aa10
jmp 0x14002def0
mov r8d, 4
mov rax, qword [rsp + 0x30]
mov rdx, qword [rax + 0x50]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rax + 0x50]
call fcn.1400c2b10
mov eax, dword [rsp + 0x40]
dec eax
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x50]
add rcx, 4
mov edx, eax
call fcn.140020d20
mov eax, dword [rsp + 0x40]
lea eax, [rax*4 - 4]
mov eax, eax
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
add rcx, 0xc
mov rdx, qword [rsp + 0x60]
mov rdx, qword [rdx + 0x50]
add rdx, 8
mov qword [rsp + 0x98], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0x98]
mov rcx, rax
call fcn.1400c2b10
mov rcx, qword [rsp + 0x60]
call fcn.14002aa10
cmp qword [rsp + 0x20], 0
jne 0x14002d931
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x50]
add rax, 0x20
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.140020d20
jmp 0x14002d961
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002d94f
jmp 0x14002def0
mov edx, dword [rsp + 0x58]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x50]
call fcn.140020d20
mov qword [rsp + 0x30], 0
jmp 0x14002dc68
cmp dword [rsp + 0x40], 0
jbe 0x14002dc68
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x70], rax
cmp dword [rsp + 0xd8], 0
jbe 0x14002daa5
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002da0b
mov dword [rsp + 0x78], 0
jmp 0x14002d9bf
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x78], eax
jae 0x14002da06
mov eax, dword [rsp + 0x78]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140022420
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x6c], eax
ja 0x14002da04
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
jmp 0x14002da06
jmp 0x14002d9b5
jmp 0x14002daa3
mov rax, qword [rsp + 0x70]
add rax, 8
mov rcx, rax
call fcn.140022420
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.14002df20
mov dword [rsp + 0x7c], eax
mov dword [rsp + 0x78], 1
jmp 0x14002da42
mov eax, dword [rsp + 0x78]
inc eax
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x78], eax
jae 0x14002daa3
mov eax, dword [rsp + 0x78]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140022420
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.14002df20
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x80], eax
jge 0x14002daa1
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x7c], eax
jmp 0x14002da38
jmp 0x14002daad
mov dword [rsp + 0x68], 0
mov eax, dword [rsp + 0x68]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140022420
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x44]
cmp dword [rsp + 0x6c], eax
jbe 0x14002daee
mov ecx, 0xfd00
call fcn.1400be020
mov dword [rsp + 0x28], eax
jmp 0x14002def0
movzx eax, byte [rsp + 0x48]
test eax, eax
je 0x14002db26
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x6c], eax
je 0x14002db26
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x6c], eax
jae 0x14002dc68
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002dc68
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x6c]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002db52
jmp 0x14002def0
mov eax, dword [rsp + 0x40]
dec eax
cmp dword [rsp + 0x68], eax
jae 0x14002db9c
mov eax, dword [rsp + 0x40]
lea eax, [rax*4 + 4]
mov eax, eax
mov rcx, qword [rsp + 0x70]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x68]
lea ecx, [rcx*4 + 8]
mov ecx, ecx
mov rdx, qword [rsp + 0x70]
add rdx, rcx
mov rcx, rdx
mov r8d, 4
mov rdx, rax
call fcn.1400c2b10
mov eax, dword [rsp + 0x40]
dec eax
mov rcx, qword [rsp + 0x70]
add rcx, 4
mov edx, eax
call fcn.140020d20
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.14002df50
test eax, eax
jne 0x14002dbda
mov dword [rsp + 0xa0], 1
jmp 0x14002dbe5
mov dword [rsp + 0xa0], 0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x84], eax
mov r9d, dword [rsp + 0x84]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.14002dfe0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14002dc63
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002dc63
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.14002aa10
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov byte [rsp + 0x48], 0
mov rcx, qword [rsp + 0x20]
call fcn.14002aa10
mov qword [rsp + 0x20], 0
movzx eax, byte [rsp + 0x48]
test eax, eax
jne 0x14002d5a2
jmp 0x14002def0
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x14002dcaa
mov dword [rsp + 0xa4], 1
jmp 0x14002dcb5
mov dword [rsp + 0xa4], 0
mov eax, dword [rsp + 0xa4]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002dcec
mov eax, dword [rsp + 0x28]
jmp 0x14002df08
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
xor edx, edx
mov eax, dword [0x1400e9758]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x30]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x3c], eax
jne 0x14002dd3e
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14002de3e
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.14002b140
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 0x3c]
jne 0x14002de3e
mov qword [rsp + 0x90], 0
mov r9d, dword [rsp + 0x88]
lea r8, [rsp + 0x90]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.14002dfe0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14002dddc
mov rax, qword [rsp + 0x90]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
mov rcx, qword [rsp + 0x90]
call fcn.14002aa10
cmp dword [rsp + 0x28], 0
je 0x14002ddec
mov eax, dword [rsp + 0x28]
jmp 0x14002df08
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
xor edx, edx
mov eax, dword [0x1400e9758]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x30]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x3c], eax
jne 0x14002de3e
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x3c]
inc eax
mov rcx, qword [rsp + 0xc0]
mov dword [rcx + 0x3c], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x50]
add rax, 0x1c
mov rcx, qword [rsp + 0xc0]
mov edx, dword [rcx + 0x3c]
mov rcx, rax
call fcn.140020d20
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0xc0]
mov ecx, dword [rcx + 0x3c]
mov dword [rax], ecx
mov r9d, dword [rsp + 0x88]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.14002dfe0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002deb2
mov eax, dword [rsp + 0x28]
jmp 0x14002df08
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.1400208d0
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x14002def0
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.14002aa10
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.14002aa10
mov rcx, qword [rsp + 0x20]
call fcn.14002aa10
mov eax, dword [rsp + 0x28]
add rsp, 0xb8
ret