Function at 0x1402e3dd0
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 esi, esi
mov qword [rsp + 0x38], rsi
movzx r10d, r9w
mov r15, r8
mov r8, rdx
mov r9, rcx
mov r11d, esi
mov edi, esi
test ax, ax
je 0x1402e3e40
mov rax, qword [rcx]
mov r10, qword [rax]
test byte [r10 + 0x60], 0x40
jne 0x1402e47de
movzx r10d, word [rsp + 0x138]
movzx eax, word [rsp + 0x140]
movzx ebp, word [rdx]
mov word [rsp + 0x62], bp
cmp ebp, 0x3f
ja 0x1402e47de
mov r14d, esi
mov dword [rsp + 0x50], ebp
mov ecx, ebp
mov qword [rsp + 0x90], rsi
mov edx, 0x803
mov dword [rsp + 0x64], esi
mov ebx, 1
mov r12b, 1
shl rbx, cl
mov r13d, ebp
dec rbx
mov dword [rsp + 0x30], r12d
test dx, r10w
mov qword [rsp + 0x78], rbx
mov rcx, rsi
setne r14b
mov qword [rsp + 0x70], rcx
add r14w, 0x182
xor edx, edx
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x80], rdx
nop dword [rax + rax]
cmp rdi, rbx
jae 0x1402e4787
movzx eax, ax
cmp esi, eax
jg 0x1402e47aa
test esi, esi
jle 0x1402e3ed1
or rcx, qword [r11 + 8]
mov qword [rsp + 0x70], rcx
cmp esi, eax
jge 0x1402e3ef0
bt r10w, 0xb
mov rax, qword [r15 + 0x18]
mov rsi, qword [rax + rdx*8]
mov qword [rsp + 0x58], rsi
jb 0x1402e4754
jmp 0x1402e3efd
mov rsi, qword [rsp + 0x148]
mov qword [rsp + 0x58], rsi
mov edx, dword [rsi + 0x38]
bt edx, 0xa
jb 0x1402e4790
movzx eax, r10w
mov ecx, 0x80
and ax, cx
mov word [rsp + 0x60], ax
je 0x1402e3f23
xor eax, eax
mov word [rsi + 0x1e], ax
movzx eax, byte [rsi + 0x10]
imul rcx, rax, 0x68
mov rax, qword [r9 + 8]
xor r9d, r9d
mov ebp, r9d
mov r10d, dword [rcx + rax + 0x4c]
mov dword [rsp + 0x40], r10d
test r13d, r13d
je 0x1402e4058
mov r12, qword [rsp + 0x120]
lea r14, [r8 + 8]
mov r15d, r9d
nop word [rax + rax]
mov eax, ebp
bt rdi, rax
jb 0x1402e4029
mov rbx, qword [r14]
test rbx, rbx
je 0x1402e4029
nop dword [rax + rax]
mov eax, dword [rbx + 4]
test eax, 0x82000
je 0x1402e3fa8
bt eax, 0x13
jae 0x1402e3f9a
mov rax, qword [rbx + 0x20]
mov rbx, qword [rax + 8]
jmp 0x1402e3f9e
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1402e3f80
jmp 0x1402e4029
movzx eax, byte [rbx]
add al, 0x59
test al, 0xfd
jne 0x1402e4029
cmp dword [rbx + 0x2c], r10d
jne 0x1402e4029
movzx eax, word [rsp + 0x48]
lea rcx, [r12 + 0x80]
mov r9, qword [rsp + 0x70]
xor edx, edx
movsx r8d, word [rbx + 0x30]
not r9
mov qword [rsp + 0x28], rdx
mov edx, r10d
mov dword [rsp + 0x20], eax
call fcn.1402ce610
mov rdi, rax
test rax, rax
je 0x1402e401f
movzx r9d, word [rax + 0x14]
cmp r9w, 1
jne 0x1402e408f
movzx edx, word [rsi + 0x3c]
xor eax, eax
mov ecx, eax
test edx, edx
je 0x1402e408b
mov r8, qword [rsi + 0x48]
movsxd rax, ecx
cmp rdi, qword [r8 + rax*8]
je 0x1402e408b
inc ecx
cmp ecx, edx
jl 0x1402e4010
mov rdi, qword [rsp + 0x38]
mov r10d, dword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
inc ebp
inc r15
add r14, 0x20
cmp ebp, r13d
jl 0x1402e3f60
mov r12d, dword [rsp + 0x30]
xor r9d, r9d
mov edx, dword [rsi + 0x38]
mov r8, qword [rsp + 0x128]
mov r14d, dword [rsp + 0x48]
bt edx, 0xc
jb 0x1402e45b6
bt edx, 8
jae 0x1402e4163
mov ebp, dword [rsp + 0x30]
mov r13, r9
mov qword [rsp + 0x88], r9
mov eax, 1
mov word [rsp + 0x4c], r9w
jmp 0x1402e41ab
cmp ecx, edx
jge 0x1402e401f
test r9b, 0x82
je 0x1402e4132
cmp word [rbx + 0x30], 0
jl 0x1402e4132
mov rbx, qword [r12]
mov rdx, qword [r14]
mov rcx, rbx
call fcn.1402875d0
mov rsi, rax
test rax, rax
jne 0x1402e40c2
mov rax, qword [rbx]
mov rsi, qword [rax + 0x10]
mov rax, qword [rdi]
test dword [rax + 4], 0x400
je 0x1402e40d8
mov rdi, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
jmp 0x1402e40e0
mov rdi, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
test dword [rdx + 4], 0x200
jne 0x1402e4107
test rdi, rdi
je 0x1402e40f7
test dword [rdi + 4], 0x200
jne 0x1402e4104
mov rcx, rbx
call fcn.1402875d0
test rax, rax
jne 0x1402e4118
mov rdx, rdi
mov rcx, rbx
call fcn.1402875d0
test rax, rax
je 0x1402e401f
mov r8, qword [rsi]
mov r9, qword [rax]
sub r9, r8
movzx ecx, byte [r8]
movzx eax, byte [r9 + r8]
cmp ecx, eax
jne 0x1402e4145
test ecx, ecx
jne 0x1402e415e
mov rdi, qword [rsp + 0x38]
bts rdi, r15
mov qword [rsp + 0x38], rdi
jmp 0x1402e4024
lea r10, [0x1403d65c0]
movzx edx, byte [rax + r10]
movzx ecx, byte [rcx + r10]
cmp ecx, edx
jne 0x1402e401f
inc r8
jmp 0x1402e4121
mov r13, qword [rsi + 0x20]
mov qword [rsp + 0x88], r13
test r13, r13
je 0x1402e47de
test byte [r13 + 0x64], 4
jne 0x1402e47de
cmp byte [r13 + 0x62], 0
movzx eax, word [r13 + 0x5e]
mov word [rsp + 0x4c], ax
movzx eax, word [r13 + 0x60]
je 0x1402e41a4
bt edx, 0xf
jb 0x1402e41a4
mov bpl, 1
jmp 0x1402e41a7
xor bpl, bpl
mov dword [rsp + 0x30], ebp
xor cl, cl
movzx eax, ax
xor r11b, r11b
mov byte [rsp + 0x35], cl
mov byte [rsp + 0x34], cl
mov r15d, r9d
mov dword [rsp + 0x44], r11d
mov dword [rsp + 0x68], eax
test eax, eax
je 0x1402e45ac
nop
movzx r10d, word [rsi + 0x18]
mov bl, 1
cmp r15d, r10d
jge 0x1402e424a
movzx eax, word [rsi + 0x3e]
cmp r15d, eax
jl 0x1402e424a
mov r9, qword [rsi + 0x48]
movsxd rax, r15d
mov rcx, qword [r9 + rax*8]
movzx eax, word [rcx + 0x14]
test r14w, ax
je 0x1402e421e
mov ecx, 0x180
mov r9d, 0
test cx, ax
movzx eax, bpl
mov ecx, r9d
cmove ecx, eax
movzx ebp, cl
mov dword [rsp + 0x30], ebp
jmp 0x1402e457e
test bl, al
je 0x1402e4247
mov r8, qword [rcx]
lea edx, [r15 + 1]
cmp edx, r10d
jge 0x1402e4247
nop
movsxd rax, edx
mov rcx, qword [r9 + rax*8]
cmp qword [rcx], r8
je 0x1402e4245
inc edx
cmp edx, r10d
jl 0x1402e4230
jmp 0x1402e4247
xor bl, bl
xor r9d, r9d
test r13, r13
je 0x1402e4277
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 0x1402e4280
jmp 0x1402e427a
xor r12b, r12b
mov r14d, 0xffffffff
test bpl, bpl
je 0x1402e42bc
test r14d, r14d
js 0x1402e42ac
cmp r15d, r10d
jl 0x1402e42bc
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 0x1402e42bc
mov byte [rsp + 0x30], 0
jmp 0x1402e42bc
cmp r14d, 0xfffffffe
movzx ebp, bpl
cmove ebp, r9d
mov dword [rsp + 0x30], ebp
mov ebp, r9d
test bl, bl
je 0x1402e446d
nop word [rax + rax]
cmp ebp, dword [rsp + 0x50]
jge 0x1402e4463
mov eax, ebp
bt rdi, rax
jb 0x1402e4459
movsxd rsi, ebp
shl rsi, 5
add rsi, qword [rsp + 0x128]
mov rdx, qword [rsi + 8]
test rdx, rdx
je 0x1402e4459
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1402e432a
bt eax, 0x13
jae 0x1402e431c
mov rdx, qword [rdx + 0x20]
mov rdx, qword [rdx + 8]
jmp 0x1402e4320
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1402e4302
jmp 0x1402e4459
test byte [rsp + 0x138], 0xc0
mov ecx, r9d
movzx eax, bl
cmovne ecx, eax
movzx ebx, cl
movzx edi, cl
cmp r14d, 0xffffffff
jl 0x1402e4372
movzx eax, byte [rdx]
cmp al, 0xa7
je 0x1402e4356
cmp al, 0xa9
jne 0x1402e4454
mov eax, dword [rsp + 0x40]
cmp dword [rdx + 0x2c], eax
jne 0x1402e4454
movsx eax, word [rdx + 0x30]
cmp eax, r14d
jne 0x1402e4454
jmp 0x1402e43e7
mov rax, qword [r13 + 0x50]
movsxd rcx, r15d
shl rcx, 5
mov r8, qword [rcx + rax + 8]
test r8, r8
je 0x1402e43b4
nop word [rax + rax]
mov eax, dword [r8 + 4]
test eax, 0x82000
je 0x1402e43b4
bt eax, 0x13
jae 0x1402e43ab
mov rax, qword [r8 + 0x20]
mov r8, qword [rax + 8]
jmp 0x1402e43af
mov r8, qword [r8 + 0x10]
test r8, r8
jne 0x1402e4390
mov eax, dword [rdx + 4]
test eax, 0x82000
je 0x1402e43d7
bt eax, 0x13
jae 0x1402e43ce
mov rax, qword [rdx + 0x20]
mov rdx, qword [rax + 8]
jmp 0x1402e43d2
mov rdx, qword [rdx + 0x10]
test rdx, rdx
jne 0x1402e43b4
mov r9d, dword [rsp + 0x40]
xor ecx, ecx
call fcn.1402877b0
test eax, eax
jne 0x1402e4451
cmp r14d, 0xffffffff
je 0x1402e44ad
mov rax, qword [rsp + 0x120]
mov rdx, qword [rsi + 8]
mov rbx, qword [rax]
mov rcx, rbx
call fcn.1402875d0
test rax, rax
jne 0x1402e4414
mov rax, qword [rbx]
mov rax, qword [rax + 0x10]
mov r8, qword [rax]
mov rax, qword [r13 + 0x40]
lea r13, [0x1403d65c0]
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 0x1402e449a
test edx, edx
jne 0x1402e44a8
mov r13, qword [rsp + 0x88]
movzx ebx, dil
test edx, edx
je 0x1402e44ad
xor r9d, r9d
mov rdi, qword [rsp + 0x38]
inc ebp
test bl, bl
jne 0x1402e42d0
mov r11d, dword [rsp + 0x44]
mov rsi, qword [rsp + 0x58]
mov r8, qword [rsp + 0x128]
test r15d, r15d
je 0x1402e4488
movzx eax, word [rsp + 0x4c]
cmp r15d, eax
jge 0x1402e458e
mov rdi, qword [rsp + 0x38]
xor r12b, r12b
mov dword [rsp + 0x30], r12d
jmp 0x1402e4598
movzx ecx, byte [rax + r13]
movzx edx, byte [rdx + r13]
sub edx, ecx
jne 0x1402e4441
inc r8
jmp 0x1402e4430
cmp word [rsp + 0x60], 0
mov rsi, qword [rsp + 0x58]
je 0x1402e44c2
lea eax, [r15 + 1]
mov word [rsi + 0x1e], ax
test byte [rsp + 0x138], 0x40
mov r8, qword [rsp + 0x128]
jne 0x1402e4527
movsxd rax, ebp
shl rax, 5
movzx ecx, byte [rax + r8 + 0x18]
and cl, 1
cmp byte [rsp + 0x35], 0
je 0x1402e44ff
xor r12b, byte [rsp + 0x34]
cmp r12b, cl
je 0x1402e4527
mov r11d, dword [rsp + 0x44]
jmp 0x1402e4475
movzx edx, r12b
xor dl, cl
mov byte [rsp + 0x34], dl
je 0x1402e4522
mov rdx, qword [rsp + 0x150]
movsxd rax, dword [rsp + 0x64]
mov rcx, qword [rdx]
bts rcx, rax
mov qword [rdx], rcx
mov byte [rsp + 0x35], 1
movsxd rcx, ebp
mov rax, rcx
shl rax, 5
test byte [rax + r8 + 0x18], 2
je 0x1402e4549
movzx eax, word [rsi + 0x18]
cmp r15d, eax
jne 0x1402e44f5
or dword [rsi + 0x38], 0x80000
mov r11d, dword [rsp + 0x44]
cmp r14d, 0xffffffff
mov rdi, qword [rsp + 0x38]
mov eax, 1
mov ebp, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x48]
movzx r11d, r11b
cmove r11d, eax
bts rdi, rcx
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov dword [rsp + 0x44], r11d
inc r15d
cmp r15d, dword [rsp + 0x68]
jl 0x1402e41d0
jmp 0x1402e4593
mov rdi, qword [rsp + 0x38]
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r11b, r11b
je 0x1402e45b6
mov r12b, 1
mov dword [rsp + 0x30], r12d
jmp 0x1402e45bf
mov r12d, dword [rsp + 0x30]
mov r13d, dword [rsp + 0x50]
test r12b, r12b
je 0x1402e472c
mov r14, qword [rsp + 0x90]
xor r10d, r10d
or r14, qword [rsi + 8]
mov esi, r10d
mov qword [rsp + 0x90], r14
test r13d, r13d
je 0x1402e472c
mov r12, qword [rsp + 0x120]
nop word [rax + rax]
mov eax, esi
bt rdi, rax
jb 0x1402e4714
mov eax, esi
shl rax, 5
mov ebp, esi
mov rdi, qword [rax + r8 + 8]
lea rax, [r12 + 0x268]
test rdi, rdi
je 0x1402e466a
cmp byte [rdi], 0xa7
jne 0x1402e46e9
test byte [rdi + 4], 0x20
jne 0x1402e46e9
mov r8d, dword [rdi + 0x2c]
cmp dword [rax + 8], r8d
jne 0x1402e463a
mov ebx, 1
jmp 0x1402e466d
movsxd r9, dword [rax + 4]
mov r11d, 1
mov edx, r11d
mov ecx, r11d
cmp r11, r9
jge 0x1402e466a
add rax, 0xc
cmp dword [rax], r8d
je 0x1402e46df
inc edx
inc rcx
add rax, 4
cmp rcx, r9
jl 0x1402e4653
mov rbx, r10
test rbx, rbx
jne 0x1402e46c4
mov dword [rsp + 0xc0], r10d
mov eax, 1
mov word [rsp + 0xbc], ax
lea rax, [fcn.14021a1f0]
mov qword [rsp + 0xa0], rax
lea rax, [0x1402afe40]
mov qword [rsp + 0xa8], rax
test rdi, rdi
je 0x1402e46c4
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.1402dff00
cmp word [rsp + 0xbc], bx
je 0x1402e470c
mov rdi, qword [rsp + 0x38]
mov rax, r14
not rax
test rbx, rax
jne 0x1402e4711
bts rdi, rbp
mov qword [rsp + 0x38], rdi
jmp 0x1402e4711
mov ecx, edx
mov rbx, r11
shl rbx, cl
jmp 0x1402e466d
test dword [rdi + 4], 0x810000
jne 0x1402e466a
mov rdx, rdi
mov rcx, rax
call fcn.1402ce3f0
mov rbx, rax
xor r10d, r10d
jmp 0x1402e466d
mov rdi, qword [rsp + 0x38]
xor r10d, r10d
mov r8, qword [rsp + 0x128]
inc esi
cmp esi, r13d
jl 0x1402e45f0
mov r12d, dword [rsp + 0x30]
mov r9, qword [rsp + 0x120]
movzx r10d, word [rsp + 0x138]
mov r14d, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x78]
mov r15, qword [rsp + 0x130]
mov esi, dword [rsp + 0x64]
inc qword [rsp + 0x80]
inc esi
mov r11, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x80]
movzx eax, word [rsp + 0x140]
mov dword [rsp + 0x64], esi
test r12b, r12b
jne 0x1402e3eb0
cmp rdi, rbx
jne 0x1402e47aa
movzx eax, byte [rsp + 0x62]
jmp 0x1402e47e0
cmp byte [rsi + 0x20], 0
je 0x1402e47aa
mov eax, 0x280
and r10w, ax
mov eax, 0x80
cmp r10w, ax
jne 0x1402e4789
test r12b, r12b
jne 0x1402e47f9
lea ecx, [r13 - 1]
test ecx, ecx
jle 0x1402e47de
cmp ecx, 0x40
jge 0x1402e47c9
mov edx, 1
shl rdx, cl
dec rdx
jmp 0x1402e47cd
xor eax, eax
mov edx, eax
mov rax, rdx
and rax, rdi
cmp rax, rdx
je 0x1402e47f4
dec ecx
test ecx, ecx
jg 0x1402e47b7
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 0x1402e47e0
mov al, 0xff
jmp 0x1402e47e0