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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov rax, qword [0x1402a7100]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x28], 4
mov rax, qword [rsp + 0x98]
cmp dword [rax], 0
jne 0x14005cbbb
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 8
jne 0x14005c929
mov qword [rsp + 0x20], 0
jmp 0x14005c7c4
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005c86f
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x90]
add rdx, rcx
mov rcx, rdx
mov rdx, qword [rsp + 0x80]
movzx ecx, byte [rcx]
mov byte [rdx + rax], cl
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax], 0xff
jmp 0x14005c79d
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x18], 0
je 0x14005c924
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
jmp 0x14005c8dc
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005c924
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x1c]
jne 0x14005c922
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax], 0
jmp 0x14005c8b5
jmp 0x14005cbb6
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0x10
jne 0x14005ca75
mov qword [rsp + 0x20], 0
jmp 0x14005c96d
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005ca70
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*2]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x18], 0
je 0x14005ca4a
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x20]
movzx eax, byte [rax + rcx*2]
imul eax, eax, 0x100
mov rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x20]
movzx ecx, byte [rcx + rdx*2 + 1]
add eax, ecx
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x1c]
jne 0x14005ca4a
mov dword [rsp + 0x30], 0
jmp 0x14005ca52
mov dword [rsp + 0x30], 0xff
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x30]
mov byte [rcx + rax], dl
jmp 0x14005c946
jmp 0x14005cbb6
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 4]
mov ecx, 1
mov dword [rsp + 0x40], ecx
movzx ecx, al
mov eax, dword [rsp + 0x40]
shl eax, cl
dec eax
mov dword [rsp + 0x44], eax
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x20], 0
jmp 0x14005cad3
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005cbb6
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 4]
mov r8d, eax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x50]
call fcn.140059ee0
mov dword [rsp + 0x34], eax
imul eax, dword [rsp + 0x34], 0xff
xor edx, edx
div dword [rsp + 0x44]
mov dword [rsp + 0x2c], eax
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x2c]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x2c]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x2c]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x18], 0
je 0x14005cb90
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 0x1c]
cmp dword [rsp + 0x34], eax
jne 0x14005cb90
mov dword [rsp + 0x38], 0
jmp 0x14005cb98
mov dword [rsp + 0x38], 0xff
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
jmp 0x14005caac
jmp 0x14005d3b1
mov rax, qword [rsp + 0x98]
cmp dword [rax], 2
jne 0x14005cf1c
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 8
jne 0x14005cd65
mov qword [rsp + 0x20], 0
jmp 0x14005cc10
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005cc60
imul rax, qword [rsp + 0x20], 3
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
mov r8d, 3
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140056df0
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax], 0xff
jmp 0x14005cbe9
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x18], 0
je 0x14005cd60
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x88]
imul rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x80]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0
jmp 0x14005cccd
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005cd60
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x1c]
jne 0x14005cd5b
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x20]
jne 0x14005cd5b
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
movzx eax, byte [rcx + rax]
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x24]
jne 0x14005cd5b
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov byte [rcx + rax], 0
jmp 0x14005cca6
jmp 0x14005cf17
mov qword [rsp + 0x20], 0
jmp 0x14005cd97
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005cf17
imul rax, qword [rsp + 0x20], 6
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
imul rax, qword [rsp + 0x20], 6
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
movzx eax, byte [r8 + rax + 2]
mov byte [rdx + rcx], al
imul rax, qword [rsp + 0x20], 6
mov ecx, 1
imul rcx, rcx, 2
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x90]
movzx eax, byte [r8 + rax + 4]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x98]
cmp dword [rax + 0x18], 0
je 0x14005cef1
imul rax, qword [rsp + 0x20], 6
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax]
imul eax, eax, 0x100
imul rcx, qword [rsp + 0x20], 6
mov rdx, qword [rsp + 0x90]
movzx ecx, byte [rdx + rcx + 1]
add eax, ecx
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x1c]
jne 0x14005cef1
imul rax, qword [rsp + 0x20], 6
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax + 2]
imul eax, eax, 0x100
imul rcx, qword [rsp + 0x20], 6
mov rdx, qword [rsp + 0x90]
movzx ecx, byte [rdx + rcx + 3]
add eax, ecx
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x20]
jne 0x14005cef1
imul rax, qword [rsp + 0x20], 6
mov rcx, qword [rsp + 0x90]
movzx eax, byte [rcx + rax + 4]
imul eax, eax, 0x100
imul rcx, qword [rsp + 0x20], 6
mov rdx, qword [rsp + 0x90]
movzx ecx, byte [rdx + rcx + 5]
add eax, ecx
mov rcx, qword [rsp + 0x98]
cmp eax, dword [rcx + 0x24]
jne 0x14005cef1
mov dword [rsp + 0x3c], 0
jmp 0x14005cef9
mov dword [rsp + 0x3c], 0xff
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
movzx edx, byte [rsp + 0x3c]
mov byte [rcx + rax], dl
jmp 0x14005cd70
jmp 0x14005d3b1
mov rax, qword [rsp + 0x98]
cmp dword [rax], 3
jne 0x14005d080
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 8
jne 0x14005cfd6
mov qword [rsp + 0x20], 0
jmp 0x14005cf71
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005cfd1
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x90]
add rcx, rax
mov rax, rcx
movzx eax, byte [rax]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x48]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140056df0
nop
jmp 0x14005cf4a
jmp 0x14005d07b
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x20], 0
jmp 0x14005d011
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005d07b
mov rax, qword [rsp + 0x98]
mov eax, dword [rax + 4]
mov r8d, eax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x58]
call fcn.140059ee0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x4c]
shl eax, 2
mov eax, eax
mov rcx, qword [rsp + 0x98]
mov rcx, qword [rcx + 8]
add rcx, rax
mov rax, rcx
mov r8d, 4
mov rdx, rax
mov rcx, qword [rsp + 0x80]
call fcn.140056df0
nop
jmp 0x14005cfea
jmp 0x14005d3b1
mov rax, qword [rsp + 0x98]
cmp dword [rax], 4
jne 0x14005d283
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 8
jne 0x14005d193
mov qword [rsp + 0x20], 0
jmp 0x14005d0d5
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005d18e
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*2]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*2 + 1]
mov byte [rcx + rax], dl
jmp 0x14005d0ae
jmp 0x14005d27e
mov qword [rsp + 0x20], 0
jmp 0x14005d1c5
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005d27e
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*4]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 2
mov ecx, 1
imul rcx, rcx, 1
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 1
mov ecx, 1
imul rcx, rcx, 0
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x80]
movzx eax, byte [r8 + rax]
mov byte [rdx + rcx], al
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*4 + 2]
mov byte [rcx + rax], dl
jmp 0x14005d19e
jmp 0x14005d3b1
mov rax, qword [rsp + 0x98]
cmp dword [rax], 6
jne 0x14005d3b1
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 8
jne 0x14005d2cc
mov rax, qword [rsp + 0x88]
shl rax, 2
mov r8, rax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
call fcn.140056df0
nop
jmp 0x14005d3b1
mov qword [rsp + 0x20], 0
jmp 0x14005d2fe
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
mov eax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x80]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x20], rax
je 0x14005d3b1
mov eax, 1
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*8]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 1
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*8 + 2]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 2
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*8 + 4]
mov byte [rcx + rax], dl
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x80]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x20]
movzx edx, byte [rdx + r8*8 + 6]
mov byte [rcx + rax], dl
jmp 0x14005d2d7
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1401209e0
add rsp, 0x78
ret