Function at 0x1402d4a60
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, 0xe8
mov rax, qword [rsp + 0xf0]
add rax, 4
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x100]
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + rax*2 + 2]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x100]
inc eax
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x108]
mov ecx, 1
mov dword [rsp + 0x9c], ecx
movzx ecx, al
mov eax, dword [rsp + 0x9c]
shl eax, cl
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x100]
inc eax
mov eax, eax
mov ecx, dword [rsp + 0x108]
mov edx, 1
shl rdx, cl
mov rcx, rdx
lea rax, [rcx + rax*2 + 8]
cmp rax, qword [rsp + 0x118]
jbe 0x1402d4b34
mov rax, 0xffffffffffffffd2
jmp 0x1402d503f
cmp dword [rsp + 0x100], 0xff
jbe 0x1402d4b4d
mov rax, 0xffffffffffffffd2
jmp 0x1402d503f
cmp dword [rsp + 0x108], 0xc
jbe 0x1402d4b63
mov rax, 0xffffffffffffffd4
jmp 0x1402d503f
movzx eax, word [rsp + 0x108]
mov word [rsp + 0x48], ax
mov eax, 1
mov word [rsp + 0x4a], ax
mov eax, dword [rsp + 0x108]
dec eax
mov ecx, 1
mov dword [rsp + 0x98], ecx
movzx ecx, al
mov eax, dword [rsp + 0x98]
shl eax, cl
mov word [rsp + 0x44], ax
mov dword [rsp + 0x28], 0
jmp 0x1402d4bb4
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x28], eax
jae 0x1402d4c4a
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xf8]
movsx eax, word [rcx + rax*2]
cmp eax, 0xffffffff
jne 0x1402d4c07
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x28]
mov byte [rcx + rax*4 + 2], dl
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x28]
mov ecx, 1
mov rdx, qword [rsp + 0x60]
mov word [rdx + rax*2], cx
jmp 0x1402d4c45
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xf8]
movsx eax, word [rcx + rax*2]
movsx ecx, word [rsp + 0x44]
cmp eax, ecx
jl 0x1402d4c27
xor eax, eax
mov word [rsp + 0x4a], ax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0xf8]
movzx eax, word [r8 + rax*2]
mov word [rdx + rcx*2], ax
jmp 0x1402d4baa
mov rax, qword [rsp + 0xf0]
mov ecx, dword [rsp + 0x48]
mov dword [rax], ecx
mov eax, dword [rsp + 0x24]
dec eax
cmp dword [rsp + 0x38], eax
jne 0x1402d4ebb
mov eax, dword [rsp + 0x24]
dec eax
mov eax, eax
mov qword [rsp + 0xc0], rax
mov eax, dword [rsp + 0x24]
shr eax, 1
mov ecx, dword [rsp + 0x24]
shr ecx, 3
lea eax, [rax + rcx + 3]
mov eax, eax
mov qword [rsp + 0xb8], rax
movabs rax, 0x101010101010101
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x3c], 0
jmp 0x1402d4cef
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x3c], eax
jae 0x1402d4da6
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0xf8]
movsx eax, word [rcx + rax*2]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1402d5ab0
mov dword [rsp + 0x40], 8
jmp 0x1402d4d4c
mov eax, dword [rsp + 0x40]
add eax, 8
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x40], eax
jge 0x1402d4d86
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xa0]
add rcx, rax
mov rax, rcx
movsxd rcx, dword [rsp + 0x40]
add rax, rcx
mov rdx, qword [rsp + 0x80]
mov rcx, rax
call fcn.1402d5ab0
jmp 0x1402d4d41
movsxd rax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
jmp 0x1402d4cc7
mov qword [rsp + 0xb0], 0
mov qword [rsp + 0xa8], 2
mov qword [rsp + 0x90], 0
jmp 0x1402d4dea
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x24]
cmp qword [rsp + 0x90], rax
jae 0x1402d4eb6
mov qword [rsp + 0x78], 0
jmp 0x1402d4e14
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xa8]
cmp qword [rsp + 0x78], rax
jae 0x1402d4e82
mov rax, qword [rsp + 0x78]
imul rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
and rax, qword [rsp + 0xc0]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rsp + 0xd8]
mov r8, qword [rsp + 0xa0]
movzx eax, byte [r8 + rax]
mov byte [rcx + rdx*4 + 2], al
jmp 0x1402d4e07
mov rax, qword [rsp + 0xa8]
imul rax, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xb0]
add rcx, rax
mov rax, rcx
and rax, qword [rsp + 0xc0]
mov qword [rsp + 0xb0], rax
jmp 0x1402d4dcc
jmp 0x1402d4f8a
mov eax, dword [rsp + 0x24]
dec eax
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0x24]
shr eax, 1
mov ecx, dword [rsp + 0x24]
shr ecx, 3
lea eax, [rax + rcx + 3]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x2c], 0
mov dword [rsp + 0x34], 0
jmp 0x1402d4ef6
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x4c]
cmp dword [rsp + 0x34], eax
jae 0x1402d4f77
mov dword [rsp + 0x50], 0
jmp 0x1402d4f14
mov eax, dword [rsp + 0x50]
inc eax
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x34]
mov rcx, qword [rsp + 0xf8]
movsx eax, word [rcx + rax*2]
cmp dword [rsp + 0x50], eax
jge 0x1402d4f72
mov eax, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x58]
movzx edx, byte [rsp + 0x34]
mov byte [rcx + rax*4 + 2], dl
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
jbe 0x1402d4f70
mov eax, dword [rsp + 0x74]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
and eax, dword [rsp + 0x68]
mov dword [rsp + 0x2c], eax
jmp 0x1402d4f50
jmp 0x1402d4f0a
jmp 0x1402d4eec
cmp dword [rsp + 0x2c], 0
je 0x1402d4f8a
mov rax, 0xffffffffffffffff
jmp 0x1402d503f
mov dword [rsp + 0x30], 0
jmp 0x1402d4f9e
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x30], eax
jae 0x1402d503d
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax*4 + 2]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
mov dword [rsp + 0x6c], eax
movzx eax, byte [rsp + 0x20]
mov rcx, qword [rsp + 0x60]
movzx eax, word [rcx + rax*2]
inc ax
movzx ecx, byte [rsp + 0x20]
mov rdx, qword [rsp + 0x60]
mov word [rdx + rcx*2], ax
mov ecx, dword [rsp + 0x6c]
call fcn.1402d4420
mov ecx, dword [rsp + 0x108]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
mov byte [rdx + rcx*4 + 3], al
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
movzx eax, byte [rcx + rax*4 + 3]
movzx ecx, al
mov eax, dword [rsp + 0x6c]
shl eax, cl
sub eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x30]
mov rdx, qword [rsp + 0x58]
mov word [rdx + rcx*4], ax
jmp 0x1402d4f94
xor eax, eax
add rsp, 0xe8
ret