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

Disassembly:
mov word [rsp + 0x20], r9w
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xd8
movzx eax, word [rsp + 0x140]
xor r10d, r10d
mov qword [rsp + 0x40], r10
mov r15, r8
mov r8, rdx
mov r11, rcx
mov r12d, r10d
mov esi, r10d
test ax, ax
je 0x1800d0588
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x1800d0edd
movzx eax, word [rsp + 0x140]
xor r10d, r10d
movzx ebp, word [rdx]
mov word [rsp + 0x6a], bp
cmp ebp, 0x3f
ja 0x1800d0edd
mov edi, r10d
mov dword [rsp + 0x58], ebp
mov ecx, ebp
mov qword [rsp + 0x90], r10
mov ebx, 1
mov qword [rsp + 0x80], r10
shl rbx, cl
mov r13b, 1
dec rbx
mov dword [rsp + 0x30], r13d
mov ecx, 0x803
mov qword [rsp + 0x78], rbx
test cx, r9w
mov rdx, r10
mov ecx, r10d
mov qword [rsp + 0x70], rdx
setne dil
mov dword [rsp + 0x54], ecx
add di, 0x182
mov r14d, ebp
mov dword [rsp + 0x38], edi
cmp rsi, rbx
jae 0x1800d0e84
movzx eax, ax
cmp ecx, eax
jg 0x1800d0ea9
test ecx, ecx
jle 0x1800d0614
or rdx, qword [r12 + 8]
mov qword [rsp + 0x70], rdx
cmp ecx, eax
jge 0x1800d0633
bt r9w, 0xb
mov rax, qword [r15 + 0x18]
mov r12, qword [rax + r10*8]
mov qword [rsp + 0x60], r12
jb 0x1800d0e5a
jmp 0x1800d0640
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x60], r12
mov edx, dword [r12 + 0x38]
bt edx, 0xa
jb 0x1800d0e8d
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x68], ax
je 0x1800d066a
xor eax, eax
mov word [r12 + 0x1e], ax
movzx eax, byte [r12 + 0x10]
imul rcx, rax, 0x68
mov rax, qword [r11 + 8]
mov r10d, dword [rcx + rax + 0x4c]
xor eax, eax
mov dword [rsp + 0x48], r10d
mov ebp, eax
test r14d, r14d
je 0x1800d0881
mov r13d, dword [rsp + 0x58]
lea r14, [r8 + 8]
xor edx, edx
mov r15d, edx
nop dword [rax]
mov eax, ebp
bt rsi, rax
jb 0x1800d0854
mov rbx, qword [r14]
test rbx, rbx
je 0x1800d0854
nop dword [rax + rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1800d06e8
bt eax, 0x13
jae 0x1800d06da
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1800d06de
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1800d06c0
jmp 0x1800d0854
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x1800d0854
cmp dword [rbx + 0x2c], r10d
jne 0x1800d0854
mov r9, qword [rsp + 0x70]
lea rcx, [r11 + 0x70]
movsx r8d, word [rbx + 0x30]
not r9
mov qword [rsp + 0x28], rdx
mov edx, r10d
movzx eax, di
mov dword [rsp + 0x20], eax
call fcn.1800cafd0
mov rdi, rax
test rax, rax
je 0x1800d0841
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1800d076c
movzx edx, word [r12 + 0x3c]
xor eax, eax
mov ecx, eax
test edx, edx
je 0x1800d0764
mov r8, qword [r12 + 0x48]
nop
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x1800d0764
inc ecx
cmp ecx, edx
jl 0x1800d0750
jmp 0x1800d0841
cmp ecx, edx
jge 0x1800d0841
test r9b, 0x82
je 0x1800d0817
cmp word [rbx + 0x30], 0
jl 0x1800d0817
mov rbx, qword [rsp + 0x120]
mov rdx, qword [r14]
mov rbx, qword [rbx]
mov rcx, rbx
call fcn.180068310
mov rsi, rax
test rax, rax
jne 0x1800d07a6
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x1800d07bc
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x1800d07c4
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x1800d07eb
test rdi, rdi
je 0x1800d07db
test dword [rdi + 4], 0x200
jne 0x1800d07e8
mov rcx, rbx
call fcn.180068310
test rax, rax
jne 0x1800d07f8
mov rdx, rdi
mov rcx, rbx
call fcn.180068310
test rax, rax
je 0x1800d083c
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1800d0822
test ecx, ecx
jne 0x1800d0837
mov rsi, qword [rsp + 0x40]
bts rsi, r15
mov qword [rsp + 0x40], rsi
jmp 0x1800d0841
lea r10, [0x18015c030]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x1800d083c
inc r8
jmp 0x1800d0801
mov rsi, qword [rsp + 0x40]
mov edi, dword [rsp + 0x38]
xor edx, edx
mov r11, qword [rsp + 0x120]
mov r10d, dword [rsp + 0x48]
inc ebp
inc r15
add r14, 0x20
cmp ebp, r13d
jl 0x1800d06a0
mov r13d, dword [rsp + 0x30]
mov edx, dword [r12 + 0x38]
mov r8, qword [rsp + 0x128]
movzx r9d, word [rsp + 0x138]
bt edx, 0xc
jb 0x1800d0d19
bt edx, 8
jae 0x1800d08ac
mov edi, dword [rsp + 0x30]
xor edx, edx
mov r13d, edx
mov qword [rsp + 0x88], rdx
mov word [rsp + 0x50], dx
lea eax, [rdx + 1]
jmp 0x1800d08f7
mov r13, qword [r12 + 0x20]
mov qword [rsp + 0x88], r13
test r13, r13
je 0x1800d0edd
test byte [r13 + 0x64], 4
jne 0x1800d0edd
cmp byte [r13 + 0x62], 0
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x50], ax
movzx eax, word [r13 + 0x60]
je 0x1800d08ee
bt edx, 0xf
jb 0x1800d08ee
mov dil, 1
jmp 0x1800d08f1
xor dil, dil
xor edx, edx
mov dword [rsp + 0x30], edi
xor cl, cl
movzx eax, ax
xor r11b, r11b
mov byte [rsp + 0x35], cl
mov byte [rsp + 0x34], cl
mov r15d, edx
mov dword [rsp + 0x4c], r11d
mov dword [rsp + 0x6c], eax
test eax, eax
je 0x1800d0d14
nop dword [rax + rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r15d, r10d
jge 0x1800d09a9
movzx eax, word [r12 + 0x3e]
cmp r15d, eax
jl 0x1800d09a9
mov r9, qword [r12 + 0x48]
movsxd rax, r15d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test word [rsp + 0x38], ax
je 0x1800d0975
movzx r9d, word [rsp + 0x138]
mov ecx, 0x180
test cx, ax
movzx eax, dil
mov ecx, edx
cmove ecx, eax
movzx edi, cl
mov dword [rsp + 0x30], edi
jmp 0x1800d0ce1
test bl, al
je 0x1800d09a9
mov r8, qword [rcx]
lea edx, [r15 + 1]
cmp edx, r10d
jge 0x1800d09a7
nop word [rax + rax]
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x1800d09a5
inc edx
cmp edx, r10d
jl 0x1800d0990
jmp 0x1800d09a7
xor bl, bl
xor edx, edx
test r13, r13
je 0x1800d09d6
mov rax, qword [r13 + 8]
movsxd rcx, r15d
movsx r14d, word [rax + rcx*2]
mov rax, qword [r13 + 0x38]
movzx r12d, byte [rcx + rax]
mov rax, qword [r13 + 0x18]
and r12b, 1
movsx ecx, word [rax + 0x34]
cmp r14d, ecx
jne 0x1800d09df
jmp 0x1800d09d9
xor r12b, r12b
mov r14d, 0xffffffff
test dil, dil
je 0x1800d0a1a
test r14d, r14d
js 0x1800d0a0b
cmp r15d, r10d
jl 0x1800d0a1a
movsxd rax, r14d
lea rdx, [rax + rax*2]
mov rax, qword [r13 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x1800d0a1a
mov byte [rsp + 0x30], 0
jmp 0x1800d0a1a
cmp r14d, 0xfffffffe
movzx edi, dil
cmove edi, edx
mov dword [rsp + 0x30], edi
xor edi, edi
mov ebp, edi
test bl, bl
je 0x1800d0bb7
cmp ebp, dword [rsp + 0x58]
jge 0x1800d0bb2
mov eax, ebp
bt rsi, rax
jb 0x1800d0ba8
movsxd rsi, ebp
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1800d0ba3
nop dword [rax + rax]
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1800d0a88
bt eax, 0x13
jae 0x1800d0a7a
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x1800d0a7e
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1800d0a60
jmp 0x1800d0ba3
test byte [rsp + 0x138], 0xc0
mov ecx, edi
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x1800d0ac9
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x1800d0ab3
cmp al, 0xa9
jne 0x1800d0ba1
mov eax, dword [rsp + 0x48]
cmp dword [rdx + 0x2c], eax
jne 0x1800d0ba1
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jmp 0x1800d0b35
mov rax, qword [r13 + 0x50]
movsxd rcx, r15d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x1800d0b04
nop
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x1800d0b04
bt eax, 0x13
jae 0x1800d0afb
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x1800d0aff
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1800d0ae0
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1800d0b27
bt eax, 0x13
jae 0x1800d0b1e
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x1800d0b22
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1800d0b04
mov r9d, dword [rsp + 0x48]
xor ecx, ecx
call fcn.180072f00
test eax, eax
jne 0x1800d0ba1
cmp r14d, 0xffffffff
je 0x1800d0c08
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.180068310
test rax, rax
jne 0x1800d0b64
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r8, qword [rax]
mov rax, qword [r13 + 0x40]
lea r13, [0x18015c030]
movsxd rcx, r15d
mov r9, qword [rax + rcx*8]
sub r9, r8
nop dword [rax]
movzx edx, byte [r8]
movzx eax, byte [r9 + r8]
cmp edx, eax
jne 0x1800d0bf2
test edx, edx
jne 0x1800d0c00
mov r13, qword [rsp + 0x88]
movzx ebx, dil
test edx, edx
je 0x1800d0c08
xor edi, edi
mov rsi, qword [rsp + 0x40]
inc ebp
test bl, bl
jne 0x1800d0a26
mov r11d, dword [rsp + 0x4c]
mov r8, qword [rsp + 0x128]
movzx r9d, word [rsp + 0x138]
mov r12, qword [rsp + 0x60]
test r15d, r15d
je 0x1800d0be0
movzx eax, word [rsp + 0x50]
cmp r15d, eax
jge 0x1800d0cfb
mov rsi, qword [rsp + 0x40]
xor r13b, r13b
mov dword [rsp + 0x30], r13d
jmp 0x1800d0d05
movzx ecx, byte [rax + r13]
movzx edx, byte [rdx + r13]
sub edx, ecx
jne 0x1800d0b91
inc r8
jmp 0x1800d0b80
cmp word [rsp + 0x68], 0
je 0x1800d0c1d
mov rcx, qword [rsp + 0x60]
lea eax, [r15 + 1]
mov word [rcx + 0x1e], ax
movzx r9d, word [rsp + 0x138]
mov r8, qword [rsp + 0x128]
test r9b, 0x40
jne 0x1800d0c87
movsxd rax, ebp
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x1800d0c5f
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x1800d0c87
mov r11d, dword [rsp + 0x4c]
jmp 0x1800d0bc8
movzx edx, cl
xor dl, r12b
mov byte [rsp + 0x34], dl
je 0x1800d0c82
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x54]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x35], 1
mov r12, qword [rsp + 0x60]
movsxd rcx, ebp
mov rax, rcx
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x1800d0cb2
movzx eax, word [r12 + 0x18]
cmp r15d, eax
jne 0x1800d0cf1
or dword [r12 + 0x38], 0x80000
mov r11d, dword [rsp + 0x4c]
cmp r14d, 0xffffffff
mov rsi, qword [rsp + 0x40]
mov eax, 1
mov edi, dword [rsp + 0x30]
movzx r11d, r11b
cmove r11d, eax
bts rsi, rcx
mov qword [rsp + 0x40], rsi
xor edx, edx
mov dword [rsp + 0x4c], r11d
inc r15d
cmp r15d, dword [rsp + 0x6c]
jl 0x1800d0920
jmp 0x1800d0d00
mov r11d, dword [rsp + 0x4c]
jmp 0x1800d0bcd
mov rsi, qword [rsp + 0x40]
mov r13d, dword [rsp + 0x30]
test r11b, r11b
je 0x1800d0d19
mov r13b, 1
mov dword [rsp + 0x30], r13d
jmp 0x1800d0d22
mov r13d, dword [rsp + 0x30]
test r13b, r13b
je 0x1800d0e33
mov r15, qword [rsp + 0x90]
xor ecx, ecx
or r15, qword [r12 + 8]
mov edi, ecx
mov r14d, dword [rsp + 0x58]
mov qword [rsp + 0x90], r15
test r14d, r14d
je 0x1800d0e38
mov r13, qword [rsp + 0x120]
lea r12d, [rcx + 1]
nop word [rax + rax]
mov eax, edi
bt rsi, rax
jb 0x1800d0e0b
mov eax, edi
shl rax, 5
mov ebp, edi
mov rbx, qword [rax + r8 + 8]
test rbx, rbx
je 0x1800d0d94
lea rcx, [r13 + 0x258]
mov rdx, rbx
call fcn.1800ca720
mov rsi, rax
xor ecx, ecx
jmp 0x1800d0d97
mov rsi, rcx
test rsi, rsi
jne 0x1800d0de9
mov word [rsp + 0xbc], r12w
lea rax, [fcn.18006b2d0]
mov qword [rsp + 0xa0], rax
lea rax, [0x18006b120]
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0xc0], ecx
test rbx, rbx
je 0x1800d0de9
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.180064420
cmp word [rsp + 0xbc], si
je 0x1800d0e04
mov rax, r15
not rax
test rsi, rax
mov rsi, qword [rsp + 0x40]
jne 0x1800d0e09
bts rsi, rbp
mov qword [rsp + 0x40], rsi
jmp 0x1800d0e09
mov rsi, qword [rsp + 0x40]
xor ecx, ecx
mov r8, qword [rsp + 0x128]
inc edi
cmp edi, r14d
jl 0x1800d0d60
mov r12, qword [rsp + 0x60]
mov r13d, dword [rsp + 0x30]
movzx r9d, word [rsp + 0x138]
jmp 0x1800d0e38
mov r14d, dword [rsp + 0x58]
mov r11, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x54]
mov edi, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x130]
inc qword [rsp + 0x80]
inc ecx
mov r10, qword [rsp + 0x80]
movzx eax, word [rsp + 0x140]
mov dword [rsp + 0x54], ecx
test r13b, r13b
jne 0x1800d05f2
cmp rsi, rbx
jne 0x1800d0ea9
movzx eax, byte [rsp + 0x6a]
jmp 0x1800d0edf
cmp byte [r12 + 0x20], 0
je 0x1800d0ea9
mov eax, 0x280
and r9w, ax
mov eax, 0x80
cmp r9w, ax
jne 0x1800d0e86
test r13b, r13b
jne 0x1800d0ef8
lea ecx, [r14 - 1]
test ecx, ecx
jle 0x1800d0edd
cmp ecx, 0x40
jge 0x1800d0ec8
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x1800d0ecc
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rsi
cmp rax, rdx
je 0x1800d0ef3
dec ecx
test ecx, ecx
jg 0x1800d0eb6
xor al, al
add rsp, 0xd8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
movzx eax, cl
jmp 0x1800d0edf
mov al, 0xff
jmp 0x1800d0edf