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

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x130
mov rax, qword [0x14027ef78]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rcx]
mov r11, rcx
mov qword [rsp + 0x78], rcx
mov rsi, rdx
xor ecx, ecx
mov word [rsp + 0x34], r9w
mov qword [rsp + 0x40], r8
mov ebp, ecx
mov rax, qword [rax]
mov rbx, qword [r11 + 0x18]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x68], rdx
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x50], rcx
cmp byte [rax + 0x55], cl
je 0x14014f920
lea eax, [rcx + 7]
jmp 0x140150023
mov eax, dword [rbx + 0x28]
mov edx, 0x18
movzx r10d, word [rbx + 0x18]
test al, 0x20
movzx r9d, word [rbx + 0x2c]
mov dword [rsp + 0x64], eax
mov eax, 0x1bf
cmove edx, eax
mov qword [rsp + 0x28], r8
movzx eax, word [rbx + 0x1a]
mov ecx, edx
mov word [rsp + 0x5a], ax
and ecx, 0xffffffc3
movzx eax, word [rbx + 0x1c]
mov word [rsp + 0x5c], ax
movzx eax, word [rbx + 0x2e]
mov word [rsp + 0x60], ax
mov rax, qword [rbx]
mov qword [rsp + 0x90], rax
movzx eax, word [rbx + 0x16]
mov word [rsp + 0x48], ax
mov eax, dword [r8 + 0x64]
mov r8d, dword [rsi + 0x48]
and al, 4
mov word [rsp + 0x5e], r9w
mov r9d, r10d
cmove ecx, edx
mov qword [rsp + 0x128], rdi
mov rdx, qword [r11 + 8]
mov dword [rsp + 0x20], ecx
lea rcx, [rsp + 0xa0]
mov word [rsp + 0x30], r10w
mov dword [rsp + 0x70], r10d
call fcn.140152fc0
mov r8, qword [rsp + 0x40]
xor edx, edx
mov rdi, rax
mov word [rbx + 0x12], dx
mov rax, qword [r8 + 0x10]
movzx eax, word [rax]
mov word [rsp + 0x62], ax
cmp ax, 0xa
jg 0x14014f9ea
mov word [rsp + 0x58], dx
mov r10d, 0x100
mov r11d, 0x180
jmp 0x14014fa12
movsx rcx, ax
call fcn.14011d720
sub ax, 0x21
mov r10d, 0x100
mov word [rsp + 0x58], ax
xor edx, edx
mov r11d, 0x180
jmp 0x14014fa12
xor edx, edx
test rdi, rdi
je 0x14014ff00
movzx ecx, word [rdi + 0x14]
mov esi, edx
mov word [rsp + 0x32], cx
cmp cx, r10w
jne 0x14014fa75
movzx r9d, word [rsp + 0x30]
mov rax, qword [r8 + 8]
mov ecx, r9d
movsx rdx, word [rax + r9*2]
test edx, edx
js 0x14014fa65
mov rax, qword [r8 + 0x18]
mov rcx, rdx
shl rcx, 5
mov rax, qword [rax + 8]
movzx ecx, byte [rax + rcx + 0x18]
test ecx, ecx
jne 0x14014fed0
movzx ecx, word [rsp + 0x32]
jmp 0x14014fa7b
cmp edx, 0xffffffff
je 0x14014fed0
movzx ecx, word [rsp + 0x32]
jmp 0x14014fa7b
movzx r9d, word [rsp + 0x30]
mov rax, qword [rbx + 8]
test qword [rdi + 0x30], rax
jne 0x14014fed0
test word [rdi + 0x12], r10w
je 0x14014fa9a
cmp cx, 0x10
je 0x14014fed0
mov rax, qword [rsp + 0x68]
test byte [rax + 0x3c], 8
je 0x14014fab8
mov rax, qword [rdi]
test byte [rax + 4], 1
jne 0x14014fab8
test r11w, cx
jne 0x14014fed0
mov eax, dword [rsp + 0x64]
mov rdx, rbx
mov rcx, qword [rsp + 0x88]
mov dword [rbx + 0x28], eax
movzx eax, word [rsp + 0x5a]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x5c]
mov word [rbx + 0x1c], ax
movzx eax, word [rsp + 0x5e]
mov word [rbx + 0x18], r9w
mov word [rbx + 0x2c], ax
lea r8d, [rax + 1]
call fcn.140151510
test eax, eax
jne 0x14014fefb
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x38]
movzx r9d, word [rsp + 0x32]
mov qword [rax + rcx*8], rdi
inc word [rbx + 0x2c]
mov rcx, qword [rsp + 0x90]
or rcx, qword [rdi + 0x30]
mov rax, qword [rbx + 8]
not rax
and rcx, rax
mov qword [rbx], rcx
test r9b, 1
je 0x14014fbe1
mov r8, qword [rdi]
or dword [rbx + 0x28], 4
test dword [r8 + 4], 0x800
je 0x14014fbc7
movzx ecx, word [rbx + 0x2c]
mov esi, 0x2e
dec ecx
test ecx, ecx
jle 0x14014fb80
mov rax, qword [rbx + 0x38]
xor r9d, r9d
mov edx, ecx
mov rcx, qword [rax]
test rcx, rcx
je 0x14014fb70
cmp qword [rcx], r8
cmove esi, r9d
add rax, 8
sub rdx, 1
jne 0x14014fb61
movzx r9d, word [rsp + 0x32]
mov rbp, qword [rsp + 0x40]
movzx r10d, word [rsp + 0x30]
mov r11d, 0x100
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x50]
test byte [rbx + 0x28], 2
je 0x14014fda8
mov rdx, qword [rsp + 0x78]
mov r8, rcx
mov rcx, qword [rsp + 0x80]
mov r9, rax
mov qword [rsp + 0x20], rbx
call fcn.140152cc0
jmp 0x14014fe01
mov rax, qword [r8 + 0x20]
test rax, rax
je 0x14014fb80
movsxd rcx, dword [rax]
test ecx, ecx
je 0x14014fb80
call fcn.14011d720
movsx esi, ax
jmp 0x14014fb80
test r9b, 0x82
je 0x14014fc4c
mov rbp, qword [rsp + 0x40]
movzx r10d, word [rsp + 0x30]
mov rax, qword [rbp + 8]
movsx edx, word [rax + r10*2]
or dword [rbx + 0x28], 1
mov ecx, dword [rbx + 0x28]
cmp edx, 0xffffffff
je 0x14014fc2a
test edx, edx
jle 0x14014fb8b
cmp word [rsp + 0x34], 0
jne 0x14014fb8b
movzx eax, word [rbp + 0x5e]
dec eax
movzx r8d, r10w
cmp r8d, eax
jne 0x14014fb8b
test edx, edx
js 0x14014fc40
test byte [rbp + 0x64], 8
jne 0x14014fc40
bts ecx, 0x10
mov dword [rbx + 0x28], ecx
jmp 0x14014fb8b
bts ecx, 0xc
mov dword [rbx + 0x28], ecx
jmp 0x14014fb8b
mov r11d, 0x100
test r11w, r9w
je 0x14014fc6c
or dword [rbx + 0x28], 8
mov rbp, qword [rsp + 0x40]
movzx r10d, word [rsp + 0x30]
jmp 0x14014fb91
mov rax, qword [rsp + 0x68]
test r9b, 0x24
mov r9d, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x20], rdi
je 0x14014fd2f
or dword [rbx + 0x28], 0x22
mov edx, dword [rax + 0x48]
mov r8, qword [rsp + 0x40]
call fcn.140152d50
mov word [rbx + 0x1a], ax
mov r11d, 0x100
xor eax, eax
mov rcx, rdi
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x38], rax
test word [rdi + 0x12], r11w
je 0x14014fd92
movzx r8d, word [rbx + 0x2c]
lea rax, [rdi + 0x40]
mov rcx, qword [rsp + 0x88]
inc r8d
mov rdx, rbx
mov qword [rsp + 0x38], rax
call fcn.140151510
test eax, eax
jne 0x14014fefb
movzx ecx, word [rbx + 0x2c]
mov r11d, 0x100
mov rax, qword [rbx + 0x38]
mov rdx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
movzx r9d, word [rsp + 0x32]
movzx r10d, word [rsp + 0x30]
mov qword [rax + rcx*8], rdx
mov eax, 1
inc word [rbx + 0x2c]
mov rcx, rdi
or dword [rbx + 0x28], 0x10
mov word [rbx + 0x1c], ax
mov rax, rdx
jmp 0x14014fb9b
or dword [rbx + 0x28], 0x12
mov rbp, qword [rsp + 0x40]
mov edx, dword [rax + 0x48]
mov r8, rbp
call fcn.140152d50
test byte [rbx + 0x28], 0x20
mov r11d, 0x100
movzx r9d, word [rsp + 0x32]
movzx r10d, word [rsp + 0x30]
mov word [rbx + 0x1c], ax
mov rax, rdi
mov qword [rsp + 0x38], rax
je 0x14014fd86
movzx eax, word [rbx + 0x2c]
sub eax, 2
movsxd rcx, eax
mov rax, qword [rbx + 0x38]
mov rcx, qword [rax + rcx*8]
mov rax, rdi
mov qword [rsp + 0x50], rcx
jmp 0x14014fb9b
xor ecx, ecx
mov qword [rsp + 0x50], rcx
jmp 0x14014fb9b
mov rbp, qword [rsp + 0x40]
movzx r9d, word [rsp + 0x32]
movzx r10d, word [rsp + 0x30]
jmp 0x14014fb9b
inc word [rbx + 0x18]
movzx edx, word [rdi + 0x10]
movzx r8d, word [rbx + 0x18]
test dx, dx
jg 0x14014fdd2
mov rax, qword [rbp + 8]
movzx ecx, r10w
cmp word [rax + rcx*2], 0
jl 0x14014fdd2
sub dx, si
add word [rbx + 0x16], dx
jmp 0x14014fe01
mov rdx, qword [rbp + 0x10]
lea eax, [r8 - 1]
movsxd rcx, eax
movzx r8d, word [rdx + r8*2]
sub r8w, word [rdx + rcx*2]
add r8w, word [rbx + 0x16]
mov word [rbx + 0x16], r8w
test r11w, r9w
je 0x14014fe01
add r8w, 0xa
mov word [rbx + 0x16], r8w
movsx eax, word [rbp + 0x5c]
mov rcx, qword [rsp + 0x68]
imul eax, eax, 0xf
mov rcx, qword [rcx + 0x20]
cdq
movsx r8d, word [rcx + 0x46]
movzx ecx, word [rsp + 0x58]
idiv r8d
add ax, word [rbx + 0x16]
lea edx, [rax + 1]
call fcn.14011d7b0
test dword [rbx + 0x28], 0x140
mov word [rbx + 0x14], ax
jne 0x14014fe4c
movzx edx, word [rbx + 0x16]
movzx ecx, ax
add dx, 0x10
call fcn.14011d7b0
mov word [rbx + 0x14], ax
movzx ecx, word [rsp + 0x34]
mov rdx, rbx
movzx edi, word [rbx + 0x16]
mov rbp, qword [rsp + 0x78]
movzx r8d, word [rsp + 0x62]
lea eax, [rcx + rsi]
add word [rbx + 0x14], ax
lea eax, [rcx + rsi]
add word [rbx + 0x16], ax
mov rcx, qword [rbp + 8]
call fcn.140151390
mov rdx, rbx
mov rcx, rbp
call fcn.140151240
mov ecx, dword [rbx + 0x28]
mov ebp, eax
movzx eax, word [rsp + 0x48]
test cl, 2
cmovne di, ax
mov word [rbx + 0x16], di
test cl, 0x10
jne 0x14014fecc
mov r8, qword [rsp + 0x40]
movzx ecx, word [r8 + 0x60]
cmp word [rbx + 0x18], cx
jae 0x14014fecc
add si, word [rsp + 0x34]
mov rdx, qword [rsp + 0x68]
movzx r9d, si
mov rcx, qword [rsp + 0x78]
call fcn.14014f8b0
movzx eax, word [rsp + 0x48]
mov word [rbx + 0x16], ax
lea rcx, [rsp + 0xa0]
call fcn.140153090
mov r8, qword [rsp + 0x40]
mov rdi, rax
mov r10d, 0x100
mov r11d, 0x180
test ebp, ebp
je 0x14014fa10
jmp 0x14014ff00
mov r8, qword [rsp + 0x40]
mov rax, qword [rsp + 0x90]
movzx edi, word [rsp + 0x30]
movzx ecx, word [rsp + 0x60]
movzx esi, word [rsp + 0x48]
movzx r9d, word [rsp + 0x5e]
mov qword [rbx], rax
movzx eax, word [rsp + 0x5a]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x5c]
mov word [rbx + 0x1c], ax
mov eax, dword [rsp + 0x64]
mov dword [rbx + 0x28], eax
mov word [rbx + 0x18], di
mov word [rbx + 0x2e], cx
mov word [rbx + 0x16], si
mov word [rbx + 0x2c], r9w
cmp di, cx
jne 0x140150019
movzx ecx, word [r8 + 0x5e]
movzx eax, di
inc eax
cmp eax, ecx
jae 0x140150019
test byte [r8 + 0x64], 0x40
jne 0x140150019
mov rax, qword [r8 + 0x10]
movzx ecx, di
cmp word [rax + rcx*2 + 2], 0x2a
jl 0x140150019
mov rcx, qword [rsp + 0x88]
mov rdx, rbx
movzx r8d, r9w
inc r8d
call fcn.140151510
mov ebp, eax
test eax, eax
jne 0x140150019
inc word [rbx + 0x18]
inc word [rbx + 0x2e]
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x38]
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x68]
movzx r9d, di
mov qword [rax + rcx*8], 0
inc word [rbx + 0x2c]
or dword [rbx + 0x28], 0x8000
mov r10, qword [r8 + 0x10]
mov rcx, qword [rsp + 0x78]
movzx eax, di
movzx r11d, word [r10 + r9*2]
movzx r9d, word [rsp + 0x34]
sub r11w, word [r10 + rax*2 + 2]
add r9w, 5
sub word [rbx + 0x16], r11w
add r9w, r11w
call fcn.14014f8b0
movzx eax, word [rsp + 0x60]
mov word [rbx + 0x2e], ax
mov eax, dword [rsp + 0x64]
mov dword [rbx + 0x28], eax
mov word [rbx + 0x16], si
mov word [rbx + 0x18], di
mov rdi, qword [rsp + 0x128]
mov eax, ebp
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.14017e000
add rsp, 0x130
pop rsi
pop rbp
pop rbx
ret