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

Disassembly:
mov rax, rsp
mov word [rax + 0x20], r9w
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
xor ebx, ebx
mov r11, r8
mov r10, rdx
mov r14, rcx
mov edi, ebx
mov esi, ebx
cmp word [rsp + 0x100], bx
je 0x140380f9e
mov rax, qword [rcx]
mov r9, qword [rax]
test byte [r9 + 0x60], 0x40
jne 0x140381783
movzx r9d, word [rsp + 0xf8]
movzx edx, word [rdx]
mov word [rsp + 0x62], dx
cmp edx, 0x3f
ja 0x140381783
mov eax, 1
mov dword [rsp + 0x50], edx
mov r8d, eax
mov qword [rsp + 0x68], rbx
mov r12b, al
mov qword [rsp + 0x58], rbx
mov ecx, edx
mov dword [rsp + 0x38], r12d
shl r8, cl
mov r13d, edx
sub r8, rax
mov dword [rsp + 0x4c], ebx
mov ecx, 0x803
mov qword [rsp + 0x70], r8
movzx eax, r9w
mov qword [rsp + 0x78], rbx
and ax, cx
mov r15, rbx
neg ax
mov ecx, ebx
mov rdx, rbx
sbb bp, bp
neg bp
add bp, 0x182
mov word [rsp + 0x34], bp
cmp rsi, r8
jae 0x140381741
movzx eax, word [rsp + 0x100]
cmp ecx, eax
jg 0x140381749
test ecx, ecx
jle 0x140381033
or r15, qword [rdi + 8]
mov qword [rsp + 0x58], r15
cmp ecx, eax
jge 0x140381055
bt r9w, 0xb
mov rax, qword [r11 + 0x18]
mov rdi, qword [rax + rdx*8]
mov qword [rsp + 0x80], rdi
jb 0x1403816fb
jmp 0x140381065
mov rdi, qword [rsp + 0x108]
mov qword [rsp + 0x80], rdi
mov edx, dword [rdi + 0x38]
bt edx, 0xa
jb 0x140381722
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x140381089
mov word [rdi + 0x1e], bx
movzx eax, byte [rdi + 0x10]
mov r12d, ebx
imul rcx, rax, 0x68
mov rax, qword [r14 + 8]
mov r9d, 1
mov r11d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r11d
test r13d, r13d
je 0x140381215
mov r13, rbx
lea rbp, [r10 + 8]
mov eax, r12d
bt rsi, rax
jb 0x1403811e8
mov rcx, qword [rbp]
call fcn.14033f560
xor edx, edx
mov rbx, rax
test rax, rax
je 0x1403811e6
mov al, byte [rax]
add al, 0x59
test al, 0xfd
jne 0x1403811e6
cmp dword [rbx + 0x2c], r11d
jne 0x1403811e6
movzx eax, word [rsp + 0x34]
lea rcx, [r14 + 0x80]
movsx r8d, word [rbx + 0x30]
mov r9, r15
mov qword [rsp + 0x28], rdx
not r9
mov edx, r11d
mov dword [rsp + 0x20], eax
call fcn.140372188
mov r15, rax
xor eax, eax
lea r9d, [rax + 1]
test r15, r15
je 0x1403811dc
cmp word [r15 + 0x14], r9w
jne 0x14038115b
movzx edx, word [rdi + 0x3c]
mov ecx, eax
test edx, edx
je 0x140381153
mov r8, qword [rdi + 0x48]
movsxd rax, ecx
cmp r15, qword [r8 + rax*8]
je 0x140381151
add ecx, r9d
cmp ecx, edx
jl 0x140381141
xor eax, eax
cmp ecx, edx
jge 0x1403811dc
test byte [r15 + 0x14], 0x82
je 0x1403811c4
cmp word [rbx + 0x30], ax
jl 0x1403811c4
mov rbx, qword [r14]
mov rdx, qword [rbp]
mov rcx, rbx
call fcn.14033dce4
mov r14, rax
test rax, rax
jne 0x140381186
mov rax, qword [rbx]
mov r14, qword [rax + 0x10]
mov rax, qword [r15]
test dword [rax + 4], 0x400
je 0x14038119c
mov rdx, qword [rax + 0x18]
mov r8, qword [rax + 0x10]
jmp 0x1403811a4
mov rdx, qword [rax + 0x10]
mov r8, qword [rax + 0x18]
mov rcx, rbx
call fcn.1403319b4
xor ebx, ebx
test rax, rax
je 0x1403811ca
mov rdx, qword [rax]
mov rcx, qword [r14]
call fcn.14035d854
test eax, eax
jne 0x1403811ca
jmp 0x1403811c6
xor ebx, ebx
bts rsi, r13
mov r11d, dword [rsp + 0x40]
mov r9d, 1
mov r15, qword [rsp + 0x58]
jmp 0x1403811e8
mov r15, qword [rsp + 0x58]
mov r11d, dword [rsp + 0x40]
xor ebx, ebx
mov r14, qword [rsp + 0xe0]
add r12d, r9d
add r13, r9
add rbp, 0x20
cmp r12d, dword [rsp + 0x50]
jl 0x1403810b8
mov edx, dword [rdi + 0x38]
mov r10, qword [rsp + 0xe8]
movzx ebp, word [rsp + 0x34]
bt edx, 0xc
jb 0x14038161e
bt edx, 8
jae 0x140381238
mov r11d, dword [rsp + 0x38]
mov r15, rbx
mov word [rsp + 0x48], bx
movzx eax, r9w
jmp 0x140381276
mov r15, qword [rdi + 0x20]
test r15, r15
je 0x140381783
test byte [r15 + 0x64], 4
jne 0x140381783
movzx eax, word [r15 + 0x5e]
mov word [rsp + 0x48], ax
movzx eax, word [r15 + 0x60]
cmp byte [r15 + 0x62], bl
je 0x14038126e
mov r11b, r9b
bt edx, 0xf
jae 0x140381271
mov r11b, bl
mov dword [rsp + 0x38], r11d
movzx eax, ax
xor r12d, r12d
mov byte [rsp + 0x32], bl
mov r13b, bl
mov byte [rsp + 0x31], bl
mov dword [rsp + 0x44], r13d
mov dword [rsp + 0x64], eax
test eax, eax
je 0x14038161c
movzx r8d, word [rdi + 0x18]
mov r14b, r9b
cmp ebx, r8d
jge 0x140381313
movzx eax, word [rdi + 0x3e]
cmp ebx, eax
jl 0x140381313
mov r9, qword [rdi + 0x48]
movsxd rax, ebx
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test ax, bp
je 0x1403812e6
mov ecx, 0x180
mov r9d, 1
test cx, ax
movzx eax, r11b
mov ecx, r12d
cmove ecx, eax
mov r11b, cl
mov dword [rsp + 0x38], r11d
jmp 0x1403815f4
mov ebp, 1
test bpl, al
je 0x140381310
mov r10, qword [rcx]
lea edx, [rbx + 1]
jmp 0x140381306
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r10
je 0x14038130d
add edx, ebp
cmp edx, r8d
jl 0x1403812f8
jmp 0x140381310
mov r14b, r12b
mov r9, rbp
test r15, r15
je 0x140381376
mov rax, qword [r15 + 8]
movsxd rcx, ebx
movsx r12d, word [rax + rcx*2]
mov rax, qword [r15 + 0x38]
mov dl, byte [rcx + rax]
mov rax, qword [r15 + 0x18]
and dl, r9b
mov byte [rsp + 0x30], dl
movsx ecx, word [rax + 0x34]
cmp r12d, ecx
jne 0x140381343
or r12d, 0xffffffff
xor eax, eax
test r11b, r11b
je 0x140381393
test r12d, r12d
js 0x140381382
xor r11d, r11d
cmp ebx, r8d
jl 0x140381396
movsxd rax, r12d
lea rdx, [rax + rax*2]
mov rax, qword [r15 + 0x18]
mov rcx, qword [rax + 8]
test byte [rcx + rdx*8 + 8], 0xf
jne 0x140381396
mov al, r11b
mov dword [rsp + 0x38], eax
jmp 0x140381396
or r12d, 0xffffffff
xor eax, eax
mov byte [rsp + 0x30], al
jmp 0x140381345
cmp r12d, 0xfffffffe
movzx r11d, r11b
cmove r11d, eax
mov dword [rsp + 0x38], r11d
xor r11d, r11d
mov ebp, r11d
test r14b, r14b
je 0x1403814dc
cmp ebp, dword [rsp + 0x50]
jge 0x1403814d7
mov eax, ebp
bt rsi, rax
jb 0x1403814cb
mov r10, qword [rsp + 0xe8]
movsxd r8, ebp
mov r13, r8
mov qword [rsp + 0x88], r8
shl r13, 5
mov rcx, qword [r10 + r13 + 8]
call fcn.14033f560
mov rdx, rax
test rax, rax
je 0x1403814cb
movzx r9d, word [rsp + 0xf8]
mov al, r9b
and al, 0xc0
neg al
sbb al, al
and al, r14b
mov byte [rsp + 0x3c], al
mov r14b, al
cmp r12d, 0xffffffff
jl 0x140381441
cmp byte [rdx], 0xa7
je 0x140381418
cmp byte [rdx], 0xa9
jne 0x1403814c5
mov ecx, dword [rsp + 0x40]
mov r14b, al
cmp dword [rdx + 0x2c], ecx
jne 0x1403814c5
movsx eax, word [rdx + 0x30]
cmp eax, r12d
jne 0x1403814c5
cmp r12d, 0xffffffff
je 0x14038151b
jmp 0x14038147f
mov rax, qword [r15 + 0x50]
movsxd rcx, ebx
shl rcx, 5
mov rcx, qword [rcx + rax + 8]
call fcn.14033f560
mov rcx, rdx
mov r8, rax
call fcn.14033f560
mov r9d, dword [rsp + 0x40]
mov rdx, rax
xor ecx, ecx
call fcn.14033de90
xor r11d, r11d
test eax, eax
jne 0x1403814c5
mov r10, qword [rsp + 0xe8]
mov rax, qword [rsp + 0xe0]
mov rdx, qword [r10 + r13 + 8]
mov r14, qword [rax]
mov rcx, r14
call fcn.14033dce4
xor r11d, r11d
mov rcx, rax
test rax, rax
jne 0x1403814a9
mov rax, qword [r14]
mov rcx, qword [rax + 0x10]
mov rdx, qword [r15 + 0x40]
mov rcx, qword [rcx]
mov r14b, byte [rsp + 0x3c]
movsxd rax, ebx
mov rdx, qword [rdx + rax*8]
call fcn.14035d854
test eax, eax
je 0x140381502
mov r9d, 1
add ebp, r9d
test r14b, r14b
jne 0x1403813a2
mov r13d, dword [rsp + 0x44]
mov r10, qword [rsp + 0xe8]
test ebx, ebx
je 0x1403814f5
movzx eax, word [rsp + 0x48]
cmp ebx, eax
jge 0x140381601
xor ebx, ebx
mov al, bl
mov dword [rsp + 0x38], eax
jmp 0x140381603
mov r8, qword [rsp + 0x88]
movzx r9d, word [rsp + 0xf8]
mov r10, qword [rsp + 0xe8]
mov ecx, 1
cmp word [rsp + 0x60], r11w
je 0x14038152f
lea eax, [rcx + rbx]
mov word [rdi + 0x1e], ax
test r9b, 0x40
mov dl, cl
mov r9d, 1
jne 0x1403815a5
mov bpl, byte [rsp + 0x32]
mov rax, r8
shl rax, 5
mov cl, byte [rax + r10 + 0x18]
and cl, r9b
test bpl, bpl
je 0x140381579
mov r10b, byte [rsp + 0x31]
mov al, byte [rsp + 0x30]
xor al, r10b
mov byte [rsp + 0x31], r10b
cmp al, cl
mov byte [rsp + 0x32], bpl
sete dl
jne 0x1403814d7
jmp 0x1403815a5
xor cl, byte [rsp + 0x30]
mov byte [rsp + 0x31], cl
je 0x1403815a0
mov r9, qword [rsp + 0x110]
movsxd rax, dword [rsp + 0x4c]
mov rcx, qword [r9]
bts rcx, rax
mov qword [r9], rcx
mov r9d, 1
mov byte [rsp + 0x32], r9b
mov r10, qword [rsp + 0xe8]
mov rax, r8
shl rax, 5
test byte [rax + r10 + 0x18], 2
je 0x1403815cd
movzx eax, word [rdi + 0x18]
cmp ebx, eax
jne 0x140381612
bts dword [rdi + 0x38], 0x13
test dl, dl
je 0x140381612
mov r13d, dword [rsp + 0x44]
cmp r12d, 0xffffffff
mov r11d, dword [rsp + 0x38]
movzx ebp, word [rsp + 0x34]
movzx r13d, r13b
cmove r13d, r9d
bts rsi, r8
xor r12d, r12d
mov dword [rsp + 0x44], r13d
add ebx, r9d
cmp ebx, dword [rsp + 0x64]
jl 0x140381298
xor ebx, ebx
test r13b, r13b
je 0x14038161e
mov r12b, r9b
mov dword [rsp + 0x38], r12d
jmp 0x14038162c
mov r13d, dword [rsp + 0x44]
jmp 0x1403814e4
xor ebx, ebx
mov r12d, dword [rsp + 0x38]
test r12b, r12b
je 0x14038171b
mov r11, qword [rsp + 0x68]
or r11, qword [rdi + 8]
mov r13d, dword [rsp + 0x50]
mov qword [rsp + 0x68], r11
test r13d, r13d
je 0x1403816cd
mov r12, qword [rsp + 0xe0]
mov rdi, r11
mov eax, ebx
bt rsi, rax
jb 0x1403816b0
mov eax, ebx
lea rcx, [r12 + 0x268]
shl rax, 5
mov r15d, ebx
mov rbp, qword [rax + r10 + 8]
mov rdx, rbp
call fcn.140372030
mov r14, rax
test rax, rax
jne 0x140381693
xor r8d, r8d
lea edx, [rax + 1]
mov rcx, rbp
call fcn.1402f2a18
test eax, eax
je 0x1403816aa
mov rax, rdi
mov r9d, 1
not rax
test r14, rax
jne 0x1403816b0
bts rsi, r15
jmp 0x1403816b0
mov r9d, 1
mov r10, qword [rsp + 0xe8]
add ebx, r9d
cmp ebx, r13d
jl 0x140381653
mov rdi, qword [rsp + 0x80]
mov r12d, dword [rsp + 0x38]
xor ebx, ebx
movzx r9d, word [rsp + 0xf8]
mov r8, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x4c]
mov r14, qword [rsp + 0xe0]
movzx ebp, word [rsp + 0x34]
mov r15, qword [rsp + 0x58]
mov r11, qword [rsp + 0xf0]
mov eax, 1
add qword [rsp + 0x78], rax
add ecx, eax
mov rdx, qword [rsp + 0x78]
mov dword [rsp + 0x4c], ecx
test r12b, r12b
jne 0x14038100d
jmp 0x14038173e
mov r13d, dword [rsp + 0x50]
jmp 0x1403816cf
cmp byte [rdi + 0x20], bl
je 0x140381749
mov eax, 0x280
and r9w, ax
mov eax, 0x80
cmp r9w, ax
je 0x140381749
mov rsi, r8
cmp rsi, r8
jne 0x140381749
mov al, byte [rsp + 0x62]
jmp 0x140381785
test r12b, r12b
jne 0x14038179d
lea edx, [r13 - 1]
test edx, edx
jle 0x140381783
mov r8d, 1
mov ecx, edx
mov rax, r8
shl rax, cl
mov rcx, rbx
sub rax, r8
cmp edx, 0x40
cmovl rcx, rax
mov rax, rcx
and rax, rsi
cmp rax, rcx
je 0x140381799
sub edx, r8d
test edx, edx
jg 0x14038175c
xor al, al
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov al, dl
jmp 0x140381785
mov al, 0xff
jmp 0x140381785