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

Disassembly:
mov r11, rsp
mov word [r11 + 0x20], r9w
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 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 ebx, ebx
mov qword [rsp + 0x48], rbx
movzx r10d, r9w
mov r8, rdx
mov r9, rcx
mov r12d, ebx
mov r15d, ebx
test ax, ax
je 0x180322ca9
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x5c], 0x40
jne 0x18032350c
movzx r10d, word [r11 + 0x20]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdx]
mov word [rsp + 0x62], bp
cmp bp, 0x3f
ja 0x18032350c
mov r11d, ebx
movzx r14d, bp
mov ecx, r14d
mov dword [rsp + 0x64], r14d
mov edi, 1
mov qword [rsp + 0x80], rbx
shl rdi, cl
movzx esi, r10w
dec rdi
mov qword [rsp + 0x68], rbx
mov ecx, 0x800
mov qword [rsp + 0x88], rdi
and si, cx
mov dword [rsp + 0x54], ebx
mov r13b, 1
mov word [rsp + 0x3c], si
setne r11b
mov dword [rsp + 0x30], r13d
add r11w, 0x182
mov qword [rsp + 0x90], rbx
mov dword [rsp + 0x38], r11d
mov rdx, rbx
mov ecx, ebx
cmp r15, rdi
jae 0x1803234d7
movzx eax, ax
cmp ecx, eax
jg 0x1803234d4
test ecx, ecx
jle 0x180322d45
or rdx, qword [r12 + 8]
mov qword [rsp + 0x68], rdx
cmp ecx, eax
jge 0x180322d69
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + rbx*8]
mov qword [rsp + 0x58], r12
test si, si
jne 0x18032349e
jmp 0x180322d76
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x58], r12
mov edx, dword [r12 + 0x28]
bt edx, 0xa
jb 0x1803234c7
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x180322da0
xor eax, eax
mov word [r12 + 0x1e], ax
movzx eax, byte [r12 + 0x10]
imul rcx, rax, 0x70
mov rax, qword [r9 + 8]
xor r9d, r9d
mov esi, r9d
mov r10d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r10d
test r14d, r14d
je 0x180322ef2
mov r13, qword [rsp + 0x120]
lea rdi, [r8 + 8]
mov ebp, r9d
nop word [rax + rax]
mov eax, esi
bt r15, rax
jb 0x180322ec9
mov rbx, qword [rdi]
test rbx, rbx
je 0x180322e17
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x180322e17
bt eax, 0x12
jae 0x180322e0e
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x180322e12
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x180322df4
cmp byte [rbx], 0xa4
jne 0x180322ec9
cmp dword [rbx + 0x2c], r10d
jne 0x180322ec9
mov r9, qword [rsp + 0x68]
lea rcx, [r13 + 0x68]
movsx r8d, word [rbx + 0x30]
not r9
movzx eax, r11w
mov edx, r10d
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], eax
call fcn.18031ea20
mov r8, rax
test rax, rax
je 0x180322ebc
movzx r10d, word [rax + 0x14]
cmp r10w, 1
jne 0x180322e98
movzx edx, word [r12 + 0x2c]
xor r9d, r9d
mov ecx, r9d
test edx, edx
je 0x180322e94
mov r9, qword [r12 + 0x38]
nop dword [rax]
movsxd rax, ecx
cmp r8, qword [r9 + rax*8]
je 0x180322e91
inc ecx
cmp ecx, edx
jl 0x180322e80
jmp 0x180322ebc
xor r9d, r9d
cmp ecx, edx
jge 0x180322ebf
test r10b, 0x82
je 0x180322eb8
cmp word [rbx + 0x30], 0
jl 0x180322eb8
mov r8, qword [r8]
mov rdx, qword [rdi]
mov rcx, qword [r13]
call fcn.1802d1310
test eax, eax
je 0x180322ebc
bts r15, rbp
xor r9d, r9d
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x38]
inc esi
inc rbp
add rdi, 0x20
cmp esi, r14d
jl 0x180322de0
mov r13d, dword [rsp + 0x30]
mov edx, dword [r12 + 0x28]
mov r8, qword [rsp + 0x128]
mov qword [rsp + 0x48], r15
bt edx, 0xc
jb 0x180323370
bt edx, 8
jae 0x180322f1b
mov esi, dword [rsp + 0x30]
mov r11, r9
mov qword [rsp + 0x70], r9
mov eax, 1
mov word [rsp + 0x50], r9w
jmp 0x180322f61
mov r11, qword [r12 + 0x20]
mov qword [rsp + 0x70], r11
test r11, r11
je 0x18032350c
test byte [r11 + 0x64], 4
jne 0x18032350c
cmp byte [r11 + 0x62], 0
movzx eax, word [r11 + 0x5e]
mov word [rsp + 0x50], ax
movzx eax, word [r11 + 0x60]
je 0x180322f5a
bt edx, 0xf
jb 0x180322f5a
mov sil, 1
jmp 0x180322f5d
xor sil, sil
mov dword [rsp + 0x30], esi
xor cl, cl
movzx eax, ax
xor dil, dil
mov byte [rsp + 0x35], cl
mov byte [rsp + 0x34], cl
mov r13d, r9d
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x78], eax
test eax, eax
je 0x18032336b
nop dword [rax]
nop dword [rax + rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r13d, r10d
jge 0x18032300d
movzx eax, word [r12 + 0x2e]
cmp r13d, eax
jl 0x18032300d
mov r9, qword [r12 + 0x38]
movsxd rax, r13d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test word [rsp + 0x38], ax
je 0x180322fe3
mov ecx, 0x180
mov r9d, 0
test cx, ax
movzx eax, sil
mov ecx, r9d
cmove ecx, eax
movzx esi, cl
mov dword [rsp + 0x30], esi
jmp 0x180323334
test al, 1
je 0x18032300a
mov r8, qword [rcx]
lea edx, [r13 + 1]
cmp edx, r10d
jge 0x18032300a
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x180323008
inc edx
cmp edx, r10d
jl 0x180322ff3
jmp 0x18032300a
xor bl, bl
xor r9d, r9d
test r11, r11
je 0x18032303a
mov rax, qword [r11 + 8]
movsxd rcx, r13d
movsx r14d, word [rax + rcx*2]
mov rax, qword [r11 + 0x38]
movzx r12d, byte [rcx + rax]
mov rax, qword [r11 + 0x18]
and r12b, 1
movsx ecx, word [rax + 0x44]
cmp r14d, ecx
jne 0x180323043
jmp 0x18032303d
xor r12b, r12b
mov r14d, 0xffffffff
test sil, sil
je 0x180323072
test r14d, r14d
js 0x180323072
cmp r13d, r10d
jl 0x180323072
mov rax, qword [r11 + 0x18]
movzx esi, sil
mov rcx, qword [rax + 8]
movsxd rax, r14d
shl rax, 5
cmp byte [rax + rcx + 0x18], 0
cmove esi, r9d
mov dword [rsp + 0x30], esi
mov ebp, r9d
test bl, bl
je 0x180323223
nop dword [rax]
cmp ebp, dword [rsp + 0x64]
jge 0x18032321f
mov eax, ebp
bt r15, rax
jb 0x180323215
mov rsi, qword [rsp + 0x128]
add rsi, 8
movsxd r15, ebp
mov rax, r15
shl rax, 5
add rsi, rax
mov rdx, qword [rsi]
test rdx, rdx
je 0x1803230e3
nop word [rax + rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x1803230e3
bt eax, 0x12
jae 0x1803230da
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x1803230de
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1803230c0
test byte [rsp + 0x138], 0xc0
mov ecx, r9d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x180323128
cmp byte [rdx], 0xa4
jne 0x180323210
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x180323210
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x180323210
jmp 0x1803231a8
mov rax, qword [r11 + 0x50]
movsxd rcx, r13d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x180323164
nop dword [rax]
mov eax, dword [r8 + 4]
test eax, 0x41000
je 0x180323164
bt eax, 0x12
jae 0x18032315b
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x18032315f
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x180323140
test rdx, rdx
je 0x180323193
nop dword [rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x180323193
bt eax, 0x12
jae 0x18032318a
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x18032318e
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x180323170
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.1802d9e60
mov r11, qword [rsp + 0x70]
test eax, eax
jne 0x18032320d
cmp r14d, 0xffffffff
je 0x180323263
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1802d1140
test rax, rax
jne 0x1803231d4
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax]
lea r15, [0x1803b6880]
mov r11, qword [rsp + 0x70]
movsxd rcx, r13d
mov rax, qword [r11 + 0x40]
mov r9, qword [rax + rcx*8]
sub r9, rdx
movzx ecx, byte [rdx]
movzx r8d, byte [rdx + r9]
cmp ecx, r8d
jne 0x180323250
test ecx, ecx
jne 0x18032325e
movsxd r15, ebp
movzx ebx, dil
test ecx, ecx
je 0x180323263
xor r9d, r9d
mov r15, qword [rsp + 0x48]
inc ebp
test bl, bl
jne 0x180323080
mov edi, dword [rsp + 0x44]
mov r8, qword [rsp + 0x128]
mov r12, qword [rsp + 0x58]
test r13d, r13d
je 0x180323243
movzx eax, word [rsp + 0x50]
cmp r13d, eax
jge 0x180323342
xor r13b, r13b
mov dword [rsp + 0x30], r13d
jmp 0x180323347
movzx ecx, byte [rcx + r15]
movzx eax, byte [r8 + r15]
sub ecx, eax
jne 0x180323202
inc rdx
jmp 0x1803231f1
cmp word [rsp + 0x60], 0
je 0x180323278
mov rcx, qword [rsp + 0x58]
lea eax, [r13 + 1]
mov word [rcx + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r8, qword [rsp + 0x128]
jne 0x1803232dc
mov rax, r15
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x1803232b4
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x1803232dc
mov edi, dword [rsp + 0x44]
jmp 0x18032322b
movzx edx, cl
xor dl, r12b
mov byte [rsp + 0x34], dl
je 0x1803232d7
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 + 0x58]
mov rax, r15
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x180323304
movzx eax, word [r12 + 0x18]
cmp r13d, eax
jne 0x18032335b
or dword [r12 + 0x28], 0x80000
mov edi, dword [rsp + 0x44]
cmp r14d, 0xffffffff
mov esi, dword [rsp + 0x30]
mov eax, 1
movzx edi, dil
cmove edi, eax
mov rax, qword [rsp + 0x48]
bts rax, r15
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rax
mov r15, rax
xor r9d, r9d
inc r13d
cmp r13d, dword [rsp + 0x78]
jl 0x180322f90
mov r13d, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x64]
test dil, dil
je 0x180323364
mov r13b, 1
mov dword [rsp + 0x30], r13d
jmp 0x180323379
mov edi, dword [rsp + 0x44]
jmp 0x180323230
mov r15, qword [rsp + 0x48]
jmp 0x180323370
mov r13d, dword [rsp + 0x30]
test r13b, r13b
je 0x180323472
mov rax, qword [rsp + 0x80]
xor ecx, ecx
or rax, qword [r12 + 8]
mov edi, ecx
mov r15, qword [rsp + 0x48]
mov qword [rsp + 0x80], rax
test r14d, r14d
je 0x180323472
mov r13, qword [rsp + 0x120]
mov r12, rax
nop dword [rax + rax]
mov eax, edi
bt r15, rax
jb 0x180323450
movsxd rbp, edi
mov rax, rbp
shl rax, 5
mov rbx, qword [rax + r8 + 8]
test rbx, rbx
je 0x1803233e6
lea rcx, [r13 + 0x290]
mov rdx, rbx
call fcn.18031e290
mov rsi, rax
xor ecx, ecx
jmp 0x1803233e9
mov rsi, rcx
test rsi, rsi
jne 0x18032343f
mov dword [rsp + 0xc0], ecx
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.1802d3bf0]
mov qword [rsp + 0xa0], rax
lea rax, [0x1802d3a40]
mov qword [rsp + 0xa8], rax
test rbx, rbx
je 0x18032343f
mov rdx, rbx
lea rcx, [rsp + 0x98]
call fcn.1802cde80
cmp word [rsp + 0xbc], si
je 0x18032344e
mov rax, r12
not rax
test rsi, rax
jne 0x18032344e
bts r15, rbp
xor ecx, ecx
mov r8, qword [rsp + 0x128]
inc edi
cmp edi, r14d
jl 0x1803233b0
mov r12, qword [rsp + 0x58]
mov r13d, dword [rsp + 0x30]
mov qword [rsp + 0x48], r15
mov r9, qword [rsp + 0x120]
movzx r10d, word [rsp + 0x138]
mov ecx, dword [rsp + 0x54]
mov r11d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x88]
movzx esi, word [rsp + 0x3c]
inc qword [rsp + 0x90]
inc ecx
mov rbx, qword [rsp + 0x90]
movzx eax, word [rsp + 0x140]
mov dword [rsp + 0x54], ecx
test r13b, r13b
jne 0x180322d23
jmp 0x1803234d4
cmp byte [r12 + 0x1d], 0
je 0x1803234d4
test r10b, r10b
jns 0x1803234d9
cmp r15, rdi
jne 0x1803234e0
movzx eax, byte [rsp + 0x62]
jmp 0x18032350e
test r13b, r13b
jne 0x180323527
lea ecx, [r14 - 1]
test ecx, ecx
jle 0x18032350c
nop dword [rax]
mov edx, 1
shl rdx, cl
dec rdx
mov rax, rdx
and rax, r15
cmp rax, rdx
je 0x180323522
dec ecx
test ecx, ecx
jg 0x1803234f0
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 0x18032350e
mov al, 0xff
jmp 0x18032350e