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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x70
mov eax, dword [rsp + 0x80]
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
cdqe
lea rcx, [0x140520d10]
movzx eax, word [rcx + rax*2]
imul eax, eax, 0x80
mov dword [rsp + 0x10], eax
mov eax, dword [rsp + 0x80]
cdq
and edx, 0x7f
add eax, edx
and eax, 0x7f
sub eax, edx
mov ecx, dword [rsp + 0x10]
add ecx, eax
mov eax, ecx
cdqe
lea rcx, [0x140525110]
movzx eax, word [rcx + rax*2]
imul rax, rax, 0xc
lea rcx, [0x14051de50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 8], rax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x14], eax
mov eax, dword [rsp + 0x14]
dec eax
mov dword [rsp + 0x14], eax
cmp dword [rsp + 0x14], 8
ja case.default.0x14027a2c0
mov eax, dword [rsp + 0x14]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x27a6c4]
add rax, rcx
jmp rax
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp eax, 9
je 0x14027a2f6
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp eax, 5
je 0x14027a2f6
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp eax, 8
je 0x14027a2f6
mov dword [rsp + 0x18], 0
jmp 0x14027a2fe
mov dword [rsp + 0x18], 1
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x18], eax
jne 0x14027a315
mov dword [rsp + 0x1c], 1
jmp 0x14027a31d
mov dword [rsp + 0x1c], 0
mov eax, dword [rsp + 0x1c]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
mov eax, dword [rcx + rax*4]
cmp dword [rsp + 0x90], eax
jne 0x14027a34c
mov dword [rsp + 0x20], 1
jmp 0x14027a354
mov dword [rsp + 0x20], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x20], eax
jne 0x14027a36b
mov dword [rsp + 0x24], 1
jmp 0x14027a373
mov dword [rsp + 0x24], 0
mov eax, dword [rsp + 0x24]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
cmp dword [rsp + 0x90], eax
jne 0x14027a398
mov dword [rsp + 0x28], 1
jmp 0x14027a3a0
mov dword [rsp + 0x28], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x28], eax
jne 0x14027a3b7
mov dword [rsp + 0x2c], 1
jmp 0x14027a3bf
mov dword [rsp + 0x2c], 0
mov eax, dword [rsp + 0x2c]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax]
cmp dword [rsp + 0x90], eax
jne 0x14027a3e3
mov dword [rsp + 0x30], 1
jmp 0x14027a3eb
mov dword [rsp + 0x30], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x30], eax
jne 0x14027a402
mov dword [rsp + 0x34], 1
jmp 0x14027a40a
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 1
je 0x14027a449
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 3
je 0x14027a449
mov dword [rsp + 0x38], 0
jmp 0x14027a451
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x38], eax
jne 0x14027a468
mov dword [rsp + 0x3c], 1
jmp 0x14027a470
mov dword [rsp + 0x3c], 0
mov eax, dword [rsp + 0x3c]
jmp 0x14027a6bd
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x2000
ja 0x14027a509
cmp dword [rsp + 0x40], 0x2000
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0x20
ja 0x14027a4df
cmp dword [rsp + 0x40], 0x20
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 9
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0xa
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0xb
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0xc
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0xd
je case.0x14027a54e.8193
jmp case.0x14027a54e.8203
cmp dword [rsp + 0x40], 0x85
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0xa0
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0x1680
je case.0x14027a54e.8193
cmp dword [rsp + 0x40], 0x180e
je case.0x14027a54e.8193
jmp case.0x14027a54e.8203
cmp dword [rsp + 0x40], 0x3000
ja 0x14027a550
cmp dword [rsp + 0x40], 0x3000
je case.0x14027a54e.8193
mov eax, dword [rsp + 0x40]
sub eax, 0x2001
mov dword [rsp + 0x40], eax
cmp dword [rsp + 0x40], 0x5e
ja case.0x14027a54e.8203
mov eax, dword [rsp + 0x40]
lea rcx, [0x140000000]
movzx eax, byte [rcx + rax + 0x27a724]
mov eax, dword [rcx + rax*4 + 0x27a6e8]
add rax, rcx
jmp rax
jmp case.0x14027a54e.8203
mov eax, dword [rsp + 0x98]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 6
jne 0x14027a57e
mov dword [rsp + 0x44], 1
jmp 0x14027a586
mov dword [rsp + 0x44], 0
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x44], eax
jne 0x14027a59d
mov dword [rsp + 0x48], 1
jmp 0x14027a5a5
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 1
je 0x14027a5f3
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 1]
lea rcx, [0x14051c5a0]
cmp dword [rcx + rax*4], 3
je 0x14027a5f3
cmp dword [rsp + 0x80], 0x5f
je 0x14027a5f3
mov dword [rsp + 0x4c], 0
jmp 0x14027a5fb
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x4c], eax
jne 0x14027a612
mov dword [rsp + 0x50], 1
jmp 0x14027a61a
mov dword [rsp + 0x50], 0
mov eax, dword [rsp + 0x50]
jmp 0x14027a6bd
mov rax, qword [rsp + 8]
movzx eax, byte [rax + 3]
lea rcx, [0x14051da50]
lea rax, [rcx + rax*4]
mov qword [rsp], rax
mov rax, qword [rsp]
mov eax, dword [rax]
cmp dword [rsp + 0x80], eax
jae 0x14027a66c
cmp dword [rsp + 0x98], 0
jne 0x14027a65e
mov dword [rsp + 0x54], 1
jmp 0x14027a666
mov dword [rsp + 0x54], 0
mov eax, dword [rsp + 0x54]
jmp 0x14027a6bd
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp]
mov eax, dword [rax]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp]
add rax, 4
mov qword [rsp], rax
mov eax, dword [rsp + 0x5c]
cmp dword [rsp + 0x58], eax
jne 0x14027a6a1
mov dword [rsp + 0x60], 1
jmp 0x14027a6a9
mov dword [rsp + 0x60], 0
cmp dword [rsp + 0x60], 0
je 0x14027a6b9
mov eax, dword [rsp + 0x98]
jmp 0x14027a6bd
jmp 0x14027a63b
xor eax, eax
add rsp, 0x70
pop rdi
ret