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

Disassembly:
inc r13
mov edx, 0x208
lea rcx, [rsp + 0x460]
mov r14d, dword [rsi + r13*4]
add r14, r15
call fcn.164c960f9
mov rcx, r14
call fcn.164c95e59
mov r9d, eax
test eax, eax
je 0x164c9690f
cmp eax, 6
jbe 0x164c9689f
mov ecx, eax
lea rdx, [rsp + rcx*2 + 0x460]
lea r10, [r14 + rcx]
sub rdx, r10
lea r11, [rcx + rcx]
cmp rdx, r11
jg 0x164c9682a
neg rdx
cmp rdx, rcx
jle 0x164c9689f
xor edx, edx
mov r9d, eax
mov r11d, 1
xor r10d, r10d
shr r9d, 1
je 0x164c96872
inc edx
lea r11d, [rax + r10]
movsx ecx, byte [r11 + r14]
mov word [rsp + r11*2 + 0x460], cx
lea r11d, [rax + r10 - 1]
movsx r8d, byte [r11 + r14]
add r10d, 0xfffffffe
mov word [rsp + r11*2 + 0x460], r8w
cmp edx, r9d
jb 0x164c9683d
lea r11d, [rdx + rdx + 1]
lea r10d, [r11 - 1]
cmp r10d, eax
jae 0x164c96892
neg r11d
add r11d, eax
inc r11d
movsx r10d, byte [r11 + r14]
mov word [rsp + r11*2 + 0x460], r10w
lea r10d, [rax + 1]
sub eax, r10d
lea r9d, [rax + 1]
jmp 0x164c9690f
xor r10d, r10d
mov r11d, eax
mov edx, 1
xor ecx, ecx
shr r11d, 1
je 0x164c968ef
inc r10d
lea edx, [rax + rcx]
movsx r8d, byte [rdx + r14]
lea r9d, [rax + rcx - 1]
mov word [rsp + rdx*2 + 0x460], r8w
add ecx, 0xfffffffe
movsx edx, byte [r9 + r14]
adc al, 0x31
adc al, 0x31
mov word [rsp + r9*2 + 0x460], dx
cmp r10d, r11d
jb 0x164c968b1
lea r9d, [r10 + r10]
neg r9d
lea edx, [r10 + r10 + 1]
add r9d, eax
lea r10d, [rdx - 1]
cmp r10d, eax
jae 0x164c9690f
sub eax, edx
mov r9d, eax
lea r10d, [rax + 1]
movsx r11d, byte [r10 + r14]
mov word [rsp + r10*2 + 0x460], r11w
lea rcx, [rsp + 0x460]
movsx r14d, byte [r9 + r14]
mov word [rsp + r9*2 + 0x460], r14w
call fcn.164c95e99
mov r10d, eax
xor r11d, r11d
test r10d, r10d
jbe 0x164c96997
mov eax, r10d
xor r9d, r9d
mov edx, dword [rdi + 0x2c]
mov ecx, 1
shr eax, 1
je 0x164c9697b
imul r11d, edx
lea r14d, [r9 + r9]
movsxd r14, r14d
inc r9d
movzx ecx, word [rsp + r14*2 + 0x460]
add r11d, ecx
imul r11d, edx
movzx r14d, word [rsp + r14*2 + 0x462]
add r11d, r14d
cmp r9d, eax
jb 0x164c96947
lea ecx, [r9 + r9 + 1]
lea r14d, [rcx - 1]
cmp r14d, r10d
jae 0x164c96997
imul edx, r11d
movsxd rcx, ecx
movzx r11d, word [rsp + rcx*2 + 0x45e]
add r11d, edx
movzx r10d, word [rbx + r13*2]
mov r10d, dword [r12 + r10*4]
add r10, r15
cmp ebp, r11d
jne 0x164c967d0
mov rbx, qword [rsp + 0xc80]
mov rax, qword [rsp + 0x888]
mov qword [rbx + 0xc0], rax
add byte [rax], al
add byte [rax - 0x75], cl
test byte [rax + rbp*4], ah
or byte [rax], al
add byte [rax - 0x77], cl
sub eax, 0
add byte [rax], al
mov rax, qword [rsp + 0x890]
mov qword [rbx + 0xe0], rax
mov rax, qword [rsp + 0x8b8]
mov qword [rbx + 0x18], r10
mov qword [rbx + 0x10], rax
mov r12, qword [rsp + 0xca0]
mov rsi, qword [rsp + 0x8a0]
mov r13, qword [rsp + 0x880]
mov r14, qword [rsp + 0x870]
mov rdx, qword [rsp + 0x878]
mov r9, qword [rsp + 0x8b0]
mov r10, qword [rsp + 0x898]
mov r11, qword [rsp + 0x8c8]
mov rax, qword [rsp + 0x8c0]
mov qword [rbx + 0x78], r15
mov qword [rbx + 0xf0], rdx
mov qword [rbx + 0xb8], r9
mov qword [rbx + 0xd8], r14
mov qword [rbx + 0x38], r10
mov qword [rbx + 0x28], r11
mov qword [rbx + 0xd0], r12
mov qword [rbx + 0xc8], rax
mov qword [rbx + 0x30], rsi
mov qword [rbx + 0x58], r13
movsxd rsi, dword [r14 + 0x3c]
mov ecx, dword [rdi + 0x30]
mov ebx, ecx
mov r13d, dword [rsi + r14 + 0x88]
xor esi, esi
mov qword [rsp + 0x48], r15
mov edx, dword [r13 + r14 + 0x20]
mov eax, dword [r13 + r14 + 0x1c]
add rdx, r14
add rax, r14
mov rbp, rdx
mov r13d, dword [r13 + r14 + 0x24]
mov r12, rax
add r13, r14
jmp 0x164c96aab
inc rsi
mov edx, 0x208
lea rcx, [rsp + 0x668]
mov r15d, dword [rbp + rsi*4]
add r15, r14
call fcn.164c960f9
mov rcx, r15
call fcn.164c95e59
mov r9d, eax
test eax, eax
je 0x164c96be9
cmp eax, 6
jbe 0x164c96b78
mov ecx, eax
lea rdx, [rsp + rcx*2 + 0x668]
lea r10, [r15 + rcx]
sub rdx, r10
lea r11, [rcx + rcx]
cmp rdx, r11
jg 0x164c96b03
neg rdx
cmp rdx, rcx
jle 0x164c96b78
xor edx, edx
mov r9d, eax
mov r11d, 1
xor r10d, r10d
shr r9d, 1
je 0x164c96b4b
inc edx
lea r11d, [rax + r10]
movsx ecx, byte [r11 + r15]
mov word [rsp + r11*2 + 0x668], cx
lea r11d, [rax + r10 - 1]
movsx r8d, byte [r11 + r15]
add r10d, 0xfffffffe
mov word [rsp + r11*2 + 0x668], r8w
cmp edx, r9d
jb 0x164c96b16
lea r11d, [rdx + rdx + 1]
lea r9d, [r11 - 1]
cmp r9d, eax
jae 0x164c96b6b
neg r11d
add r11d, eax
inc r11d
movsx r9d, byte [r11 + r15]
mov word [rsp + r11*2 + 0x668], r9w
lea r9d, [rax + 1]
sub eax, r9d
lea r9d, [rax + 1]
jmp 0x164c96be9
xor r10d, r10d
mov r11d, eax
mov edx, 1
xor ecx, ecx
shr r11d, 1
je 0x164c96bc9
inc r10d
lea r9d, [rax + rcx]
or byte [rbx + 0xf], al
mov esi, 0x42663914
mov dword [rsp + rcx*2 + 0x668], edx
lea r9d, [rax + rcx - 1]
movsx r8d, byte [r9 + r15]
add ecx, 0xfffffffe
mov word [rsp + r9*2 + 0x668], r8w
cmp r10d, r11d
jb 0x164c96b8a
lea r9d, [r10 + r10]
neg r9d
lea edx, [r10 + r10 + 1]
add r9d, eax
lea r10d, [rdx - 1]
cmp r10d, eax
jae 0x164c96be9
sub eax, edx
lea r9d, [rax + 1]
movsx r10d, byte [r9 + r15]
mov word [rsp + r9*2 + 0x668], r10w
mov r9d, eax
lea rcx, [rsp + 0x668]
movsx r15d, byte [r9 + r15]
mov word [rsp + r9*2 + 0x668], r15w
call fcn.164c95e99
mov r10d, eax
xor r11d, r11d
test r10d, r10d
jbe 0x164c96c72
mov eax, r10d
xor r9d, r9d
mov edx, dword [rdi + 0x2c]
mov r15d, 1
shr eax, 1
je 0x164c96c56
imul r11d, edx
lea r15d, [r9 + r9]
movsxd r15, r15d
inc r9d
movzx ecx, word [rsp + r15*2 + 0x668]
add r11d, ecx
imul r11d, edx
movzx r15d, word [rsp + r15*2 + 0x66a]
add r11d, r15d
cmp r9d, eax
jb 0x164c96c22
lea r15d, [r9 + r9 + 1]
lea r9d, [r15 - 1]
cmp r9d, r10d
jae 0x164c96c72
imul edx, r11d
movsxd r15, r15d
movzx r11d, word [rsp + r15*2 + 0x666]
add r11d, edx
movzx r9d, word [r13 + rsi*2]
mov r9d, dword [r12 + r9*4]
add r9, r14
cmp ebx, r11d
cmp ebx, ebx
jne 0x164c96aa8
mov rbx, qword [rsp + 0xc80]
mov qword [rbx + 8], r9
movsxd rax, dword [r14 + 0x3c]
mov esi, dword [rax + r14 + 0x88]
mov ecx, dword [rdi + 0x114]
mov ebx, ecx
mov edx, dword [rsi + r14 + 0x20]
mov eax, dword [rsi + r14 + 0x1c]
add rdx, r14
add rax, r14
mov rbp, rdx
mov r13d, dword [rsi + r14 + 0x24]
xor esi, esi
add r13, r14
mov r12, rax
jmp 0x164c96ccd