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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 8]
sub rsp, 0x108
mov r13, rcx
xor eax, eax
lea rcx, [rbp + 0x58]
mov dword [rbp + 0x58], eax
call fcn.1401371a0
mov ebx, dword [rbp + 0x58]
lea r12, [r13 + 0x28]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x80], r12
cmp ebx, dword [r12 + 0xc]
jle 0x14005cca1
mov edx, ebx
mov rcx, r12
call fcn.140062f80
mov ebx, dword [rbp + 0x58]
mov eax, dword [r13 + 0x40]
lea rsi, [r13 + 0x38]
sub eax, dword [rsi + 0x34]
mov edi, 1
mov qword [rsp + 0x70], rsi
mov r14d, 0xffffffe0
cmp ebx, eax
jle 0x14005cd1d
mov edx, ebx
mov rcx, rsi
call fcn.1400614c0
cmp ebx, 4
jb 0x14005cd02
shr ebx, 1
add ebx, 8
mov eax, ebx
add rax, rax
or rax, rdi
bsr rdx, rax
lea ecx, [rbx - 1]
add rcx, rcx
or rcx, rdi
bsr rax, rcx
mov ecx, r14d
sub ecx, edx
shl ecx, 0x1a
sar ecx, 0x1f
not ecx
and ecx, eax
mov eax, edi
shl eax, cl
jmp 0x14005cd04
mov eax, edi
mov ecx, dword [rsi + 0x48]
test ecx, ecx
je 0x14005cd0f
cmp ecx, eax
jge 0x14005cd1a
mov rcx, rsi
mov dword [rsi + 0x48], eax
call fcn.140060960
mov ebx, dword [rbp + 0x58]
lea r15, [r13 + 0x88]
mov eax, ebx
mov ecx, dword [r15 + 8]
cdq
sub ecx, dword [r15 + 0x34]
sub eax, edx
sar eax, 1
mov qword [rsp + 0x78], r15
mov esi, eax
cmp eax, ecx
jle 0x14005cd99
mov edx, eax
mov rcx, r15
call fcn.140061640
cmp esi, 4
jb 0x14005cd7e
shr esi, 1
add esi, 8
mov eax, esi
add rax, rax
or rax, rdi
bsr r8, rax
lea edx, [rsi - 1]
sub r14d, r8d
add rdx, rdx
shl r14d, 0x1a
or rdx, rdi
bsr rcx, rdx
sar r14d, 0x1f
not r14d
and ecx, r14d
shl edi, cl
mov eax, dword [r15 + 0x48]
test eax, eax
je 0x14005cd8a
cmp eax, edi
jge 0x14005cd96
mov rcx, r15
mov dword [r15 + 0x48], edi
call fcn.140060bc0
mov ebx, dword [rbp + 0x58]
xor esi, esi
mov qword [rbp - 0x38], r13
mov dword [rbp + 0x68], esi
lea r13d, [rsi + 0x3f]
test ebx, ebx
jle 0x14005da0b
mov eax, esi
mov qword [rbp - 0x68], rax
jmp 0x14005cdc6
mov r13d, 0x3f
imul r14, rax, 0xe0
xor r8d, r8d
mov qword [rsp + 0x30], rsi
add r14, qword [rbp - 0x40]
mov eax, r8d
mov r12, rsi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x3c], eax
lea rdi, [r14 + 8]
test rdi, rdi
je 0x14005ce5f
cmp byte [rdi], al
je 0x14005ce5f
mov rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp byte [rdi + rbx], al
jne 0x14005ce00
inc ebx
test ebx, ebx
jle 0x14005ce27
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140019a30
mov eax, dword [rsp + 0x3c]
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov edx, esi
add esi, ebx
mov dword [rsp + 0x38], esi
cmp esi, eax
jle 0x14005ce46
lea rcx, [rsp + 0x30]
call fcn.1400197d0
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov r9d, ebx
mov word [rsp + 0x20], r13w
mov r8, rdi
mov edx, ebx
mov rcx, r12
call fcn.14001b180
xor r8d, r8d
lea rdi, [r14 + 0x14]
mov qword [rsp + 0x60], r8
mov ecx, r8d
mov eax, r8d
mov dword [rsp + 0x68], ecx
mov dword [rsp + 0x6c], eax
test rdi, rdi
je 0x14005cedb
cmp byte [rdi], 0
je 0x14005cedb
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14005ce87
inc ebx
test ebx, ebx
jle 0x14005ceaa
mov edx, ebx
lea rcx, [rsp + 0x60]
call fcn.140019a30
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x68]
mov edx, ecx
add ecx, ebx
mov dword [rsp + 0x68], ecx
cmp ecx, eax
jle 0x14005cec0
lea rcx, [rsp + 0x60]
call fcn.1400197d0
mov rcx, qword [rsp + 0x60]
mov r9d, ebx
mov r8, rdi
mov word [rsp + 0x20], r13w
mov edx, ebx
call fcn.14001b180
xor r8d, r8d
lea rdi, [r14 + 0x1a]
mov qword [rsp + 0x50], r8
mov dword [rsp + 0x58], r8d
mov eax, r8d
mov dword [rsp + 0x5c], eax
mov r13d, r8d
test rdi, rdi
je 0x14005cf66
cmp byte [rdi], 0
je 0x14005cf66
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14005cf04
inc ebx
test ebx, ebx
jle 0x14005cf28
mov edx, ebx
lea rcx, [rsp + 0x50]
call fcn.140019a30
mov eax, dword [rsp + 0x5c]
mov r13d, dword [rsp + 0x58]
mov edx, r13d
add r13d, ebx
mov dword [rsp + 0x58], r13d
cmp r13d, eax
jle 0x14005cf47
lea rcx, [rsp + 0x50]
call fcn.1400197d0
mov r13d, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
mov eax, 0x3f
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, rdi
mov edx, ebx
call fcn.14001b180
xor r8d, r8d
mov r14, qword [rsp + 0x70]
mov eax, dword [r14 + 8]
cmp eax, dword [r14 + 0x34]
je 0x14005d00a
test esi, esi
je 0x14005cf85
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x14005cf8f
lea rdx, [0x140280be0]
mov ecx, r8d
mov rbx, qword [r14 + 0x40]
lea rdi, [r14 + 0x38]
call fcn.140023d50
movsxd rcx, eax
movsxd rax, dword [r14 + 0x48]
dec rax
and rcx, rax
test rbx, rbx
cmovne rdi, rbx
mov ebx, dword [rdi + rcx*4]
cmp ebx, 0xffffffff
je 0x14005d00a
mov rax, qword [r14]
nop dword [rax + rax]
movsxd rdi, ebx
shl rdi, 5
lea rcx, [rdi + rax]
mov eax, dword [rdi + rax + 8]
cmp eax, esi
je 0x14005cfda
add eax, esi
cmp eax, 1
jmp 0x14005cfec
cmp eax, 1
jle 0x14005d001
mov rcx, qword [rcx]
mov rdx, r12
call fcn.140041dc0
test eax, eax
sete al
test al, al
jne 0x14005d001
mov rax, qword [r14]
mov ebx, dword [rax + rdi + 0x18]
cmp ebx, 0xffffffff
jne 0x14005cfc0
jmp 0x14005d00a
cmp ebx, 0xffffffff
jne 0x14005d241
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, r14
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x60], eax
call fcn.140048f60
mov esi, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
test esi, esi
je 0x14005d03a
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x14005d045
xor eax, eax
lea rdx, [0x140280be0]
mov ecx, eax
call fcn.140023d50
mov ecx, dword [r15 + 8]
movsxd r14, eax
cmp ecx, dword [r15 + 0x34]
je 0x14005d0cf
mov rdx, qword [r15 + 0x40]
lea r9, [r15 + 0x38]
movsxd r8, dword [r15 + 0x48]
dec r8
and r8, r14
test rdx, rdx
cmovne r9, rdx
mov ebx, dword [r9 + r8*4]
cmp ebx, 0xffffffff
je 0x14005d0cf
mov rdx, qword [r15]
nop dword [rax]
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rdi, [rcx*8]
mov eax, dword [rdx + rdi + 8]
lea rcx, [rdx + rdi]
cmp eax, esi
je 0x14005d0a2
add eax, esi
cmp eax, 1
jmp 0x14005d0b8
cmp eax, 1
jle 0x14005d1ae
mov rcx, qword [rcx]
mov rdx, r12
call fcn.140041dc0
test eax, eax
sete al
test al, al
jne 0x14005d1ae
mov rdx, qword [r15]
mov ebx, dword [rdi + rdx + 0x20]
cmp ebx, 0xffffffff
jne 0x14005d080
lea r8, [rsp + 0x30]
mov edx, r14d
mov rcx, r15
call fcn.140049c60
mov esi, dword [rsp + 0x38]
mov rbx, rax
mov r12, qword [rsp + 0x30]
movsxd rdi, dword [rbx + 8]
lea ecx, [rdi + 1]
mov dword [rbx + 8], ecx
cmp ecx, dword [rbx + 0xc]
jle 0x14005d104
mov edx, edi
mov rcx, rbx
call fcn.140027a30
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x14005d12a
mov edx, ebx
mov rcx, rdi
call fcn.140062490
xor ecx, ecx
shl rbx, 6
add rbx, qword [rdi]
lea rax, [rsp + 0x30]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
lea rdi, [rbx + 0x10]
mov qword [rbx + 0x30], rcx
lea r14, [rbx + 0x20]
mov qword [rbx + 0x38], rcx
lea r15, [rbx + 0x30]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
cmp rbx, rax
je 0x14005d18f
mov dword [rbx + 8], esi
test esi, esi
je 0x14005d18f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1400228d0
mov rcx, qword [rbx]
mov rdx, r12
movsxd r8, esi
add r8, r8
call fcn.140260aa0
xor ecx, ecx
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14005d1e7
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], esi
test esi, esi
jne 0x14005d1cc
test r8d, r8d
jne 0x14005d1cc
mov dword [rdi + 0xc], ecx
jmp 0x14005d1e7
cmp ebx, 0xffffffff
je 0x14005d0cf
mov rbx, qword [r15]
add rbx, rdi
je 0x14005d0cf
add rbx, 0x10
jmp 0x14005d0eb
mov edx, esi
mov rcx, rdi
call fcn.1400228d0
mov rcx, qword [rdi]
mov rdx, r12
movsxd r8, esi
add r8, r8
call fcn.140260aa0
lea rax, [rbp - 0x60]
xor ecx, ecx
cmp r14, rax
je 0x14005d211
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], ecx
test r8d, r8d
jne 0x14005d205
mov dword [r14 + 0xc], ecx
jmp 0x14005d211
xor edx, edx
mov rcx, r14
call fcn.1400228d0
xor ecx, ecx
lea rax, [rbp - 0x60]
cmp r15, rax
je 0x14005d237
mov r8d, dword [r15 + 0xc]
mov dword [r15 + 8], ecx
test r8d, r8d
jne 0x14005d22d
mov dword [r15 + 0xc], ecx
jmp 0x14005d237
xor edx, edx
mov rcx, r15
call fcn.1400228d0
mov r15, qword [rsp + 0x78]
mov r14, qword [rsp + 0x70]
cmp r13d, 1
jle 0x14005d57c
xor edi, edi
lea ecx, [rsi - 1]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], rdi
test esi, esi
jne 0x14005d260
mov ecx, edi
lea eax, [r13 - 1]
test r13d, r13d
jne 0x14005d26b
mov eax, edi
lea edx, [rcx + 1]
add edx, eax
test edx, edx
jle 0x14005d284
inc edx
test edx, edx
jle 0x14005d284
lea rcx, [rsp + 0x40]
call fcn.140019a30
lea r8d, [rsi - 1]
test esi, esi
jne 0x14005d28f
mov r8d, edi
mov rdx, r12
lea rcx, [rsp + 0x40]
call fcn.1400246e0
mov edx, dword [rsp + 0x48]
lea ebx, [rdx - 1]
test edx, edx
jg 0x14005d2a9
mov ebx, edi
test edx, edx
mov eax, edi
setle al
inc eax
add eax, edx
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x4c]
jle 0x14005d2c8
lea rcx, [rsp + 0x40]
call fcn.1400197d0
mov rax, qword [rsp + 0x40]
mov edx, 0x2d
movsxd rcx, ebx
lea r8d, [r13 - 1]
mov word [rax + rcx*2], dx
mov rax, qword [rsp + 0x40]
mov word [rax + rcx*2 + 2], di
test r13d, r13d
jne 0x14005d2ef
mov r8d, edi
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
call fcn.1400246e0
mov eax, dword [rsp + 0x48]
lea r8, [rbp - 0x78]
mov rbx, qword [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov dword [rbp - 0x70], eax
mov rcx, r14
mov eax, dword [rsp + 0x4c]
mov dword [rbp - 0x6c], eax
mov qword [rsp + 0x48], rdi
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x40], rdi
call fcn.140054280
cmp dword [rax], 0xffffffff
jne 0x14005d54f
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, [rbp - 0x78]
mov rcx, r14
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x60], eax
call fcn.140048f60
test esi, esi
je 0x14005d35e
mov rdx, r12
lea ecx, [rsi - 1]
jmp 0x14005d367
lea rdx, [0x140280be0]
mov ecx, edi
call fcn.140023d50
mov ecx, dword [r15 + 8]
movsxd r14, eax
cmp ecx, dword [r15 + 0x34]
je 0x14005d3ef
mov rdx, qword [r15 + 0x40]
lea r9, [r15 + 0x38]
movsxd r8, dword [r15 + 0x48]
dec r8
and r8, r14
test rdx, rdx
cmovne r9, rdx
mov ebx, dword [r9 + r8*4]
cmp ebx, 0xffffffff
je 0x14005d3ef
mov rdx, qword [r15]
nop
movsxd rax, ebx
lea rcx, [rax + rax*4]
lea rdi, [rcx*8]
mov eax, dword [rdx + rdi + 8]
lea rcx, [rdx + rdi]
cmp eax, esi
je 0x14005d3c2
add eax, esi
cmp eax, 1
jmp 0x14005d3d8
cmp eax, 1
jle 0x14005d4ac
mov rcx, qword [rcx]
mov rdx, r12
call fcn.140041dc0
test eax, eax
sete al
test al, al
jne 0x14005d4ac
mov rdx, qword [r15]
mov ebx, dword [rdi + rdx + 0x20]
cmp ebx, 0xffffffff
jne 0x14005d3a0
lea r8, [rsp + 0x30]
mov edx, r14d
mov rcx, r15
call fcn.140049c60
mov esi, dword [rsp + 0x38]
mov rbx, rax
mov r12, qword [rsp + 0x30]
movsxd rdi, dword [rbx + 8]
lea ecx, [rdi + 1]
mov dword [rbx + 8], ecx
cmp ecx, dword [rbx + 0xc]
jle 0x14005d424
mov edx, edi
mov rcx, rbx
call fcn.140027a30
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x14005d44a
mov edx, ebx
mov rcx, rdi
call fcn.140062490
xor r15d, r15d
lea rdx, [rbp - 0x78]
mov rcx, rbx
shl rcx, 6
add rcx, qword [rdi]
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], r15
mov qword [rcx + 0x20], r15
lea r14, [rcx + 0x10]
mov qword [rcx + 0x28], r15
lea rbx, [rcx + 0x20]
mov qword [rcx + 0x30], r15
lea rdi, [rcx + 0x30]
mov qword [rcx], r15
mov qword [rdi + 8], r15
mov qword [rcx + 8], r15
call fcn.14002cc40
lea rax, [rsp + 0x30]
cmp r14, rax
je 0x14005d4e5
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], esi
test esi, esi
jne 0x14005d4ca
test r8d, r8d
jne 0x14005d4ca
mov dword [r14 + 0xc], r15d
jmp 0x14005d4e5
cmp ebx, 0xffffffff
je 0x14005d3ef
mov rbx, qword [r15]
add rbx, rdi
je 0x14005d3ef
add rbx, 0x10
jmp 0x14005d40b
mov edx, esi
mov rcx, r14
call fcn.1400228d0
mov rcx, qword [r14]
mov rdx, r12
movsxd r8, esi
add r8, r8
call fcn.140260aa0
lea rax, [rbp - 0x60]
cmp rbx, rax
je 0x14005d50b
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r8d, r8d
jne 0x14005d501
mov dword [rbx + 0xc], r15d
jmp 0x14005d50b
xor edx, edx
mov rcx, rbx
call fcn.1400228d0
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x14005d54b
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r13d
test r13d, r13d
jne 0x14005d52d
test r8d, r8d
jne 0x14005d52d
mov dword [rdi + 0xc], r15d
jmp 0x14005d54b
mov edx, r13d
mov rcx, rdi
call fcn.1400228d0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
movsxd r8, r13d
add r8, r8
call fcn.140260aa0
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14005d57c
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005d56c
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
movsxd r15, dword [rsp + 0x68]
cmp r15d, 1
jle 0x14005d950
xor esi, esi
lea r9, [rbp - 0x30]
lea r8, [rsp + 0x60]
mov qword [rbp - 0x30], rsi
lea rdx, [rsp + 0x30]
mov qword [rbp - 0x28], rsi
lea rcx, [rbp - 0x20]
call fcn.140050a70
mov rbx, qword [rsp + 0x70]
lea rdx, [rbp - 0x4c]
mov rcx, rbx
mov r8, rax
mov r14, rax
call fcn.140054280
cmp dword [rax], 0xffffffff
jne 0x14005d7c5
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
mov rdx, r14
mov ecx, dword [rax + 0x30]
mov dword [rbp + 0x60], ecx
mov rcx, rbx
call fcn.140048f60
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14005d5f7
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x14005d600
lea rdx, [0x140280be0]
mov ecx, esi
call fcn.140023d50
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140049e60
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x14005d632
mov edx, edi
mov rcx, rax
call fcn.140027a30
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x14005d658
mov edx, ebx
mov rcx, rdi
call fcn.140062490
xor eax, eax
mov rcx, rbx
shl rcx, 6
mov rdx, r14
add rcx, qword [rdi]
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], rsi
mov qword [rcx + 0x20], rsi
lea rdi, [rcx + 0x10]
mov qword [rcx + 0x28], rsi
lea rbx, [rcx + 0x20]
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
lea rsi, [rcx + 0x30]
mov qword [rsi], rax
mov qword [rsi + 8], rax
call fcn.14002cc40
mov r12, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14005d6e1
movsxd r14, dword [rsp + 0x38]
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r14d
test r14d, r14d
jne 0x14005d6c5
test r8d, r8d
jne 0x14005d6c5
xor r14d, r14d
mov dword [rdi + 0xc], r14d
jmp 0x14005d6e4
mov edx, r14d
mov rcx, rdi
call fcn.1400228d0
mov rcx, qword [rdi]
mov r8, r14
add r8, r8
mov rdx, r12
call fcn.140260aa0
xor r14d, r14d
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x14005d724
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r15d, r15d
jne 0x14005d706
test r8d, r8d
jne 0x14005d706
mov dword [rbx + 0xc], r14d
jmp 0x14005d724
mov edx, r15d
mov rcx, rbx
call fcn.1400228d0
mov rdx, qword [rsp + 0x60]
mov r8, r15
mov rcx, qword [rbx]
add r8, r8
call fcn.140260aa0
lea rax, [rbp - 0x60]
cmp rsi, rax
je 0x14005d73e
mov r8d, dword [rsi + 0xc]
mov dword [rsi + 8], r14d
test r8d, r8d
jne 0x14005d7b6
mov dword [rsi + 0xc], r14d
mov rbx, qword [rsp + 0x70]
xor esi, esi
lea rcx, [rbp - 0x20]
call fcn.14004be40
cmp r13d, 1
jle 0x14005d950
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.140050a70
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, rbx
mov r14, rax
call fcn.140054280
cmp dword [rax], 0xffffffff
jne 0x14005d942
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
mov rdx, r14
mov ecx, dword [rax + 0x30]
mov dword [rbp + 0x60], ecx
mov rcx, rbx
call fcn.140048f60
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14005d7cf
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x14005d7d8
xor edx, edx
mov rcx, rsi
call fcn.1400228d0
jmp 0x14005d73e
mov r12, qword [rsp + 0x30]
jmp 0x14005d745
lea rdx, [0x140280be0]
mov ecx, esi
call fcn.140023d50
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x30]
mov edx, eax
call fcn.140049e60
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x14005d80a
mov edx, edi
mov rcx, rax
call fcn.140027a30
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
mov rdi, qword [rbp - 0x80]
movsxd rbx, dword [rdi + 8]
lea eax, [rbx + 1]
mov dword [rdi + 8], eax
cmp eax, dword [rdi + 0xc]
jle 0x14005d830
mov edx, ebx
mov rcx, rdi
call fcn.140062490
xor eax, eax
mov rcx, rbx
shl rcx, 6
mov rdx, r14
add rcx, qword [rdi]
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
lea rbx, [rcx + 0x20]
mov qword [rcx], rsi
lea rsi, [rcx + 0x10]
mov qword [rcx + 8], 0
lea rdi, [rcx + 0x30]
mov qword [rbx + 8], rax
mov qword [rdi], rax
mov qword [rdi + 8], rax
call fcn.14002cc40
mov r12, qword [rsp + 0x30]
lea rax, [rsp + 0x30]
cmp rsi, rax
je 0x14005d8bd
movsxd r14, dword [rsp + 0x38]
mov r8d, dword [rsi + 0xc]
mov dword [rsi + 8], r14d
test r14d, r14d
jne 0x14005d8a1
test r8d, r8d
jne 0x14005d8a1
xor r14d, r14d
mov dword [rsi + 0xc], r14d
jmp 0x14005d8c0
mov edx, r14d
mov rcx, rsi
call fcn.1400228d0
mov rcx, qword [rsi]
mov r8, r14
add r8, r8
mov rdx, r12
call fcn.140260aa0
xor r14d, r14d
lea rax, [rsp + 0x60]
cmp rbx, rax
je 0x14005d900
mov r8d, dword [rbx + 0xc]
mov dword [rbx + 8], r15d
test r15d, r15d
jne 0x14005d8e2
test r8d, r8d
jne 0x14005d8e2
mov dword [rbx + 0xc], r14d
jmp 0x14005d900
mov edx, r15d
mov rcx, rbx
call fcn.1400228d0
mov rdx, qword [rsp + 0x60]
mov r8, r15
mov rcx, qword [rbx]
add r8, r8
call fcn.140260aa0
lea rax, [rsp + 0x50]
cmp rdi, rax
je 0x14005d947
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], r13d
test r13d, r13d
jne 0x14005d922
test r8d, r8d
jne 0x14005d922
mov dword [rdi + 0xc], r14d
jmp 0x14005d947
mov edx, r13d
mov rcx, rdi
call fcn.1400228d0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rdi]
movsxd r8, r13d
add r8, r8
call fcn.140260aa0
jmp 0x14005d947
mov r12, qword [rsp + 0x30]
lea rcx, [rbp - 0x10]
call fcn.14004be40
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005d982
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005d972
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14005d9b4
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005d9a4
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
test r12, r12
je 0x14005d9e1
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005d9d1
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, r12
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov ecx, dword [rbp + 0x68]
mov esi, 0
mov rax, qword [rbp - 0x68]
inc ecx
mov r15, qword [rsp + 0x78]
inc rax
mov dword [rbp + 0x68], ecx
mov qword [rbp - 0x68], rax
cmp ecx, dword [rbp + 0x58]
jl 0x14005cdc0
mov r12, qword [rbp - 0x80]
call fcn.14012bc70
mov r13, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x14005dca9
nop
cmp byte [rdi + 2], 0
jne 0x14005dc93
cmp byte [rdi], 0
mov edx, esi
mov ecx, esi
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x30], rsi
je 0x14005da9b
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rdi + rbx], 0
jne 0x14005da47
inc ebx
test ebx, ebx
jle 0x14005da6a
mov edx, ebx
lea rcx, [rsp + 0x30]
call fcn.140019a30
mov ecx, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x38]
lea eax, [rdx + rbx]
mov dword [rsp + 0x38], eax
cmp eax, ecx
jle 0x14005da7f
lea rcx, [rsp + 0x30]
call fcn.1400197d0
mov rcx, qword [rsp + 0x30]
mov eax, 0x3f
mov r9d, ebx
mov word [rsp + 0x20], ax
mov r8, rdi
mov edx, ebx
call fcn.14001b180
lea rcx, [rsp + 0x30]
call fcn.1400282a0
mov rbx, qword [rsp + 0x70]
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [rbp + 0x68]
call fcn.140054280
cmp dword [rax], 0xffffffff
jne 0x14005dc61
mov rax, qword [rbp + 0x50]
lea r8, [rbp + 0x60]
lea rdx, [rsp + 0x30]
mov rcx, rbx
mov eax, dword [rax + 0x30]
mov dword [rbp + 0x60], eax
call fcn.140048f60
mov eax, dword [rsp + 0x38]
test eax, eax
je 0x14005daf1
mov rdx, qword [rsp + 0x30]
lea ecx, [rax - 1]
jmp 0x14005dafa
lea rdx, [0x140280be0]
mov ecx, esi
call fcn.140023d50
lea r8, [rsp + 0x30]
mov edx, eax
mov rcx, r15
call fcn.140049e60
mov rbx, rax
movsxd rdi, dword [rax + 8]
lea ecx, [rdi + 1]
mov dword [rax + 8], ecx
cmp ecx, dword [rax + 0xc]
jle 0x14005db2a
mov edx, edi
mov rcx, rax
call fcn.140027a30
mov rcx, qword [rbx]
mov eax, dword [rbp + 0x60]
mov dword [rcx + rdi*4], eax
movsxd rbx, dword [r12 + 8]
lea eax, [rbx + 1]
mov dword [r12 + 8], eax
cmp eax, dword [r12 + 0xc]
jle 0x14005db51
mov edx, ebx
mov rcx, r12
call fcn.140062490
xor ecx, ecx
shl rbx, 6
add rbx, qword [r12]
lea rax, [rsp + 0x30]
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x20], rcx
mov qword [rbx + 0x28], rcx
mov qword [rbx], rsi
lea rdi, [rbx + 0x10]
mov qword [rbx + 8], 0
lea rsi, [rbx + 0x20]
mov qword [rdi + 8], 0
lea r14, [rbx + 0x30]
mov qword [r14], rcx
mov qword [r14 + 8], rcx
cmp rbx, rax
je 0x14005dbcf
movsxd r15, dword [rsp + 0x38]
mov r12, qword [rsp + 0x30]
mov dword [rbx + 8], r15d
test r15d, r15d
je 0x14005dbcb
xor r8d, r8d
mov edx, r15d
mov rcx, rbx
call fcn.1400228d0
mov rcx, qword [rbx]
mov r8, r15
add r8, r8
mov rdx, r12
call fcn.140260aa0
xor ecx, ecx
mov r12, qword [rbp - 0x80]
lea rax, [rsp + 0x30]
cmp rdi, rax
je 0x14005dc13
movsxd rbx, dword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov r8d, dword [rdi + 0xc]
mov dword [rdi + 8], ebx
test ebx, ebx
jne 0x14005dbf8
test r8d, r8d
jne 0x14005dbf8
mov dword [rdi + 0xc], ecx
jmp 0x14005dc13
mov edx, ebx
mov rcx, rdi
call fcn.1400228d0
mov rcx, qword [rdi]
mov r8, rbx
add r8, r8
mov rdx, r15
call fcn.140260aa0
lea rax, [rbp - 0x60]
cmp rsi, rax
je 0x14005dc39
mov r8d, dword [rsi + 0xc]
xor eax, eax
mov dword [rsi + 8], eax
test r8d, r8d
jne 0x14005dc2f
mov dword [rsi + 0xc], eax
jmp 0x14005dc39
xor edx, edx
mov rcx, rsi
call fcn.1400228d0
lea rax, [rbp - 0x60]
xor esi, esi
cmp r14, rax
je 0x14005dc61
mov r8d, dword [r14 + 0xc]
mov dword [r14 + 8], esi
test r8d, r8d
jne 0x14005dc57
mov dword [r14 + 0xc], esi
jmp 0x14005dc61
xor edx, edx
mov rcx, r14
call fcn.1400228d0
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14005dc93
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005dc83
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov rdi, qword [r13 + 8]
add r13, 8
mov r15, qword [rsp + 0x78]
test rdi, rdi
jne 0x14005da20
mov edx, 9
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x48], 0
call fcn.140019a30
mov edx, dword [rsp + 0x48]
lea eax, [rdx + 9]
mov dword [rsp + 0x48], eax
cmp eax, dword [rsp + 0x4c]
jle 0x14005dce1
lea rcx, [rsp + 0x40]
call fcn.1400197d0
mov rcx, qword [rsp + 0x40]
lea rdx, str.US_POSIX
mov r8d, 0x12
call fcn.140038f30
mov edx, 3
mov qword [rsp + 0x50], rsi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x58], 0
call fcn.140019a30
mov edx, dword [rsp + 0x58]
lea eax, [rdx + 3]
mov dword [rsp + 0x58], eax
cmp eax, dword [rsp + 0x5c]
jle 0x14005dd30
lea rcx, [rsp + 0x50]
call fcn.1400197d0
mov rcx, qword [rsp + 0x50]
lea rdx, [0x14028d790]
mov r8d, 6
call fcn.140038f30
mov edx, 0xc
mov qword [rsp + 0x60], rsi
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x68], 0
call fcn.140019a30
mov edx, dword [rsp + 0x68]
lea eax, [rdx + 0xc]
mov dword [rsp + 0x68], eax
cmp eax, dword [rsp + 0x6c]
jle 0x14005dd7f
lea rcx, [rsp + 0x60]
call fcn.1400197d0
mov rcx, qword [rsp + 0x60]
lea rdx, [0x140292738]
mov r8d, 0x18
call fcn.140038f30
lea rax, [rsp + 0x40]
mov qword [rbp - 0x78], rsi
lea r9, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x50]
mov qword [rbp - 0x70], 0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x38]
call fcn.14004e840
mov rbx, qword [rbp - 0x78]
test rbx, rbx
je 0x14005ddf4
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005dde4
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x14005de26
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005de16
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov rbx, qword [rsp + 0x50]
test rbx, rbx
je 0x14005de58
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005de48
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14005de8a
mov rcx, qword [0x1403e93e8]
test rcx, rcx
jne 0x14005de7a
call fcn.140055750
mov rcx, qword [0x1403e93e8]
mov rax, qword [rcx]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x140041db8.0]
mov edx, dword [r12 + 8]
cmp dword [r12 + 0xc], edx
je 0x14005de9e
mov rcx, r12
call fcn.140062f80
mov rbx, qword [rsp + 0x70]
mov rcx, rbx
call fcn.140063110
mov edx, dword [rbx + 8]
mov r8b, 1
sub edx, dword [rbx + 0x34]
mov rcx, rbx
call fcn.1400507b0
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.1400631f0
mov edx, dword [rbx + 8]
mov r8b, 1
sub edx, dword [rbx + 0x34]
mov rcx, rbx
call fcn.140050840
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret