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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r15, qword [rcx]
xor r12d, r12d
mov qword [rsp + 0x48], r15
mov r13d, r9d
mov dword [rsp + 0x40], r12d
mov rbx, r8
mov dword [rsp + 0x3c], r12d
mov rsi, rdx
mov dword [rsp + 0x34], r12d
mov rdi, rcx
mov ebp, r12d
test r8, r8
je 0x14005ccab
cmp qword [rcx + 0x178], r12
jne 0x14005ccab
cmp qword [r8 + 0x68], r12
jne 0x14005ccab
call fcn.14006a458
test rax, rax
jne 0x14005ccab
cmp dword [rsi + 0x54], r12d
jne 0x14005ccab
cmp r13d, 0xb
jne 0x14005c3eb
cmp word [rsi + 0x44], r12w
jl 0x14005c3e5
movzx r13d, byte [rsi + 0x4c]
cmp r13d, 0xb
jne 0x14005c3eb
mov r13d, 2
mov r8, qword [rbx + 0x28]
mov ecx, 1
cmp dword [r8], ecx
jne 0x14005ccab
cmp qword [r8 + 0x30], r12
jne 0x14005ccab
cmp qword [rbx + 0x30], r12
jne 0x14005ccab
cmp qword [rbx + 0x48], r12
jne 0x14005ccab
cmp qword [rbx + 0x38], r12
jne 0x14005ccab
cmp qword [rbx + 0x60], r12
jne 0x14005ccab
cmp qword [rbx + 0x50], r12
jne 0x14005ccab
test byte [rbx + 0xc], cl
jne 0x14005ccab
mov rax, qword [rbx]
cmp dword [rax], ecx
jne 0x14005ccab
mov rax, qword [rax + 8]
cmp byte [rax], 0xaf
jne 0x14005ccab
add r8, 8
xor edx, edx
mov rcx, rdi
call fcn.14004d280
mov r14, rax
test rax, rax
je 0x14005ccab
mov ecx, dword [rsi + 0x38]
cmp dword [rax + 0x38], ecx
jne 0x14005c48a
mov rcx, qword [rsi + 0x70]
cmp qword [rax + 0x70], rcx
je 0x14005ccab
mov eax, dword [rax + 0x40]
mov r9d, 1
mov ecx, dword [rsi + 0x40]
shr ecx, 5
shr eax, 5
not ecx
not eax
xor ecx, eax
test r9b, cl
jne 0x14005ccab
cmp dword [r14 + 0x54], r12d
jne 0x14005ccab
cmp qword [r14 + 0x18], r12
jne 0x14005ccab
movsx rcx, word [rsi + 0x46]
cmp cx, word [r14 + 0x46]
jne 0x14005ccab
movzx eax, word [r14 + 0x44]
cmp word [rsi + 0x44], ax
jne 0x14005ccab
cmp r12w, cx
jge 0x14005c5b4
mov r11, qword [rsi + 8]
mov r15, rcx
mov rbx, qword [r14 + 8]
add r11, 0x10
add rbx, 0x10
mov al, byte [rbx + 9]
cmp byte [r11 + 9], al
jne 0x14005ccab
mov rcx, qword [r11]
mov rdx, qword [rbx]
test rcx, rcx
jne 0x14005c51a
neg rdx
sbb eax, eax
jmp 0x14005c52e
test rdx, rdx
je 0x14005ccab
call fcn.1400191f8
mov r9d, 1
test eax, eax
jne 0x14005ccab
cmp byte [r11 + 8], r12b
je 0x14005c546
cmp byte [rbx + 8], r12b
je 0x14005ccab
test rbp, rbp
jle 0x14005c598
mov rdx, qword [r11 - 8]
mov ecx, r12d
mov r8, qword [rbx - 8]
test rdx, rdx
mov eax, r12d
sete cl
test r8, r8
sete al
cmp ecx, eax
jne 0x14005ccab
test rdx, rdx
je 0x14005c598
mov rax, qword [rdx + 8]
mov r8, qword [r8 + 8]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x14005c590
add rax, r9
test ecx, ecx
jne 0x14005c57d
test edx, edx
jne 0x14005ccab
add rbp, r9
add r11, 0x20
add rbx, 0x20
cmp rbp, r15
jl 0x14005c4fb
mov r15, qword [rsp + 0x48]
mov ebp, r12d
mov rbx, qword [rsi + 0x10]
jmp 0x14005c60c
cmp byte [rbx + 0x62], r12b
cmovne ebp, r9d
mov dword [rsp + 0x34], ebp
mov rbp, qword [r14 + 0x10]
test rbp, rbp
je 0x14005ccab
mov rdx, rbp
mov rcx, rbx
call fcn.14005c244
test eax, eax
jne 0x14005c5e8
mov rbp, qword [rbp + 0x28]
jmp 0x14005c5ca
mov eax, dword [rbx + 0x58]
cmp dword [rbp + 0x58], eax
jne 0x14005c5fe
mov rax, qword [rsi + 0x70]
cmp qword [r14 + 0x70], rax
je 0x14005ccab
mov rbx, qword [rbx + 0x28]
mov r9d, 1
mov ebp, dword [rsp + 0x34]
test rbx, rbx
jne 0x14005c5ba
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x14005c62f
mov rcx, qword [r14 + 0x30]
or r8d, 0xffffffff
call fcn.140047ebc
test eax, eax
jne 0x14005ccab
test qword [r15 + 0x30], 0x4000
je 0x14005c643
cmp qword [rsi + 0x20], r12
jne 0x14005ccab
test byte [r15 + 0x30], 0x80
jne 0x14005ccab
mov rcx, qword [r14 + 0x70]
mov dword [rsp + 0x30], 0xfff0bdc0
test rcx, rcx
je 0x14005c689
mov rax, qword [r15 + 0x20]
mov edx, r12d
add rax, 0x18
mov dword [rsp + 0x30], edx
cmp qword [rax], rcx
je 0x14005c689
mov r8d, 1
add edx, r8d
lea rax, [rax + 0x20]
cmp qword [rax], rcx
jne 0x14005c679
mov dword [rsp + 0x30], edx
mov rcx, rdi
call fcn.14006475c
mov edx, dword [rsp + 0x30]
mov rcx, rdi
mov rbp, rax
call fcn.140052a3c
mov eax, dword [rdi + 0x34]
mov r8, rsi
mov edx, dword [rsp + 0xc0]
mov dword [rsp + 0xa0], eax
lea r12d, [rax + 1]
lea ecx, [r12 + 1]
mov dword [rsp + 0x38], r12d
mov dword [rdi + 0x34], ecx
mov rcx, rdi
call fcn.140059834
mov cl, byte [rdi + 0x1f]
xor ebx, ebx
mov dword [rsp + 0x44], eax
lea rax, [rdi + 0x38]
lea edx, [rbx + 1]
test cl, cl
jne 0x14005c6ec
mov r15d, dword [rax]
inc r15d
mov dword [rax], r15d
jmp 0x14005c700
sub cl, dl
movzx ecx, cl
mov byte [rdi + 0x1f], cl
mov r15d, dword [rdi + rcx*4 + 0xbc]
test cl, cl
jne 0x14005c70f
add dword [rax], edx
mov ebx, dword [rax]
mov dword [rsp + 0xb0], ebx
xor ebx, ebx
jmp 0x14005c725
sub cl, dl
movzx eax, cl
mov byte [rdi + 0x1f], al
mov eax, dword [rdi + rax*4 + 0xbc]
mov dword [rsp + 0xb0], eax
mov r8d, dword [rsp + 0xc0]
mov r9, rsi
mov edx, r12d
mov dword [rsp + 0x20], 0x62
mov rcx, rdi
call fcn.1400594f8
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
jne 0x14005c7b3
cmp word [rsi + 0x44], bx
jge 0x14005c75a
cmp qword [rsi + 0x10], rbx
jne 0x14005c76d
cmp dword [rsp + 0x34], ebx
jne 0x14005c76d
lea eax, [r13 - 1]
mov ecx, 1
cmp eax, ecx
jbe 0x14005c7b3
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov r8d, r12d
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.140031b3c
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, rbp
mov ebx, eax
lea edx, [r9 + 0xb]
call fcn.140031b3c
mov edx, ebx
mov dword [rsp + 0x40], eax
mov rcx, rbp
call fcn.140032510
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
test byte [r14 + 0x40], 0x20
jne 0x14005c9c0
mov ebx, dword [rsp + 0xa0]
mov r9, r14
mov r8d, dword [rsp + 0x30]
mov edx, ebx
mov rcx, rdi
mov dword [rsp + 0x20], 0x61
call fcn.1400594f8
and dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.140031b3c
xor ecx, ecx
mov dword [rsp + 0x3c], eax
cmp word [rsi + 0x44], cx
jl 0x14005c8df
mov ebx, dword [rsp + 0xb0]
mov edx, pe_nt_image_headers64
mov r8d, dword [rsp + 0xa0]
mov r9d, ebx
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call fcn.140031b3c
xor r9d, r9d
mov dword [rsp + 0x34], eax
mov r8d, r12d
mov dword [rsp + 0x20], ebx
mov rcx, rbp
lea edx, [r9 + 0x1f]
call fcn.140031b3c
mov r8, rsi
mov edx, r13d
mov rcx, rdi
mov ebx, eax
call fcn.140052d90
mov edx, ebx
mov rcx, rbp
call fcn.140032510
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
xor ecx, ecx
mov eax, dword [rsp + 0x44]
test eax, eax
jle 0x14005c88d
mov r9d, dword [rsp + 0xb0]
mov r8d, eax
mov dword [rsp + 0x20], ecx
mov edx, 0x97
mov rcx, qword [rdi + 0x10]
call fcn.140031b3c
mov ebx, dword [rsp + 0xa0]
mov r13d, dword [rsp + 0x34]
mov r9d, r15d
mov dword [rsp + 0x20], 1
mov r8d, ebx
mov edx, 0x7f
mov rcx, rbp
call fcn.140031b3c
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005c91b
xor eax, eax
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov edx, 0x82
mov rcx, rbp
call fcn.140031b3c
mov ebx, 0x39
jmp 0x14005c920
cmp qword [rsi + 0x10], rcx
jne 0x14005c911
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 8
jne 0x14005c911
mov r8d, r12d
mov edx, 0x79
mov r9d, dword [rsp + 0xb0]
mov dword [rsp + 0x20], ecx
mov rcx, rbp
call fcn.140031b3c
mov r13d, eax
jmp 0x14005c899
mov r8d, ebx
mov edx, pe_nt_image_headers64
jmp 0x14005c8f8
mov ebx, 0x29
mov eax, dword [rsp + 0xb0]
mov r9d, r15d
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov edx, 0x7a
mov rcx, rbp
call fcn.140031b3c
mov r9d, 0xfffffffa
mov r8, rsi
mov edx, eax
mov rcx, rbp
call fcn.140032424
movsxd rax, dword [rbp + 0x90]
xor edx, edx
test eax, eax
jle 0x14005c96e
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
mov word [rax + rcx*8 - 0x16], bx
mov r8d, dword [rsp + 0xa0]
mov r9d, r13d
mov dword [rsp + 0x20], edx
mov rcx, rbp
mov edx, 5
call fcn.140031b3c
mov r8d, dword [rsp + 0xa0]
xor r13d, r13d
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov rcx, rbp
lea ebx, [r13 + 0x75]
mov edx, ebx
call fcn.140031b3c
xor r9d, r9d
mov dword [rsp + 0x20], r13d
mov r8d, r12d
mov edx, ebx
mov rcx, rbp
call fcn.140031b3c
mov r13, qword [rsi + 0x10]
xor esi, esi
jmp 0x14005cbe5
mov rbx, qword [r14 + 0x10]
test rbx, rbx
je 0x14005c9f1
mov rdx, rbx
mov rcx, r13
call fcn.14005c244
test eax, eax
jne 0x14005c9ec
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x14005c9d4
mov r12d, dword [rsp + 0x38]
mov eax, dword [rsp + 0x30]
mov edx, 0x61
mov r9d, dword [rbx + 0x58]
mov rcx, rbp
mov r8d, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call fcn.140031b3c
mov rdx, rbx
mov rcx, rdi
call fcn.1400324e4
mov eax, dword [rsp + 0xc0]
mov r8d, r12d
mov r9d, dword [r13 + 0x58]
mov edx, 0x62
mov rcx, rbp
mov dword [rsp + 0x20], eax
call fcn.140031b3c
mov rdx, r13
mov rcx, rdi
call fcn.1400324e4
movsxd rax, dword [rbp + 0x90]
xor edx, edx
test eax, eax
jle 0x14005ca66
lea rcx, [rax + rax*2]
mov rax, qword [rbp + 0x88]
mov word [rax + rcx*8 - 0x16], 1
mov r8d, dword [rsp + 0xa0]
xor r9d, r9d
mov dword [rsp + 0x20], edx
mov rcx, rbp
lea edx, [r9 + 0x24]
call fcn.140031b3c
mov r8d, dword [rsp + 0xa0]
mov r9d, r15d
mov edx, 0x7f
mov dword [rsp + 0x44], eax
mov rcx, rbp
mov dword [rsp + 0x20], 1
call fcn.140031b3c
mov rax, qword [rsp + 0x48]
test byte [rax + 0x2c], 4
je 0x14005cb2a
movzx r13d, word [rbx + 0x60]
xor r8d, r8d
mov eax, r8d
mov r12d, r8d
mov dword [rsp + 0x34], eax
test r13d, r13d
je 0x14005cb00
mov r11, qword [rbx + 0x40]
mov rdx, qword [r11]
test rdx, rdx
je 0x14005cb00
lea rcx, [0x1400fb270]
call fcn.1400191f8
xor r8d, r8d
test eax, eax
mov eax, dword [rsp + 0x34]
jne 0x14005cb00
lea ecx, [r8 + 1]
add r11, 8
add eax, ecx
add r12, rcx
mov dword [rsp + 0x34], eax
cmp r12, r13
jl 0x14005cacb
mov r12d, dword [rsp + 0x38]
cmp eax, r13d
jne 0x14005cb25
mov dword [rsp + 0x20], r8d
xor r9d, r9d
mov r8d, r12d
mov edx, 0x82
mov rcx, rbp
mov sil, 0x10
call fcn.140031b3c
mov r13, qword [rsp + 0x50]
test byte [r14 + 0x40], 0x20
je 0x14005cb3f
mov eax, dword [r13 + 0x64]
and al, 3
cmp al, 2
jne 0x14005cb3f
or sil, 1
xor ebx, ebx
mov r9d, r15d
mov r8d, r12d
mov dword [rsp + 0x20], ebx
mov edx, 0x84
mov rcx, rbp
call fcn.140031b3c
movsxd rax, dword [rbp + 0x90]
test eax, eax
jle 0x14005cb7b
lea rcx, [rax + rax*2]
or sil, 8
mov rax, qword [rbp + 0x88]
movzx edx, sil
mov word [rax + rcx*8 - 0x16], dx
mov esi, dword [rsp + 0x44]
mov edx, 5
mov r8d, dword [rsp + 0xa0]
mov rcx, rbp
mov dword [rsp + 0x20], ebx
lea r9d, [rsi + 1]
call fcn.140031b3c
mov edx, esi
mov rcx, rbp
call fcn.140032510
mov ecx, dword [rbp + 0x90]
xor esi, esi
mov r8d, dword [rsp + 0xa0]
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov dword [rax + 8], ecx
mov rcx, rbp
lea ebx, [rsi + 0x75]
mov edx, ebx
call fcn.140031b3c
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov r8d, r12d
mov edx, ebx
mov rcx, rbp
call fcn.140031b3c
mov r13, qword [r13 + 0x28]
mov qword [rsp + 0x50], r13
test r13, r13
jne 0x14005c9cb
mov eax, dword [rsp + 0x3c]
test eax, eax
je 0x14005cc0e
mov edx, eax
mov rcx, rbp
call fcn.140032510
mov ecx, dword [rbp + 0x90]
mov dword [rax + 8], ecx
mov ecx, dword [rsp + 0xb0]
test ecx, ecx
je 0x14005cc34
cmp byte [rdi + 0x1f], 8
jae 0x14005cc34
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], ecx
mov ecx, 1
add byte [rdi + 0x1f], cl
jmp 0x14005cc39
mov ecx, 1
test r15d, r15d
je 0x14005cc53
cmp byte [rdi + 0x1f], 8
jae 0x14005cc53
movzx eax, byte [rdi + 0x1f]
mov dword [rdi + rax*4 + 0xbc], r15d
add byte [rdi + 0x1f], cl
mov ebx, dword [rsp + 0x40]
test ebx, ebx
je 0x14005ccc5
cmp qword [rdi + 0x88], rsi
je 0x14005cc6c
mov rcx, rdi
call fcn.140059a3c
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov rcx, rbp
lea edx, [r9 + 0x45]
call fcn.140031b3c
mov edx, ebx
mov rcx, rbp
call fcn.140032510
mov ecx, dword [rbp + 0x90]
xor r9d, r9d
mov r8d, r12d
mov dword [rsp + 0x20], esi
mov dword [rax + 8], ecx
mov rcx, rbp
lea edx, [r9 + 0x75]
call fcn.140031b3c
xor eax, eax
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, ecx
jmp 0x14005ccad