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

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x130
mov rax, qword [0x140415a10]
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 0x14028311f
lea eax, [rcx + 7]
jmp 0x140283627
test byte [rbx + 0x28], 0x20
mov qword [rsp + 0x128], rsi
je 0x140283135
mov r8d, 0x18
jmp 0x14028314d
cmp dword [r8 + 0x58], ecx
jle 0x140283147
test byte [rdx + 0x3c], 8
mov r8d, 0xbf
je 0x14028314d
mov r8d, 0x3f
test byte [r9 + 0x64], 4
je 0x140283158
and r8d, 0xffffffc3
movzx eax, word [rbx + 0x18]
cmp ax, word [r9 + 0x5e]
jae 0x140283194
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.1402196c0
mov dword [rsp + 0x38], eax
test ax, ax
jne 0x14028319c
cmp byte [r9 + 0x62], bpl
jne 0x14028319c
mov dword [rsp + 0x38], 1
jmp 0x14028319c
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.14027de90
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.1402196c0
movsx rcx, ax
call fcn.1402196c0
movzx r10d, ax
cmp ax, 0x21
jle 0x14028322f
sub r10w, 0x21
mov dword [rsp + 0x44], r10d
jmp 0x140283235
xor eax, eax
mov dword [rsp + 0x44], eax
test rdi, rdi
jne 0x1402832e9
cmp r11w, word [rsp + 0x42]
jne 0x1402832e9
movzx eax, word [r9 + 0x5e]
movzx ecx, r11w
inc ecx
cmp ecx, eax
jge 0x1402832e9
movzx eax, r11w
lea rbp, [rax*4 + 4]
cmp dword [r8 + rbp], 0x12
jb 0x1402832e5
movzx r8d, word [rbx + 0x2c]
mov rcx, qword [rsp + 0x88]
mov rdx, rbx
inc r8d
call fcn.140282c20
mov dword [rsp + 0x3c], eax
test eax, eax
jne 0x1402835e9
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.1402196c0
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
movzx r9d, ax
call fcn.1402830b0
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 0x1402835e5
xor eax, eax
mov esi, eax
cmp word [rdi + 0x1a], dx
jne 0x140283331
test rcx, rcx
js 0x1402835bd
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 0x1402835bd
mov rax, qword [rbx + 8]
test qword [rdi + 0x28], rax
jne 0x1402835bd
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.140282c20
test eax, eax
jne 0x1402835e5
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 0x1402833ff
mov rax, qword [rdi]
or dword [rbx + 0x28], 4
test dword [rax + 4], 0x800
je 0x1402833d5
movzx edi, word [rsp + 0x30]
mov esi, 0x2e
lea eax, [r8 + rsi]
mov word [rbx + 0x14], ax
lea eax, [rdi + rsi]
jmp 0x140283478
mov rax, qword [rax + 0x20]
test rax, rax
je 0x1402833ed
movsxd rcx, dword [rax]
test ecx, ecx
je 0x1402833ed
call fcn.1402196c0
movsx esi, ax
movzx edi, word [rsp + 0x30]
lea eax, [r8 + rsi]
mov word [rbx + 0x14], ax
lea eax, [rdi + rsi]
jmp 0x140283478
test al, 2
je 0x140283463
or dword [rbx + 0x28], 1
movzx edi, word [rsp + 0x30]
mov edx, dword [rbx + 0x28]
cmp qword [rsp + 0x78], rsi
jl 0x14028343b
test di, di
jne 0x140283442
mov r8, qword [rsp + 0x60]
movzx eax, word [rbx + 0x18]
movzx ecx, word [r8 + 0x5e]
dec ecx
cmp eax, ecx
jne 0x140283442
cmp byte [r8 + 0x62], sil
jne 0x14028343b
bts edx, 0x10
jmp 0x14028343f
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 0x1402834e2
test al, al
jns 0x140283491
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 0x1402834e2
test al, 0x24
je 0x1402834ad
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 0x1402834dd
or dword [rbx + 0x28], 0x12
test byte [rbx + 0x28], 0x20
mov r10, rdi
mov qword [rsp + 0x58], rdi
je 0x1402834d3
movzx ecx, word [rbx + 0x2c]
mov rax, qword [rbx + 0x30]
mov r9, qword [rax + rcx*8 - 0x10]
mov qword [rsp + 0x48], r9
jmp 0x1402834dd
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 0x14028351b
movsx ecx, word [rbx + 0x16]
movzx eax, cx
test r9, r9
je 0x1402834fb
lea eax, [rcx - 0x14]
dec ecx
test r10, r10
je 0x140283506
add ax, 0xffec
dec ecx
cmp ax, 0xa
jge 0x140283511
mov eax, 0xa
cwde
cmp eax, ecx
cmovl ecx, eax
mov word [rbx + 0x16], cx
test edx, 0x140
jne 0x140283548
cmp r8w, 0x1b
jle 0x140283533
movsx eax, r8w
sub eax, 0x11
jmp 0x140283538
mov eax, 0xa
movzx ecx, word [rbx + 0x14]
movzx edx, ax
call fcn.140219640
mov word [rbx + 0x14], ax
movzx edx, word [rbx + 0x16]
movzx ecx, word [rbx + 0x14]
call fcn.140219640
mov rbp, qword [rsp + 0x68]
mov rdx, rbx
mov word [rbx + 0x14], ax
mov rcx, qword [rbp + 8]
call fcn.140282fe0
mov rdx, rbx
mov rcx, rbp
call fcn.140282e50
test byte [rbx + 0x28], 0x10
mov ebp, eax
mov dword [rsp + 0x3c], eax
jne 0x1402835b4
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 0x1402835b4
mov rcx, qword [rsp + 0x68]
mov r8, rdx
mov rdx, qword [rsp + 0x70]
lea r9d, [rdi + rsi]
call fcn.1402830b0
movzx eax, word [rsp + 0x40]
mov word [rbx + 0x16], ax
lea rcx, [rsp + 0x90]
call fcn.14027dbb0
mov rcx, qword [rsp + 0x78]
movzx r11d, word [rsp + 0x32]
mov rdi, rax
mov edx, 0x80
test ebp, ebp
je 0x1402832f6
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.1402b6d40
add rsp, 0x130
pop rdi
pop rbp
pop rbx
ret