Function at 0x1401ffb40
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 ebp, word [rsp + 0x140]
xor eax, eax
mov qword [rsp + 0x40], rax
mov r8, rdx
mov rdi, rcx
mov r12d, eax
mov esi, eax
test bp, bp
je 0x1401ffb98
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x5c], 0x40
jne 0x14020046c
movzx r13d, word [rdx]
mov word [rsp + 0x6a], r13w
cmp r13w, 0x3f
ja 0x14020046c
movzx r15d, r13w
mov ebx, 1
xor r13d, r13d
mov dword [rsp + 0x3c], r15d
mov r11d, r13d
mov qword [rsp + 0x98], r13
mov ecx, r15d
mov qword [rsp + 0x90], r13
shl rbx, cl
movzx r14d, r9w
dec rbx
mov ecx, 0x800
and r14w, cx
mov qword [rsp + 0x88], rbx
mov al, 1
mov word [rsp + 0x4c], r14w
setne r11b
mov dword [rsp + 0x30], eax
add r11w, 0x182
mov edx, r13d
mov ecx, r13d
mov dword [rsp + 0x38], r11d
mov qword [rsp + 0x70], rdx
mov r10d, r13d
mov dword [rsp + 0x58], ecx
nop dword [rax]
cmp rsi, rbx
jae 0x140200430
movzx eax, bp
cmp ecx, eax
jg 0x140200429
test ecx, ecx
jle 0x1401ffc42
or rdx, qword [r12 + 8]
mov qword [rsp + 0x70], rdx
cmp ecx, eax
jge 0x1401ffc67
mov rax, qword [rsp + 0x130]
mov rax, qword [rax + 0x18]
mov r12, qword [rax + r10*8]
mov qword [rsp + 0x60], r12
test r14w, r14w
jne 0x1402003f8
jmp 0x1401ffc74
mov r12, qword [rsp + 0x148]
mov qword [rsp + 0x60], r12
mov edx, dword [r12 + 0x28]
bt edx, 0xa
jb 0x14020041c
movzx eax, r9w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x68], ax
je 0x1401ffc9c
mov word [r12 + 0x1e], r13w
movzx eax, byte [r12 + 0x10]
mov ebp, r13d
imul rcx, rax, 0x70
mov rax, qword [rdi + 8]
mov r10d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x48], r10d
test r15d, r15d
je 0x1401ffdc4
mov r15, r13
lea r14, [r8 + 8]
mov r13d, dword [rsp + 0x3c]
nop dword [rax]
mov eax, ebp
bt rsi, rax
jb 0x1401ffd8e
mov rbx, qword [r14]
test rbx, rbx
je 0x1401ffd07
mov eax, dword [rbx + 4]
test eax, 0x41000
je 0x1401ffd07
bt eax, 0x12
jae 0x1401ffcfe
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1401ffd02
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1401ffce4
cmp byte [rbx], 0xa4
jne 0x1401ffd8e
cmp dword [rbx + 0x2c], r10d
jne 0x1401ffd8e
mov r9, qword [rsp + 0x70]
lea rcx, [rdi + 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.1401ee6c0
mov rsi, rax
test rax, rax
je 0x1401ffd7f
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1401ffdf8
movzx edx, word [r12 + 0x2c]
xor ecx, ecx
test edx, edx
je 0x1401ffdf4
mov r8, qword [r12 + 0x38]
nop dword [rax]
movsxd rax, ecx
cmp rsi, qword [r8 + rax*8]
je 0x1401ffdf4
inc ecx
cmp ecx, edx
jl 0x1401ffd70
mov rsi, qword [rsp + 0x40]
mov r11d, dword [rsp + 0x38]
mov r10d, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x120]
inc ebp
inc r15
add r14, 0x20
cmp ebp, r13d
jl 0x1401ffcd0
mov edx, dword [r12 + 0x28]
mov r15d, r13d
mov r8, qword [rsp + 0x128]
xor r13d, r13d
movzx r9d, word [rsp + 0x138]
bt edx, 0xc
jb 0x1402002b5
bt edx, 8
jae 0x1401ffe5c
mov ebp, dword [rsp + 0x30]
mov r11, r13
mov qword [rsp + 0x78], r13
mov eax, 1
mov word [rsp + 0x54], r13w
jmp 0x1401ffea2
cmp ecx, edx
jge 0x1401ffd7f
test r9b, 0x82
je 0x1401ffe49
cmp word [rbx + 0x30], 0
jl 0x1401ffe49
mov rbx, qword [rdi]
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1401b81b0
mov rdi, rax
test rax, rax
jne 0x1401ffe22
mov rax, qword [rbx]
mov rdi, qword [rax + 0x10]
mov rdx, qword [rsi]
mov rcx, rbx
call fcn.1401b86c0
test rax, rax
je 0x1401ffd7f
mov rdx, qword [rax]
mov rcx, qword [rdi]
call fcn.1401d6250
test eax, eax
jne 0x1401ffd7f
mov rsi, qword [rsp + 0x40]
bts rsi, r15
mov qword [rsp + 0x40], rsi
jmp 0x1401ffd84
mov r11, qword [r12 + 0x20]
mov qword [rsp + 0x78], r11
test r11, r11
je 0x14020046c
test byte [r11 + 0x64], 4
jne 0x14020046c
cmp byte [r11 + 0x62], 0
movzx eax, word [r11 + 0x5e]
mov word [rsp + 0x54], ax
movzx eax, word [r11 + 0x60]
je 0x1401ffe9b
bt edx, 0xf
jb 0x1401ffe9b
mov bpl, 1
jmp 0x1401ffe9e
xor bpl, bpl
mov dword [rsp + 0x30], ebp
xor cl, cl
movzx eax, ax
xor dil, dil
mov byte [rsp + 0x35], cl
mov byte [rsp + 0x34], cl
mov dword [rsp + 0x50], edi
mov dword [rsp + 0x80], eax
test eax, eax
je 0x1402002b5
nop word [rax + rax]
movzx r10d, word [r12 + 0x18]
mov bl, 1
cmp r13d, r10d
jge 0x1401fff57
movzx eax, word [r12 + 0x2e]
cmp r13d, eax
jl 0x1401fff57
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 0x1401fff28
movzx r9d, word [rsp + 0x138]
mov ecx, 0x180
test cx, ax
movzx eax, bpl
mov ecx, 0
cmove ecx, eax
movzx ebp, cl
mov dword [rsp + 0x30], ebp
jmp 0x140200291
test al, 1
je 0x1401fff57
mov r8, qword [rcx]
lea edx, [r13 + 1]
cmp edx, r10d
jge 0x1401fff57
nop dword [rax + rax]
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x1401fff55
inc edx
cmp edx, r10d
jl 0x1401fff40
jmp 0x1401fff57
xor bl, bl
test r11, r11
je 0x1401fff84
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 0x1401fff8d
jmp 0x1401fff87
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x1401fffc4
test r14d, r14d
js 0x1401fffc4
cmp r13d, r10d
jl 0x1401fffc4
mov rax, qword [r11 + 0x18]
mov r8d, 0
movzx ebp, bpl
mov rcx, qword [rax + 8]
movsxd rax, r14d
shl rax, 5
cmp byte [rax + rcx + 0x18], 0
cmove ebp, r8d
mov dword [rsp + 0x30], ebp
jmp 0x1401fffc7
xor r8d, r8d
mov ebp, r8d
test bl, bl
je 0x140200169
cmp ebp, r15d
jge 0x140200165
mov eax, ebp
bt rsi, rax
jb 0x14020015b
movsxd r15, ebp
mov rsi, r15
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x140200025
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x140200025
bt eax, 0x12
jae 0x14020001c
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x140200020
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x140200002
test byte [rsp + 0x138], 0xc0
mov ecx, r8d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x14020006a
cmp byte [rdx], 0xa4
jne 0x140200151
mov eax, dword [rsp + 0x48]
cmp dword [rdx + 0x2c], eax
jne 0x140200151
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x140200151
jmp 0x1402000e8
mov rax, qword [r11 + 0x50]
movsxd rcx, r13d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x1402000a4
nop
mov eax, dword [r8 + 4]
test eax, 0x41000
je 0x1402000a4
bt eax, 0x12
jae 0x14020009b
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x14020009f
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x140200080
test rdx, rdx
je 0x1402000d3
nop dword [rax]
mov eax, dword [rdx + 4]
test eax, 0x41000
je 0x1402000d3
bt eax, 0x12
jae 0x1402000ca
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x1402000ce
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1402000b0
mov r9d, dword [rsp + 0x48]
xor ecx, ecx
call fcn.1401b8380
mov r11, qword [rsp + 0x78]
test eax, eax
jne 0x14020014e
cmp r14d, 0xffffffff
je 0x1402001c1
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1401b81b0
test rax, rax
jne 0x140200115
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov rdx, qword [rax]
lea r15, [0x14024ccc0]
mov r11, qword [rsp + 0x78]
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 0x1402001ab
test ecx, ecx
jne 0x1402001b9
movsxd r15, ebp
movzx ebx, dil
test ecx, ecx
je 0x1402001c1
xor r8d, r8d
mov rsi, qword [rsp + 0x40]
mov r15d, dword [rsp + 0x3c]
inc ebp
test bl, bl
jne 0x1401fffd2
mov edi, dword [rsp + 0x50]
mov r8, qword [rsp + 0x128]
movzx r9d, word [rsp + 0x138]
mov r12, qword [rsp + 0x60]
test r13d, r13d
je 0x14020018e
movzx eax, word [rsp + 0x54]
cmp r13d, eax
jge 0x140200193
mov byte [rsp + 0x30], 0
mov rsi, qword [rsp + 0x40]
test dil, dil
je 0x1402002b5
mov byte [rsp + 0x30], 1
jmp 0x1402002c0
movzx ecx, byte [rcx + r15]
movzx eax, byte [r8 + r15]
sub ecx, eax
jne 0x140200143
inc rdx
jmp 0x140200132
cmp word [rsp + 0x68], 0
je 0x1402001d6
mov rcx, qword [rsp + 0x60]
lea eax, [r13 + 1]
mov word [rcx + 0x1e], ax
movzx r9d, word [rsp + 0x138]
mov r8, qword [rsp + 0x128]
test r9b, 0x40
jne 0x14020023f
mov rax, r15
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x140200217
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x14020023f
mov edi, dword [rsp + 0x50]
jmp 0x14020017a
movzx edx, cl
xor dl, r12b
mov byte [rsp + 0x34], dl
je 0x14020023a
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x58]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x35], 1
mov r12, qword [rsp + 0x60]
mov rax, r15
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x140200267
movzx eax, word [r12 + 0x18]
cmp r13d, eax
jne 0x1402002ac
or dword [r12 + 0x28], 0x80000
mov edi, dword [rsp + 0x50]
cmp r14d, 0xffffffff
mov rsi, qword [rsp + 0x40]
mov eax, 1
mov ebp, dword [rsp + 0x30]
movzx edi, dil
cmove edi, eax
bts rsi, r15
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x50], edi
inc r13d
cmp r13d, dword [rsp + 0x80]
jge 0x140200198
mov r15d, dword [rsp + 0x3c]
jmp 0x1401ffed0
mov edi, dword [rsp + 0x50]
jmp 0x14020017f
cmp byte [rsp + 0x30], 0
je 0x1402003c4
mov r14, qword [rsp + 0x98]
xor r13d, r13d
or r14, qword [r12 + 8]
mov edi, r13d
mov r15d, dword [rsp + 0x3c]
mov qword [rsp + 0x98], r14
test r15d, r15d
je 0x1402003cc
mov r12, qword [rsp + 0x120]
mov eax, edi
bt rsi, rax
jb 0x1402003a1
movsxd rbp, edi
mov rax, rbp
shl rax, 5
mov rbx, qword [rax + r8 + 8]
test rbx, rbx
je 0x140200326
lea rcx, [r12 + 0x290]
mov rdx, rbx
call fcn.1401ee540
mov rsi, rax
jmp 0x140200329
mov rsi, r13
test rsi, rsi
jne 0x140200381
mov dword [rsp + 0xc8], r13d
mov eax, 1
mov word [rsp + 0xc4], ax
lea rax, [fcn.14018c000]
mov qword [rsp + 0xa8], rax
lea rax, [0x1401d4980]
mov qword [rsp + 0xb0], rax
test rbx, rbx
je 0x140200381
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.1401fc7d0
cmp word [rsp + 0xc4], r13w
je 0x14020039c
mov rax, r14
not rax
test rsi, rax
mov rsi, qword [rsp + 0x40]
jne 0x1402003a1
bts rsi, rbp
mov qword [rsp + 0x40], rsi
jmp 0x1402003a1
mov rsi, qword [rsp + 0x40]
mov r8, qword [rsp + 0x128]
inc edi
cmp edi, r15d
jl 0x1402002f1
mov r12, qword [rsp + 0x60]
movzx r9d, word [rsp + 0x138]
jmp 0x1402003cc
mov r15d, dword [rsp + 0x3c]
xor r13d, r13d
mov rdi, qword [rsp + 0x120]
mov ecx, dword [rsp + 0x58]
mov r11d, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x88]
movzx ebp, word [rsp + 0x140]
movzx r14d, word [rsp + 0x4c]
inc qword [rsp + 0x90]
inc ecx
mov eax, dword [rsp + 0x30]
mov r10, qword [rsp + 0x90]
mov dword [rsp + 0x58], ecx
test al, al
jne 0x1401ffc20
jmp 0x14020042d
cmp byte [r12 + 0x1d], 0
je 0x140200429
test r9b, r9b
jns 0x140200432
mov eax, dword [rsp + 0x30]
cmp rsi, rbx
jne 0x140200439
movzx eax, byte [rsp + 0x6a]
jmp 0x14020046e
test al, al
jne 0x140200487
lea ecx, [r15 - 1]
test ecx, ecx
jle 0x14020046c
nop word [rax + rax]
mov edx, 1
shl rdx, cl
dec rdx
mov rax, rdx
and rax, rsi
cmp rax, rdx
je 0x140200482
dec ecx
test ecx, ecx
jg 0x140200450
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 0x14020046e
mov al, 0xff
jmp 0x14020046e