Function at 0x14002ca28
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 + 0x48], 0
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400276c4
mov dword [rsp + 0x50], eax
mov eax, 1
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x54], eax
jb 0x14002caae
mov ecx, 0xf931
call fcn.1400afe08
jmp 0x14002d5b2
cmp dword [rsp + 0x54], 0
jbe 0x14002d337
mov byte [rsp + 0x24], 0
mov dword [rsp + 0x5c], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 1
jne 0x14002cb21
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xd8], eax
ja 0x14002cb1f
xor r9d, r9d
lea r8, [rsp + 0x3c]
mov edx, dword [rsp + 0xd8]
mov rcx, qword [rsp + 0xc0]
call fcn.1400255c8
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cb10
mov eax, dword [rsp + 0x20]
jmp 0x14002d5b2
movzx eax, byte [rsp + 0x3c]
cmp eax, 2
jne 0x14002cb1f
mov byte [rsp + 0x24], 1
jmp 0x14002cb33
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002cb33
mov byte [rsp + 0x24], 1
mov rax, qword [rsp + 0x68]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cb55
mov eax, dword [rsp + 0x20]
jmp 0x14002d5b2
mov eax, dword [rsp + 0x54]
dec eax
mov ecx, 1
imul rcx, rcx, 0x24
mov rdx, qword [rsp + 0x68]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.14000f09c
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14002cba6
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x38], eax
jmp 0x14002cbc4
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x38], eax
ja 0x14002cbfe
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0x5c]
inc eax
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x90], eax
jbe 0x14002cc0e
mov ecx, 0xf969
call fcn.1400afe08
mov dword [rsp + 0x20], eax
jmp 0x14002cc2b
xor r9d, r9d
lea r8, [rsp + 0x30]
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call fcn.140027864
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cc40
mov qword [rsp + 0x30], 0
jmp 0x14002d59a
mov eax, 1
imul rax, rax, 4
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
jne 0x14002ccef
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14002ccef
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cc90
jmp 0x14002d59a
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x68]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov qword [rsp + 0x30], 0
jmp 0x14002d312
xor edx, edx
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x34]
mov ecx, 4
div ecx
sub eax, 2
cmp dword [rsp + 0x28], eax
jbe 0x14002cd24
mov ecx, 0xf986
call fcn.1400afe08
mov dword [rsp + 0x20], eax
jmp 0x14002d59a
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14002cfe9
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0xd8], eax
je 0x14002cd60
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x38], eax
jae 0x14002cfe9
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002cfe9
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x38]
mov dword [rax], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov byte [rsp + 0x24], 0
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cda1
jmp 0x14002d59a
cmp dword [rsp + 0x28], 0
jne 0x14002ce3f
cmp qword [rsp + 0x48], 0
jne 0x14002cde9
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0x20
mov rdx, qword [rsp + 0x68]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
jmp 0x14002ce3a
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002ce07
jmp 0x14002d59a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x48]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
jmp 0x14002cfdb
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x58], eax
jbe 0x14002ce7a
mov ecx, 0xf9a8
call fcn.1400afe08
mov dword [rsp + 0x20], eax
jmp 0x14002d59a
xor r9d, r9d
lea r8, [rsp + 0x70]
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
call fcn.140027864
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cea3
jmp 0x14002d59a
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cecb
mov rcx, qword [rsp + 0x70]
call fcn.140027844
jmp 0x14002d59a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov r8d, 4
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
mov eax, dword [rsp + 0x28]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x70]
add rcx, qword [rdx + 0x50]
mov edx, eax
call fcn.14000f09c
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 - 4]
mov eax, eax
mov ecx, 1
imul rcx, rcx, 0xc
mov rdx, qword [rsp + 0x30]
add rcx, qword [rdx + 0x50]
mov edx, 1
imul rdx, rdx, 8
mov r8, qword [rsp + 0x70]
add rdx, qword [r8 + 0x50]
mov qword [rsp + 0xa8], rdx
mov r8d, eax
mov rdx, rcx
mov rax, qword [rsp + 0xa8]
mov rcx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
mov rcx, qword [rsp + 0x70]
call fcn.140027844
cmp qword [rsp + 0x48], 0
jne 0x14002cf9f
mov eax, 1
imul rax, rax, 0x20
mov rcx, qword [rsp + 0x68]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.14000f09c
jmp 0x14002cfdb
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002cfbd
jmp 0x14002d59a
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x48]
add rax, qword [rcx + 0x50]
mov edx, dword [rsp + 0x58]
mov rcx, rax
call fcn.14000f09c
mov qword [rsp + 0x30], 0
jmp 0x14002d312
cmp dword [rsp + 0x28], 0
jbe 0x14002d312
mov rax, qword [rsp + 0x30]
mov rax, qword [rax + 0x50]
mov qword [rsp + 0x60], rax
cmp dword [rsp + 0xd8], 0
jbe 0x14002d12a
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002d085
mov dword [rsp + 0x2c], 0
jmp 0x14002d039
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jae 0x14002d080
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
ja 0x14002d07e
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x44], eax
jmp 0x14002d080
jmp 0x14002d02f
jmp 0x14002d128
mov eax, 1
imul rax, rax, 8
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14000f070
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.14000f4e0
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x2c], 1
jmp 0x14002d0c7
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x2c], eax
jae 0x14002d128
mov eax, dword [rsp + 0x2c]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14000f070
sub eax, dword [rsp + 0xd8]
mov ecx, eax
call fcn.14000f4e0
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x84], eax
jge 0x14002d126
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x84]
mov dword [rsp + 0x78], eax
jmp 0x14002d0bd
jmp 0x14002d132
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x44]
lea eax, [rax*4 + 8]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.14000f070
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x40], eax
jbe 0x14002d173
mov ecx, 0xf9e9
call fcn.1400afe08
mov dword [rsp + 0x20], eax
jmp 0x14002d59a
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x14002d1ab
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
je 0x14002d1ab
mov eax, dword [rsp + 0xd8]
cmp dword [rsp + 0x40], eax
jae 0x14002d312
movzx eax, byte [rsp + 0xe0]
cmp eax, 2
jne 0x14002d312
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002d1d7
jmp 0x14002d59a
mov eax, dword [rsp + 0x28]
dec eax
cmp dword [rsp + 0x44], eax
jae 0x14002d222
mov eax, dword [rsp + 0x28]
lea eax, [rax*4 + 4]
mov eax, eax
mov rcx, qword [rsp + 0x60]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x44]
lea ecx, [rcx*4 + 8]
mov ecx, ecx
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov r8d, 4
mov rdx, rax
call qword [sym.imp.MSVCR120.dll_memcpy]
mov eax, dword [rsp + 0x28]
dec eax
mov ecx, 1
imul rcx, rcx, 4
mov rdx, qword [rsp + 0x60]
add rdx, rcx
mov rcx, rdx
mov edx, eax
call fcn.14000f09c
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.140024d80
test eax, eax
jne 0x14002d268
mov dword [rsp + 0x7c], 1
jmp 0x14002d270
mov dword [rsp + 0x7c], 0
cmp dword [rsp + 0x7c], 0
je 0x14002d284
mov dword [rsp + 0x80], 1
jmp 0x14002d28f
mov dword [rsp + 0x80], 0
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x94], eax
mov r9d, dword [rsp + 0x94]
mov r8, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xd0]
mov edx, dword [rax]
mov rcx, qword [rsp + 0xc0]
call fcn.140027864
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14002d30d
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002d30d
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.140027844
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov byte [rsp + 0x24], 0
mov rcx, qword [rsp + 0x48]
call fcn.140027844
mov qword [rsp + 0x48], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x14002cb74
jmp 0x14002d59a
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x23]
test eax, eax
jne 0x14002d354
mov dword [rsp + 0x8c], 1
jmp 0x14002d35f
mov dword [rsp + 0x8c], 0
mov eax, dword [rsp + 0x8c]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x18]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002d396
mov eax, dword [rsp + 0x20]
jmp 0x14002d5b2
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 [0x1400bb944]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x30]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x3c], eax
jne 0x14002d3e8
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 0x14002d4e8
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.1400253ec
mov rcx, qword [rsp + 0xc0]
cmp eax, dword [rcx + 0x3c]
jne 0x14002d4e8
mov qword [rsp + 0x98], 0
mov r9d, dword [rsp + 0x88]
lea r8, [rsp + 0x98]
mov rax, qword [rsp + 0xc0]
mov edx, dword [rax + 0x3c]
mov rcx, qword [rsp + 0xc0]
call fcn.140027864
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jne 0x14002d486
mov rax, qword [rsp + 0x98]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
mov rcx, qword [rsp + 0x98]
call fcn.140027844
cmp dword [rsp + 0x20], 0
je 0x14002d496
mov eax, dword [rsp + 0x20]
jmp 0x14002d5b2
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 [0x1400bb944]
mov rcx, qword [rsp + 0xc0]
div dword [rcx + 0x30]
inc eax
mov rcx, qword [rsp + 0xc0]
cmp dword [rcx + 0x3c], eax
jne 0x14002d4e8
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.14000f09c
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.140027864
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002d55c
mov eax, dword [rsp + 0x20]
jmp 0x14002d5b2
mov rax, qword [rsp + 0xc8]
mov rax, qword [rax]
mov rcx, qword [rax + 0x70]
call fcn.14001ea8c
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x14002d59a
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax]
call fcn.140027844
mov rax, qword [rsp + 0xc8]
mov qword [rax], 0
mov rcx, qword [rsp + 0x30]
call fcn.140027844
mov rcx, qword [rsp + 0x48]
call fcn.140027844
mov eax, dword [rsp + 0x20]
add rsp, 0xb8
ret