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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rsi, qword [rsp + 0xc0]
xor r13d, r13d
mov ebx, r9d
mov rbp, r8
mov r14, rdx
mov rdi, rcx
test rdx, rdx
jne 0x18001f3d4
cmp byte [rcx], r13b
jne 0x18001f3cd
test byte [rcx + 1], 2
je 0x18001f3cd
mov rax, qword [rcx + 0x30]
cmp rax, r8
jne 0x18001f392
mov rax, rsi
mov dword [rax], r13d
xor eax, eax
jmp 0x18001f7bc
jge 0x18001f3cd
test byte [rcx + 1], 8
jne 0x18001f452
inc rax
cmp rax, rbp
jne 0x18001f3cd
xor edx, edx
mov dword [rsi], r13d
call fcn.18001f930
test eax, eax
jne 0x18001f3c4
mov rcx, rdi
call fcn.18001eb8c
cmp qword [rdi + 0x30], rbp
jne 0x18001f3cd
jmp 0x18001f38b
cmp eax, 0x65
jne 0x18001f7bc
mov qword [rsp + 0x38], r13
jmp 0x18001f43d
mov rcx, qword [rdx]
cmp word [rcx + 8], 0xd
ja 0x18001f42d
mov rax, qword [rdx + 8]
movzx r8d, word [rax + 8]
mov rax, qword [rcx + 0x18]
mov cl, byte [rax]
mov al, cl
neg al
sbb dl, dl
and dl, 0xfe
inc dl
neg cl
sbb al, al
and al, 2
dec al
mov byte [r14 + 0x14], al
mov byte [r14 + 0x15], dl
test r8b, 4
je 0x18001f417
lea rax, [0x18002711c]
jmp 0x18001f434
test r8b, 0x19
jne 0x18001f42d
mov rax, qword [r14]
cmp qword [rax + 0x20], r13
lea rax, [0x1800272e0]
je 0x18001f434
lea rax, [0x180027114]
mov qword [rsp + 0x38], rax
mov byte [r14 + 0x13], r13b
mov rcx, rdi
call fcn.18001f020
test eax, eax
je 0x18001f45a
cmp eax, 0x10
jne 0x18001f7bc
or dword [rsi], 0xffffffff
jmp 0x18001f38b
mov eax, 1
sub eax, ebx
mov dword [rsp + 0x30], eax
mov rbp, qword [rdi + 0x88]
mov r12d, r13d
mov r9, qword [rsp + 0x38]
mov ecx, eax
movzx r13d, word [rbp + 0x16]
lea r15, [rbp + 0x60]
dec r13d
mov qword [rsp + 0x50], r15
mov esi, r13d
lea rbx, [rbp + 0x18]
sar esi, cl
mov word [rdi + 0x56], si
mov qword [rsp + 0x40], rbx
test r9, r9
jne 0x18001f599
mov rdx, qword [r15]
lea eax, [rsi + rsi]
movzx r9d, word [rbx]
movsxd rcx, eax
movzx r8d, byte [rdx + rcx]
movzx eax, byte [rdx + rcx + 1]
shl r8, 8
or r8, rax
and r8, r9
add r8, qword [rbp + 0x68]
cmp byte [rbp + 3], 0
je 0x18001f4e5
jmp 0x18001f4dc
inc r8
cmp r8, qword [rbp + 0x58]
jae 0x18001f738
cmp byte [r8], 0x80
jae 0x18001f4cf
inc r8
lea rdx, [rsp + 0x48]
mov rcx, r8
call fcn.18001494c
mov rax, qword [rsp + 0x48]
cmp rax, qword [rsp + 0xb0]
jge 0x18001f50f
lea r12d, [rsi + 1]
cmp r12d, r13d
jle 0x18001f51a
or ebx, 0xffffffff
jmp 0x18001f527
jle 0x18001f583
lea r13d, [rsi - 1]
cmp r12d, r13d
jg 0x18001f522
lea esi, [r12 + r13]
sar esi, 1
jmp 0x18001f4a2
mov ebx, 1
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
xor r13d, r13d
cmp byte [rbp + 8], r13b
jne 0x18001f75b
mov rbx, qword [rsp + 0x40]
movzx eax, word [rbp + 0x16]
cmp r12d, eax
jl 0x18001f6c9
movzx edx, byte [rbp + 9]
mov rcx, qword [rbp + 0x50]
movzx eax, byte [rdx + rcx + 0xa]
movzx r9d, byte [rdx + rcx + 9]
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + rcx + 8]
shl eax, 0x18
shl r9d, 8
or r9d, eax
movzx eax, byte [rdx + rcx + 0xb]
jmp 0x18001f712
xor r13d, r13d
mov word [rdi + 0x56], si
cmp byte [rbp + 8], r13b
jne 0x18001f744
mov r12d, esi
jmp 0x18001f543
lea eax, [rsi + rsi]
movsxd rcx, eax
mov rax, qword [r15]
movzx edx, byte [rcx + rax + 1]
movzx eax, byte [rcx + rax]
shl rax, 8
or rdx, rax
movzx eax, word [rbx]
and rdx, rax
movzx eax, byte [rbp + 0xb]
add rdx, qword [rbp + 0x68]
movzx ecx, byte [rdx]
lea r10, [rdx + 1]
cmp ecx, eax
ja 0x18001f5d0
mov rdx, r10
jmp 0x18001f5ee
cmp byte [r10], 0
jl 0x18001f5fb
movzx eax, byte [r10]
and ecx, 0x7f
shl ecx, 7
add ecx, eax
movzx eax, word [rbp + 0xe]
cmp ecx, eax
ja 0x18001f5fb
add rdx, 2
mov r8, r14
call r9
mov ebx, eax
jmp 0x18001f692
movzx eax, byte [rbp + 0xa]
lea r8, [rdi + 0x30]
sub rdx, rax
mov rcx, rbp
call qword [rbp + Ordinal_133]
mov ebx, dword [rdi + 0x30]
mov dword [rsp + 0xa8], ebx
cmp ebx, 2
jl 0x18001f7a6
mov rcx, qword [rdi + 0x20]
xor edx, edx
mov eax, ebx
div dword [rcx + 0x34]
cmp eax, dword [rcx + 0x3c]
ja 0x18001f7a6
lea eax, [rbx + 0x12]
movsxd rcx, eax
call fcn.180011ec0
mov r15, rax
test rax, rax
je 0x18001f79c
mov r9, rax
mov word [rdi + 0x56], si
mov r8d, ebx
xor edx, edx
mov rcx, rdi
call fcn.18001ec7c
and byte [rdi + 1], 0xfb
mov ebx, eax
test eax, eax
jne 0x18001f792
mov ecx, dword [rsp + 0xa8]
mov r8, r14
mov rax, qword [rsp + 0x38]
mov rdx, r15
call rax
mov rcx, r15
mov ebx, eax
call fcn.180011f3c
mov r15, qword [rsp + 0x50]
test ebx, ebx
jns 0x18001f69c
lea r12d, [rsi + 1]
jmp 0x18001f6ab
xor r13d, r13d
test ebx, ebx
jle 0x18001f76e
lea r13d, [rsi - 1]
cmp r12d, r13d
jg 0x18001f531
mov rbx, qword [rsp + 0x40]
lea esi, [r12 + r13]
mov r9, qword [rsp + 0x38]
sar esi, 1
jmp 0x18001f599
lea eax, [r12 + r12]
movsxd rcx, eax
mov rax, qword [r15]
movzx r8d, byte [rcx + rax + 1]
movzx eax, byte [rcx + rax]
shl rax, 8
or r8, rax
movzx eax, word [rbx]
and r8, rax
add r8, qword [rbp + 0x50]
movzx eax, byte [r8 + 2]
movzx r9d, byte [r8 + 1]
shl r9d, 8
or r9d, eax
movzx eax, byte [r8]
shl eax, 0x18
shl r9d, 8
or r9d, eax
movzx eax, byte [r8 + 3]
or r9d, eax
mov word [rdi + 0x56], r12w
mov edx, r9d
mov rcx, rdi
call fcn.18001ef64
mov ebx, eax
test eax, eax
jne 0x18001f7b5
mov eax, dword [rsp + 0x30]
jmp 0x18001f465
mov ecx, 0x10b83
call fcn.180058b3c
jmp 0x18001f7bc
or byte [rdi + 1], 2
mov qword [rdi + 0x30], rax
mov rax, qword [rsp + 0xc0]
mov dword [rax], r13d
xor eax, eax
jmp 0x18001f7b7
mov rax, qword [rsp + 0xc0]
mov word [rdi + 0x56], si
mov dword [rax], ebx
mov ebx, r13d
jmp 0x18001f7b5
mov rax, qword [rsp + 0xc0]
mov ebx, r13d
mov word [rdi + 0x56], si
mov dword [rax], r13d
cmp byte [r14 + 0x13], r13b
je 0x18001f7b5
mov ecx, 0x10bec
call fcn.180058b3c
jmp 0x18001f7b3
mov rcx, r15
call fcn.180011f3c
jmp 0x18001f7a1
mov ebx, 7
xor r13d, r13d
jmp 0x18001f7b5
mov ecx, 0x10bcd
call fcn.180058b3c
xor r13d, r13d
mov ebx, eax
mov eax, ebx
mov word [rdi + 0x46], r13w
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret