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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x130
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rax, qword [rcx]
mov r11, rcx
mov qword [rsp + 0x68], rcx
mov r10, qword [rax]
mov rbx, qword [r11 + 0x18]
xor ecx, ecx
mov rax, qword [r10]
mov word [rsp + 0x30], r9w
mov qword [rsp + 0x60], r8
mov r9, r8
mov rdi, rdx
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x88], rax
mov ebp, ecx
mov dword [rsp + 0x3c], ecx
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x48], rcx
cmp byte [rax + 0x50], cl
je 0x140288e4f
lea eax, [rcx + 7]
jmp 0x140289357
test byte [rbx + 0x28], 0x20
mov qword [rsp + 0x128], rsi
je 0x140288e65
mov r8d, 0x18
jmp 0x140288e7d
cmp dword [r8 + 0x58], ecx
jle 0x140288e77
test byte [rdx + 0x3c], 8
mov r8d, 0xbf
je 0x140288e7d
mov r8d, 0x3f
test byte [r9 + 0x64], 4
je 0x140288e88
and r8d, 0xffffffc3
movzx eax, word [rbx + 0x18]
cmp ax, word [r9 + 0x5e]
jae 0x140288ec4
movzx ecx, ax
mov rax, qword [r9 + 8]
movsx esi, word [rax + rcx*2]
mov rax, qword [r9 + 0x10]
mov ecx, dword [rax + rcx*4 + 4]
call fcn.14021f3f0
mov dword [rsp + 0x38], eax
test ax, ax
jne 0x140288ecc
cmp byte [r9 + 0x62], bpl
jne 0x140288ecc
mov dword [rsp + 0x38], 1
jmp 0x140288ecc
or esi, 0xffffffff
mov word [rsp + 0x38], cx
mov rdx, qword [r11 + 8]
mov qword [rsp + 0x28], r9
mov dword [rsp + 0x20], r8d
mov r8d, dword [rdi + 0x48]
lea rcx, [rsp + 0x90]
mov r9d, esi
call fcn.140283bc0
mov r9, qword [rsp + 0x60]
movzx r11d, word [rbx + 0x18]
mov rdi, rax
movzx eax, word [rbx + 0x1a]
mov word [rsp + 0x32], r11w
mov word [rsp + 0x42], ax
movzx eax, word [rbx + 0x2c]
mov word [rsp + 0x34], ax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x50], eax
mov rax, qword [rbx]
mov qword [rsp + 0x80], rax
movzx eax, word [rbx + 0x16]
mov word [rsp + 0x40], ax
xor eax, eax
mov word [rbx + 0x12], ax
mov r8, qword [r9 + 0x10]
mov ecx, dword [r8]
call fcn.14021f3f0
movsx rcx, ax
call fcn.14021f3f0
movzx r10d, ax
cmp ax, 0x21
jle 0x140288f5f
sub r10w, 0x21
mov dword [rsp + 0x44], r10d
jmp 0x140288f65
xor eax, eax
mov dword [rsp + 0x44], eax
test rdi, rdi
jne 0x140289019
cmp r11w, word [rsp + 0x42]
jne 0x140289019
movzx eax, word [r9 + 0x5e]
movzx ecx, r11w
inc ecx
cmp ecx, eax
jge 0x140289019
movzx eax, r11w
lea rbp, [rax*4 + 4]
cmp dword [r8 + rbp], 0x12
jb 0x140289015
movzx r8d, word [rbx + 0x2c]
mov rcx, qword [rsp + 0x88]
mov rdx, rbx
inc r8d
call fcn.140288950
mov dword [rsp + 0x3c], eax
test eax, eax
jne 0x140289319
inc word [rbx + 0x18]
inc word [rbx + 0x1a]
movzx edx, word [rbx + 0x2c]
mov rcx, qword [rbx + 0x30]
mov r8, qword [rsp + 0x60]
xor eax, eax
mov qword [rcx + rdx*8], rax
inc word [rbx + 0x2c]
or dword [rbx + 0x28], 0x8000
mov rcx, qword [r8 + 0x10]
xor edx, edx
mov eax, dword [rcx]
div dword [rcx + rbp]
mov ecx, eax
call fcn.14021f3f0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
movzx r9d, ax
call fcn.140288de0
movzx r11d, word [rsp + 0x32]
mov ebp, dword [rsp + 0x3c]
movsxd rcx, esi
mov edx, 0x80
mov qword [rsp + 0x78], rcx
test rdi, rdi
je 0x140289315
xor eax, eax
mov esi, eax
cmp word [rdi + 0x1a], dx
jne 0x140289061
test rcx, rcx
js 0x1402892ed
mov rax, qword [rsp + 0x70]
lea rcx, [rcx + rcx*2]
mov rax, qword [rax + 0x20]
add rcx, rcx
mov rax, qword [rax + 8]
cmp byte [rax + rcx*8 + 0x28], sil
jne 0x1402892ed
mov rax, qword [rbx + 8]
test qword [rdi + 0x28], rax
jne 0x1402892ed
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x88]
mov rdx, rbx
mov dword [rbx + 0x28], eax
movzx eax, word [rsp + 0x34]
mov word [rbx + 0x18], r11w
lea r8d, [rax + 1]
mov word [rbx + 0x2c], ax
call fcn.140288950
test eax, eax
jne 0x140289315
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x30]
mov r8d, dword [rsp + 0x44]
mov qword [rax + rcx*8], rdi
inc word [rbx + 0x2c]
mov rcx, qword [rdi + 0x28]
or rcx, qword [rsp + 0x80]
mov rax, qword [rbx + 8]
mov word [rbx + 0x14], r8w
not rax
and rcx, rax
mov qword [rbx], rcx
movzx eax, word [rdi + 0x1a]
test al, 1
je 0x14028912f
mov rax, qword [rdi]
or dword [rbx + 0x28], 4
test dword [rax + 4], 0x800
je 0x140289105
movzx edi, word [rsp + 0x30]
mov esi, 0x2e
lea eax, [r8 + rsi]
mov word [rbx + 0x14], ax
lea eax, [rdi + rsi]
jmp 0x1402891a8
mov rax, qword [rax + 0x20]
test rax, rax
je 0x14028911d
movsxd rcx, dword [rax]
test ecx, ecx
je 0x14028911d
call fcn.14021f3f0
movsx esi, ax
movzx edi, word [rsp + 0x30]
lea eax, [r8 + rsi]
mov word [rbx + 0x14], ax
lea eax, [rdi + rsi]
jmp 0x1402891a8
test al, 2
je 0x140289193
or dword [rbx + 0x28], 1
movzx edi, word [rsp + 0x30]
mov edx, dword [rbx + 0x28]
cmp qword [rsp + 0x78], rsi
jl 0x14028916b
test di, di
jne 0x140289172
mov r8, qword [rsp + 0x60]
movzx eax, word [rbx + 0x18]
movzx ecx, word [r8 + 0x5e]
dec ecx
cmp eax, ecx
jne 0x140289172
cmp byte [r8 + 0x62], sil
jne 0x14028916b
bts edx, 0x10
jmp 0x14028916f
bts edx, 0xc
mov dword [rbx + 0x28], edx
inc word [rbx + 0x18]
mov r8d, dword [rsp + 0x44]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
movzx eax, di
add ax, word [rsp + 0x38]
mov word [rbx + 0x16], ax
jmp 0x140289212
test al, al
jns 0x1402891c1
movzx edi, word [rsp + 0x30]
or dword [rbx + 0x28], 8
mov esi, 0xa
lea eax, [rdi + 0xa]
inc word [rbx + 0x18]
add ax, word [rsp + 0x38]
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x58]
mov word [rbx + 0x16], ax
jmp 0x140289212
test al, 0x24
je 0x1402891dd
or dword [rbx + 0x28], 0x22
xor eax, eax
mov r9, rdi
mov r10d, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], rdi
jmp 0x14028920d
or dword [rbx + 0x28], 0x12
test byte [rbx + 0x28], 0x20
mov r10, rdi
mov qword [rsp + 0x58], rdi
je 0x140289203
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x30]
mov r9, qword [rax + rcx*8 - 0x10]
mov qword [rsp + 0x48], r9
jmp 0x14028920d
xor eax, eax
mov r9d, eax
mov qword [rsp + 0x48], rax
movzx edi, word [rsp + 0x30]
mov edx, dword [rbx + 0x28]
test dl, 2
je 0x14028924b
movsx ecx, word [rbx + 0x16]
movzx eax, cx
test r9, r9
je 0x14028922b
lea eax, [rcx - 0x14]
dec ecx
test r10, r10
je 0x140289236
add ax, 0xffec
dec ecx
cmp ax, 0xa
jge 0x140289241
mov eax, 0xa
cwde
cmp eax, ecx
cmovl ecx, eax
mov word [rbx + 0x16], cx
test edx, 0x140
jne 0x140289278
cmp r8w, 0x1b
jle 0x140289263
movsx eax, r8w
sub eax, 0x11
jmp 0x140289268
mov eax, 0xa
movzx ecx, word [rbx + 0x14]
movzx edx, ax
call fcn.14021f370
mov word [rbx + 0x14], ax
movzx edx, word [rbx + 0x16]
movzx ecx, word [rbx + 0x14]
call fcn.14021f370
mov rbp, qword [rsp + 0x68]
mov rdx, rbx
mov word [rbx + 0x14], ax
mov rcx, qword [rbp + 8]
call fcn.140288d10
mov rdx, rbx
mov rcx, rbp
call fcn.140288b80
test byte [rbx + 0x28], 0x10
mov ebp, eax
mov dword [rsp + 0x3c], eax
jne 0x1402892e4
mov rdx, qword [rsp + 0x60]
xor eax, eax
cmp qword [rdx], rax
mov ecx, eax
movzx eax, word [rdx + 0x5e]
setne cl
add ecx, eax
movzx eax, word [rbx + 0x18]
cmp eax, ecx
jge 0x1402892e4
mov rcx, qword [rsp + 0x68]
mov r8, rdx
mov rdx, qword [rsp + 0x70]
lea r9d, [rdi + rsi]
call fcn.140288de0
movzx eax, word [rsp + 0x40]
mov word [rbx + 0x16], ax
lea rcx, [rsp + 0x90]
call fcn.1402838e0
mov rcx, qword [rsp + 0x78]
movzx r11d, word [rsp + 0x32]
mov rdi, rax
mov edx, 0x80
test ebp, ebp
je 0x140289026
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x128]
mov qword [rbx], rcx
movzx ecx, word [rsp + 0x32]
mov word [rbx + 0x18], cx
movzx ecx, word [rsp + 0x42]
mov word [rbx + 0x1a], cx
mov ecx, dword [rsp + 0x50]
mov dword [rbx + 0x28], ecx
movzx ecx, word [rsp + 0x40]
mov word [rbx + 0x16], cx
movzx ecx, word [rsp + 0x34]
mov word [rbx + 0x2c], cx
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1402bcad0
add rsp, 0x130
pop rdi
pop rbp
pop rbx
ret