Function at 0x1402cc280
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 0x1402cc302
mov eax, dword [rsp + 0x28]
shr eax, 1
mov dword [rsp + 0x70], eax
jmp 0x1402cc30a
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 0x1402cc3ce
mov rax, 0xffffffffffffffd4
jmp 0x1402cc9f6
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 0x1402cc430
mov eax, dword [rsp + 0x2c]
inc eax
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x2c], eax
ja 0x1402cc4d1
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 0x1402cc498
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 0x1402cc4cc
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 0x1402cc426
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 0x1402cc741
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 0x1402cc56a
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 0x1402cc621
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.1402ca790
mov dword [rsp + 0x54], 8
jmp 0x1402cc5c7
mov eax, dword [rsp + 0x54]
add eax, 8
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x68]
cmp dword [rsp + 0x54], eax
jge 0x1402cc601
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.1402ca790
jmp 0x1402cc5bc
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
jmp 0x1402cc542
mov qword [rsp + 0xc8], 0
mov qword [rsp + 0xc0], 2
mov qword [rsp + 0xa0], 0
jmp 0x1402cc665
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 0x1402cc73c
mov qword [rsp + 0x78], 0
jmp 0x1402cc68f
mov rax, qword [rsp + 0x78]
inc rax
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rsp + 0x78], rax
jae 0x1402cc707
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 0x1402cc682
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 0x1402cc647
jmp 0x1402cc7f2
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x3c], 0
jmp 0x1402cc75d
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x1402cc7f2
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 0x1402cc796
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0xa8]
cmp dword [rsp + 0x60], eax
jge 0x1402cc7ed
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 0x1402cc7eb
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 0x1402cc7cb
jmp 0x1402cc78c
jmp 0x1402cc753
mov dword [rsp + 0x44], 0
jmp 0x1402cc806
mov eax, dword [rsp + 0x44]
inc eax
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x28]
cmp dword [rsp + 0x44], eax
jae 0x1402cc86b
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 0x1402cc7fc
mov dword [rsp + 0x34], 0
mov dword [rsp + 0x24], 0
jmp 0x1402cc887
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x120]
cmp dword [rsp + 0x24], eax
ja 0x1402cc9f4
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 0x1402cc8f9
cmp dword [rsp + 0x64], 0
je 0x1402cc8c6
cmp dword [rsp + 0x64], 1
je 0x1402cc8f9
jmp 0x1402cc949
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 0x1402cc9ef
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 0x1402cc9ef
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x118]
movsx eax, word [rcx + rax*2]
dec eax
mov ecx, eax
call fcn.1402c9100
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 0x1402cc87d
xor eax, eax
add rsp, 0x108
ret