Function at 0x14005d6b0
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, 0x78
cmp dword [rsp + 0x98], 0
jne 0x14005d6d9
xor eax, eax
jmp 0x14005dea9
mov eax, dword [rsp + 0x98]
mov r8d, eax
mov edx, 1
mov rcx, qword [rsp + 0x88]
call fcn.1400ae110
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov rax, qword [rax + 0x40]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x14005d776
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
cmp qword [rcx + 0x20], rax
jae 0x14005d735
jmp 0x14005d776
mov rax, qword [rsp + 0x80]
mov rax, qword [rax + 0x80]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rax + 0x20]
mov rcx, qword [rcx + 0x20]
sub rcx, rax
mov rax, rcx
sar rax, 3
mov rcx, qword [rsp + 0x88]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x48], rax
jmp 0x14005d70d
mov rax, qword [rsp + 0x90]
mov eax, dword [rax]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x90]
add rax, 4
mov qword [rsp + 0x90], rax
mov eax, dword [rsp + 0x28]
and eax, 0xff
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400f17b0]
movzx eax, word [rcx + rax*2]
sar eax, 3
and eax, 0xf
mov dword [rsp + 0x50], eax
cmp dword [rsp + 0x50], 3
je 0x14005d7c8
jmp 0x14005d7f4
mov eax, dword [rsp + 0x28]
shr eax, 0x18
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x28]
shr ecx, 0x18
mov ecx, ecx
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400f17b0]
movzx eax, word [rcx + rax*2]
sar eax, 7
and eax, 0xf
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 3
je 0x14005d842
cmp dword [rsp + 0x30], 4
je 0x14005d87e
cmp dword [rsp + 0x30], 6
je 0x14005da2b
cmp dword [rsp + 0x30], 0xc
je 0x14005db5c
cmp dword [rsp + 0x30], 0xd
je 0x14005d90d
jmp 0x14005db68
mov eax, dword [rsp + 0x28]
shr eax, 0x10
and eax, 0xff
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x28]
shr ecx, 0x10
and ecx, 0xff
mov ecx, ecx
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005db68
mov eax, dword [rsp + 0x28]
shr eax, 0x18
mov dword [rsp + 0x20], eax
jmp 0x14005d895
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
shr eax, 0x10
and eax, 0xff
cmp dword [rsp + 0x20], eax
ja 0x14005d8cb
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005d88b
jmp 0x14005d8d7
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jae 0x14005d908
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005d8cd
jmp 0x14005db68
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x24], 0x4d
jl 0x14005d93b
cmp dword [rsp + 0x24], 0x51
jg 0x14005d93b
mov eax, dword [rsp + 0x2c]
add eax, 3
mov dword [rsp + 0x2c], eax
jmp 0x14005d9bb
cmp dword [rsp + 0x24], 0x52
jl 0x14005d96e
cmp dword [rsp + 0x24], 0x54
jg 0x14005d96e
mov eax, 4
imul rax, rax, 0xfffffffffffffffe
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax]
shr eax, 0x18
mov ecx, dword [rsp + 0x2c]
lea eax, [rcx + rax - 1]
mov dword [rsp + 0x2c], eax
jmp 0x14005d9bb
cmp dword [rsp + 0x24], 0x32
jne 0x14005d9bb
mov eax, dword [rsp + 0x28]
shr eax, 0x10
mov eax, eax
sub rax, 0x8000
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jge 0x14005d99d
mov eax, dword [rsp + 0x98]
jmp 0x14005dea9
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x60]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x90], rax
jmp 0x14005db68
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x20], eax
jmp 0x14005d9cf
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jae 0x14005da00
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005d9c5
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x2c], eax
jae 0x14005da17
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x38], eax
jmp 0x14005da22
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
jmp 0x14005dea9
cmp dword [rsp + 0x24], 0x51
je 0x14005da40
cmp dword [rsp + 0x24], 0x54
je 0x14005da40
cmp dword [rsp + 0x24], 0x57
jne 0x14005da4a
jmp 0x14005d90d
mov ecx, dword [rsp + 0x24]
call fcn.14005b3a0
test eax, eax
je 0x14005db5a
cmp dword [rsp + 0x24], 0x49
jne 0x14005da6f
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x3c], eax
jmp 0x14005da8a
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov ecx, dword [rsp + 0x28]
shr ecx, 0x10
lea eax, [rax + rcx - 1]
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x20], 0
jmp 0x14005daa6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
cmp dword [rsp + 0x20], eax
jae 0x14005dadc
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005da9c
jmp 0x14005dae8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x20], eax
jae 0x14005db16
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005dade
jmp 0x14005db22
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jae 0x14005db53
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005db18
xor eax, eax
jmp 0x14005dea9
jmp 0x14005db68
mov eax, dword [rsp + 0x98]
jmp 0x14005dea9
movsxd rax, dword [rsp + 0x24]
lea rcx, [0x1400f17b0]
movzx eax, word [rcx + rax*2]
and eax, 7
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 1
je 0x14005dbd9
cmp dword [rsp + 0x34], 2
je 0x14005dc23
cmp dword [rsp + 0x34], 3
je 0x14005db9d
jmp 0x14005dea2
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x28]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005dea2
cmp dword [rsp + 0x24], 0xc
je 0x14005dc1e
cmp dword [rsp + 0x24], 0xd
je 0x14005dc1e
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x28]
shr ecx, 8
and ecx, 0xff
mov ecx, ecx
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005dea2
cmp dword [rsp + 0x24], 0x41
jl 0x14005ddde
cmp dword [rsp + 0x24], 0x46
jg 0x14005ddde
cmp dword [rsp + 0x24], 0x41
je 0x14005dc7a
cmp dword [rsp + 0x24], 0x43
je 0x14005dc7a
mov eax, dword [rsp + 0x28]
shr eax, 0x10
and eax, 0xff
test eax, eax
je 0x14005dc7a
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov ecx, dword [rsp + 0x28]
shr ecx, 0x10
and ecx, 0xff
lea eax, [rax + rcx + 1]
mov dword [rsp + 0x40], eax
jmp 0x14005dc85
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x58], eax
xor eax, eax
cmp eax, 1
je 0x14005dccf
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
inc eax
mov eax, eax
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x28]
shr ecx, 8
and ecx, 0xff
inc ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
cmp dword [rsp + 0x24], 0x45
je 0x14005dce7
cmp dword [rsp + 0x24], 0x46
je 0x14005dce7
mov dword [rsp + 0x44], 0
jmp 0x14005dcef
mov dword [rsp + 0x44], 3
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
sub eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
jmp 0x14005dd0f
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x58]
cmp dword [rsp + 0x20], eax
jae 0x14005dd3d
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005dd05
jmp 0x14005dd49
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jae 0x14005dd7a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005dd3f
cmp dword [rsp + 0x24], 0x44
je 0x14005dd88
cmp dword [rsp + 0x24], 0x43
jne 0x14005ddd9
mov dword [rsp + 0x20], 0
jmp 0x14005dd9c
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
cmp dword [rsp + 0x20], eax
jae 0x14005ddd2
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005dd92
xor eax, eax
jmp 0x14005dea9
jmp 0x14005dea2
cmp dword [rsp + 0x24], 0x47
jne 0x14005ddf6
mov eax, dword [rsp + 0x98]
jmp 0x14005dea9
cmp dword [rsp + 0x24], 0x2c
jne 0x14005de4c
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
mov dword [rsp + 0x20], eax
jmp 0x14005de19
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x28]
shr eax, 0x10
cmp dword [rsp + 0x20], eax
ja 0x14005de4a
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
imul eax, eax, 3
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005de0f
jmp 0x14005dea2
cmp dword [rsp + 0x24], 0x3f
jne 0x14005dea2
mov eax, dword [rsp + 0x28]
shr eax, 8
and eax, 0xff
dec eax
mov dword [rsp + 0x20], eax
jmp 0x14005de71
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jae 0x14005dea2
mov eax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rcx + rax]
and eax, 0xfffffffe
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0x88]
mov byte [rdx + rcx], al
jmp 0x14005de67
jmp 0x14005d776
add rsp, 0x78
ret