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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov eax, dword [rsp + 0x128]
mov ecx, 1
mov dword [rsp + 0xb0], ecx
movzx ecx, al
mov eax, dword [rsp + 0xb0]
shl eax, cl
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
add rax, 4
mov qword [rsp + 0xd0], rax
cmp dword [rsp + 0x128], 0
je 0x1401c26a2
mov eax, dword [rsp + 0x28]
shr eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1401c26aa
mov dword [rsp + 0x70], 1
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0xd8]
lea rax, [rcx + rax*4 + 4]
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0x28]
shr eax, 1
mov ecx, dword [rsp + 0x28]
shr ecx, 3
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x58], eax
mov eax, dword [rsp + 0x120]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x38]
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*2]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x28]
dec eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x120]
add eax, 2
mov eax, eax
mov ecx, dword [rsp + 0x128]
mov edx, 1
shl rdx, cl
mov rcx, rdx
add rax, rcx
xor edx, edx
mov ecx, 2
div rcx
lea rax, [rax*4 + 8]
cmp rax, qword [rsp + 0x138]
jbe 0x1401c276e
mov rax, 0xffffffffffffffd4
jmp 0x1401c2d96
mov eax, 2
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0xd0]
movzx edx, word [rsp + 0x128]
mov word [rcx + rax], dx
mov eax, 2
imul rax, rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0xd0]
movzx edx, word [rsp + 0x120]
mov word [rcx + rax], dx
mov eax, 2
imul rax, rax, 0
xor ecx, ecx
mov rdx, qword [rsp + 0x48]
mov word [rdx + rax], cx
mov dword [rsp + 0x2c], 1
jmp 0x1401c27d0
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
ja 0x1401c2871
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
cmp eax, 0xffffffff
jne 0x1401c2838
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
inc eax
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x80]
mov byte [rdx + rcx], al
mov eax, dword [rsp + 0x40]
dec eax
mov dword [rsp + 0x40], eax
jmp 0x1401c286c
mov eax, dword [rsp + 0x2c]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x2c]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x118]
movzx ecx, word [rdx + rcx*2]
add eax, ecx
mov ecx, dword [rsp + 0x2c]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
jmp 0x1401c27c6
mov eax, dword [rsp + 0x28]
inc eax
mov ecx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
mov eax, dword [rsp + 0x28]
dec eax
cmp dword [rsp + 0x40], eax
jne 0x1401c2ae1
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
movabs rax, 0x101010101010101
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x98], 0
mov qword [rsp + 0x90], 0
mov dword [rsp + 0x50], 0
jmp 0x1401c290a
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x50], eax
jae 0x1401c29c1
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x68], eax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1401c0b30
mov dword [rsp + 0x54], 8
jmp 0x1401c2967
mov eax, dword [rsp + 0x54]
add eax, 8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jge 0x1401c29a1
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xb8]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x54]
add rax, rcx
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call fcn.1401c0b30
jmp 0x1401c295c
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x1401c28e2
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa0], 0
jmp 0x1401c2a05
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x28]
cmp qword [rsp + 0xa0], rax
jae 0x1401c2adc
mov qword [rsp + 0x78], 0
jmp 0x1401c2a2f
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x78], rax
jae 0x1401c2aa7
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x78]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
and rax, rcx
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xf0]
mov rdx, qword [rsp + 0x80]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0xb8]
movzx eax, byte [rdx + rax]
mov byte [rcx], al
jmp 0x1401c2a22
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xc0]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xc8]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x5c]
and rax, rcx
mov qword [rsp + 0xc8], rax
jmp 0x1401c29e7
jmp 0x1401c2b92
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
jmp 0x1401c2afd
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x1401c2b92
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x60], 0
jmp 0x1401c2b36
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x60], eax
jge 0x1401c2b8d
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x5c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x40]
cmp dword [rsp + 0x30], eax
jbe 0x1401c2b8b
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x30]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x5c]
mov dword [rsp + 0x30], eax
jmp 0x1401c2b6b
jmp 0x1401c2b2c
jmp 0x1401c2af3
mov dword [rsp + 0x44], 0
jmp 0x1401c2ba6
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x44], eax
jae 0x1401c2c0b
mov eax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x20], al
mov eax, dword [rsp + 0x44]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
movzx ecx, word [rdx + rcx*2]
mov rdx, qword [rsp + 0xd0]
mov word [rdx + rcx*2], ax
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x48]
movzx eax, word [rcx + rax*2]
inc ax
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x48]
mov word [rdx + rcx*2], ax
jmp 0x1401c2b9c
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x24], 0
jmp 0x1401c2c27
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
ja 0x1401c2d94
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0xffffffff
je 0x1401c2c99
cmp dword [rsp + 0x64], 0
je 0x1401c2c66
cmp dword [rsp + 0x64], 1
je 0x1401c2c99
jmp 0x1401c2ce9
mov eax, dword [rsp + 0x128]
inc eax
shl eax, 0x10
mov ecx, dword [rsp + 0x128]
mov edx, 1
shl edx, cl
mov ecx, edx
sub eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8 + 4], eax
jmp 0x1401c2d8f
mov eax, dword [rsp + 0x128]
shl eax, 0x10
mov ecx, dword [rsp + 0x128]
mov edx, 1
shl edx, cl
mov ecx, edx
sub eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8 + 4], eax
mov eax, dword [rsp + 0x34]
dec eax
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
jmp 0x1401c2d8f
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
dec eax
mov ecx, eax
call fcn.1401bf480
mov ecx, dword [rsp + 0x128]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x6c], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x6c]
shl eax, cl
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x6c]
shl eax, 0x10
sub eax, dword [rsp + 0xac]
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8 + 4], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x34]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x24]
mov rdx, qword [rsp + 0x88]
mov dword [rdx + rcx*8], eax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x34]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x34], eax
jmp 0x1401c2c1d
xor eax, eax
add rsp, 0x108
ret