Function at 0x14005f080
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
push rsi
push rdi
sub rsp, 0x108
mov rax, qword [0x1401af080]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov eax, dword [rsp + 0x138]
mov dword [rsp + 0xc4], eax
mov dword [rsp + 0x64], 0
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0x20
test eax, eax
je 0x14005f159
mov r8, qword [rsp + 0x120]
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x50]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14004f3e0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f130
mov eax, dword [rsp + 0xc0]
jmp 0x14005f9d3
cmp dword [rsp + 0xc4], 0
je 0x14005f159
mov rax, qword [rsp + 0x120]
movsx eax, byte [rax + 0x54]
test eax, eax
jge 0x14005f159
mov ecx, 0x13803
call fcn.140112a10
jmp 0x14005f9d3
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
cmp eax, 3
jl 0x14005f19d
mov rcx, qword [rsp + 0x120]
call fcn.140057510
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f19d
cmp dword [rsp + 0xc0], 0x10
je 0x14005f19d
mov eax, dword [rsp + 0xc0]
jmp 0x14005f9d3
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
jne 0x14005f2d3
mov rax, qword [rsp + 0x40]
movzx eax, byte [rax + 0x13]
test eax, eax
je 0x14005f1e5
xor r9d, r9d
mov rax, qword [rsp + 0x128]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x120]
mov edx, dword [rax + 0x50]
mov rcx, qword [rsp + 0x40]
call fcn.14004f030
nop
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 2
test eax, eax
je 0x14005f261
mov rax, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
mov rcx, qword [rcx + 0x30]
cmp qword [rax + 8], rcx
jne 0x14005f261
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x46]
test eax, eax
je 0x14005f25f
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x128]
add eax, dword [rcx + 0x28]
mov rcx, qword [rsp + 0x120]
cmp dword [rcx + 0x40], eax
jne 0x14005f25f
mov rdx, qword [rsp + 0x128]
mov rcx, qword [rsp + 0x120]
call fcn.14005efb0
jmp 0x14005f9d3
jmp 0x14005f2ce
cmp dword [rsp + 0xc4], 0
jne 0x14005f2ce
mov eax, dword [rsp + 0x130]
and eax, 8
test eax, eax
je 0x14005f283
mov dword [rsp + 0x58], 1
jmp 0x14005f28b
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0xc4]
mov r8d, dword [rsp + 0x58]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0x120]
call fcn.140057a70
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f2ce
mov eax, dword [rsp + 0xc0]
jmp 0x14005f9d3
jmp 0x14005f45d
cmp dword [rsp + 0xc4], 0
jne 0x14005f3e2
mov eax, dword [rsp + 0x130]
and eax, 2
test eax, eax
jne 0x14005f3e2
mov rax, qword [rsp + 0x128]
movzx eax, word [rax + 0x20]
test eax, eax
je 0x14005f36f
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x80]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x128]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x128]
movzx eax, word [rax + 0x20]
mov word [rsp + 0x84], ax
mov byte [rsp + 0x86], 0
mov byte [rsp + 0x8a], 0
lea r8, [rsp + 0xc4]
lea rdx, [rsp + 0x68]
mov rcx, qword [rsp + 0x120]
call fcn.140058080
mov dword [rsp + 0xc0], eax
jmp 0x14005f3cc
mov eax, dword [rsp + 0x130]
and eax, 8
test eax, eax
je 0x14005f387
mov dword [rsp + 0x5c], 1
jmp 0x14005f38f
mov dword [rsp + 0x5c], 0
lea rax, [rsp + 0xc4]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c]
mov rax, qword [rsp + 0x128]
mov r8, qword [rax + 8]
mov rax, qword [rsp + 0x128]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x120]
call fcn.14004f560
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f3e2
mov eax, dword [rsp + 0xc0]
jmp 0x14005f9d3
cmp dword [rsp + 0xc4], 0
jne 0x14005f45d
mov rcx, qword [rsp + 0x120]
call fcn.1400565e0
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
cmp qword [rax + 0x30], rcx
jne 0x14005f45d
mov rax, qword [rsp + 0x128]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x128]
mov eax, dword [rax + 8]
mov dword [rsp + 0xb4], eax
mov dword [rsp + 0xb8], 0
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x120]
call fcn.14005efb0
jmp 0x14005f9d3
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jge 0x14005f4c6
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax]
cmp eax, 1
jle 0x14005f49f
mov ecx, 0x1387e
call fcn.140112a10
mov dword [rsp + 0xc0], eax
jmp 0x14005f4b0
mov rcx, qword [rsp + 0x30]
call fcn.140052010
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f4c6
mov eax, dword [rsp + 0xc0]
jmp 0x14005f9d3
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x88]
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x130]
and eax, 0x80
test eax, eax
je 0x14005f5e0
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x90]
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 4
jge 0x14005f52e
mov dword [rsp + 0x64], 4
mov eax, 1
imul rax, rax, 3
mov rcx, qword [rsp + 0x48]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14005f5de
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0xe]
cmp dword [rsp + 0x64], eax
jle 0x14005f5de
lea r8, [rsp + 0xe0]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xf4]
cmp dword [rsp + 0xf0], eax
je 0x14005f5de
mov eax, dword [rsp + 0x64]
sub eax, 4
cdqe
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.140034a40
mov dword [rsp + 0x60], eax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x30]
mov r9d, dword [rax + 4]
mov r8b, 3
mov edx, dword [rsp + 0x60]
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + 8]
call fcn.14004f8d0
cmp dword [rsp + 0xc0], 0
je 0x14005f5de
jmp 0x14005f9cc
jmp 0x14005f612
lea r9, [rsp + 0x64]
mov r8, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call fcn.14005a050
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f612
jmp 0x14005f9cc
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
mov dword [rsp + 0x3c], eax
xor eax, eax
mov rcx, qword [rsp + 0x120]
mov word [rcx + 0x46], ax
cmp dword [rsp + 0xc4], 0
jne 0x14005f831
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jl 0x14005f65c
mov ecx, 0x138a8
call fcn.140112a10
jmp 0x14005f9d3
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x70]
call fcn.1400476b0
mov dword [rsp + 0xc0], eax
cmp dword [rsp + 0xc0], 0
je 0x14005f680
jmp 0x14005f9cc
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x1a]
mov ecx, dword [rsp + 0x3c]
shl ecx, 1
movsxd rcx, ecx
mov rdx, qword [rsp + 0x30]
mov rdx, qword [rdx + 0x60]
movzx ecx, word [rdx + rcx]
ror cx, 8
movzx ecx, cx
and eax, ecx
cdqe
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx + 0x50]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 8]
test eax, eax
jne 0x14005f6d3
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
mov ecx, dword [rcx]
mov dword [rax], ecx
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rsp + 0x30]
call qword [rax + 0x80]
movzx eax, word [rsp + 0xdc]
cmp eax, dword [rsp + 0xd8]
je 0x14005f721
lea r8, [rsp + 0xc8]
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x30]
call fcn.140059e60
mov dword [rsp + 0xc0], eax
jmp 0x14005f72c
mov dword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffffb
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
movzx eax, word [rsp + 0xde]
cmp eax, dword [rsp + 0x64]
jne 0x14005f7ff
movzx eax, word [rsp + 0xdc]
cmp eax, dword [rsp + 0xd8]
jne 0x14005f7ff
mov rax, qword [rsp + 0x40]
mov rax, qword [rax + 8]
movzx eax, byte [rax + 0x21]
test eax, eax
je 0x14005f78d
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x10]
cmp dword [rsp + 0x64], eax
jge 0x14005f7ff
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 9]
mov rcx, qword [rsp + 0x30]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax + 0xa]
cmp qword [rsp + 0x50], rax
jae 0x14005f7ba
mov ecx, 0x138c3
call fcn.140112a10
jmp 0x14005f9d3
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x30]
cmp rax, qword [rcx + 0x58]
jbe 0x14005f7e4
mov ecx, 0x138c6
call fcn.140112a10
jmp 0x14005f9d3
movsxd rax, dword [rsp + 0x64]
mov rdi, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x48]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
xor eax, eax
jmp 0x14005f9d3
movzx eax, word [rsp + 0xde]
lea r9, [rsp + 0xc0]
mov r8d, eax
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.14005a640
cmp dword [rsp + 0xc0], 0
je 0x14005f82f
jmp 0x14005f9cc
jmp 0x14005f890
cmp dword [rsp + 0xc4], 0
jge 0x14005f890
mov rax, qword [rsp + 0x30]
movzx eax, word [rax + 0x18]
test eax, eax
jle 0x14005f890
mov rax, qword [rsp + 0x120]
movzx eax, word [rax + 0x56]
inc ax
mov word [rsp + 0x38], ax
mov rax, qword [rsp + 0x120]
movzx ecx, word [rsp + 0x38]
mov word [rax + 0x56], cx
movzx eax, word [rsp + 0x38]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffff9
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
mov r9d, dword [rsp + 0x64]
mov r8, qword [rsp + 0x48]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x30]
call fcn.14005abc0
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax + 0xc]
test eax, eax
je 0x14005f9cc
mov rax, qword [rsp + 0x120]
movzx eax, byte [rax + 1]
and eax, 0xfffffff9
mov rcx, qword [rsp + 0x120]
mov byte [rcx + 1], al
mov rcx, qword [rsp + 0x120]
call fcn.14005e870
mov dword [rsp + 0xc0], eax
mov rax, qword [rsp + 0x120]
mov rax, qword [rax + 0x88]
mov byte [rax + 0xc], 0
mov rax, qword [rsp + 0x120]
mov byte [rax], 1
mov eax, dword [rsp + 0x130]
and eax, 2
test eax, eax
je 0x14005f9cc
cmp dword [rsp + 0xc0], 0
jne 0x14005f9cc
mov rcx, qword [rsp + 0x120]
call fcn.14004f1e0
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x80], 0
je 0x14005f9a9
mov rax, qword [rsp + 0x128]
mov rcx, qword [rax + 8]
call fcn.14002a1e0
mov rcx, qword [rsp + 0x120]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0x120]
cmp qword [rax + 0x18], 0
jne 0x14005f984
mov dword [rsp + 0xc0], 7
jmp 0x14005f9a9
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rdx, qword [rsp + 0x128]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rcx]
mov rcx, qword [rdx + 8]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x120]
mov byte [rax], 3
mov rax, qword [rsp + 0x120]
mov rcx, qword [rsp + 0x128]
mov rcx, qword [rcx + 8]
mov qword [rax + 0x48], rcx
mov eax, dword [rsp + 0xc0]
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.1401823c0
add rsp, 0x108
pop rdi
pop rsi
ret