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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x14002784a
mov rcx, qword [rsp + 0x80]
call fcn.1400250e0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x140027834
cmp dword [rsp + 0x88], 0
jne 0x140027834
xor eax, eax
jmp 0x140028056
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0
jne 0x14002784a
jmp 0x140027e97
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 3
jb 0x140027a8f
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x94], 0
jbe 0x140027a8f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax - 1]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a8f
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a8f
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a8f
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
lea rax, [rcx + rax + 0x102]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
movzx eax, byte [rax]
cmp dword [rsp + 0x24], eax
jne 0x140027a2e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x14002793a
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov ecx, 0x102
sub ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x88], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x9c]
cmp dword [rax + 0x88], ecx
jbe 0x140027a8f
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x9c]
mov dword [rax + 0x88], ecx
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x88], 3
jb 0x140027ca0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x88]
sub eax, 3
mov byte [rsp + 0x38], al
mov eax, 1
mov word [rsp + 0x3c], ax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16f8]
movzx edx, word [rsp + 0x3c]
mov word [rcx + rax*2], dx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
movzx edx, byte [rsp + 0x38]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
movzx eax, word [rsp + 0x3c]
dec ax
mov word [rsp + 0x3c], ax
movzx eax, byte [rsp + 0x38]
lea rcx, [0x14041ad40]
movzx eax, byte [rcx + rax]
add eax, 0x101
cdqe
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*4 + 0xbc]
inc ax
movzx ecx, byte [rsp + 0x38]
lea rdx, [0x14041ad40]
movzx ecx, byte [rdx + rcx]
add ecx, 0x101
movsxd rcx, ecx
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*4 + 0xbc], ax
movzx eax, word [rsp + 0x3c]
cmp eax, 0x100
jge 0x140027bae
movzx eax, word [rsp + 0x3c]
lea rcx, [0x14041ae40]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x140027bcc
movzx eax, word [rsp + 0x3c]
sar eax, 7
add eax, 0x100
cdqe
lea rcx, [0x14041ae40]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
movsxd rax, dword [rsp + 0x44]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*4 + 0x9b0]
inc ax
movsxd rcx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*4 + 0x9b0], ax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f0]
dec eax
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0x16f4], eax
jne 0x140027c23
mov dword [rsp + 0x48], 1
jmp 0x140027c2b
mov dword [rsp + 0x48], 0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x88]
mov eax, dword [rax + 0x9c]
sub eax, ecx
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x9c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
add eax, dword [rcx + 0x88]
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
jmp 0x140027dcb
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
movzx eax, byte [rcx + rax]
mov byte [rsp + 0x40], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16f8]
xor edx, edx
mov word [rcx + rax*2], dx
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
movzx edx, byte [rsp + 0x40]
mov byte [rcx + rax], dl
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
movzx eax, byte [rsp + 0x40]
mov rcx, qword [rsp + 0x80]
movzx eax, word [rcx + rax*4 + 0xbc]
inc ax
movzx ecx, byte [rsp + 0x40]
mov rdx, qword [rsp + 0x80]
mov word [rdx + rcx*4 + 0xbc], ax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f0]
dec eax
mov rcx, qword [rsp + 0x80]
cmp dword [rcx + 0x16f4], eax
jne 0x140027d7f
mov dword [rsp + 0x4c], 1
jmp 0x140027d87
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x9c]
dec eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x9c], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x94]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x94], eax
cmp dword [rsp + 0x20], 0
je 0x140027e92
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x140027e0e
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
jmp 0x140027e17
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x80]
call fcn.14002e950
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400285f0
nop
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x140027e92
xor eax, eax
jmp 0x140028056
jmp 0x1400277ee
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x170c], 0
cmp dword [rsp + 0x88], 4
jne 0x140027f83
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x140027eef
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
jmp 0x140027ef8
mov qword [rsp + 0x58], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
mov r9d, 1
mov r8d, eax
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x80]
call fcn.14002e950
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400285f0
nop
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x140027f79
mov eax, 2
jmp 0x140028056
mov eax, 3
jmp 0x140028056
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x16f4], 0
je 0x140028051
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x140027fd0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x84]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
jmp 0x140027fd9
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x84]
mov eax, dword [rax + 0x94]
sub eax, ecx
xor r9d, r9d
mov r8d, eax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x80]
call fcn.14002e950
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x94]
mov dword [rax + 0x84], ecx
mov rax, qword [rsp + 0x80]
mov rcx, qword [rax]
call fcn.1400285f0
nop
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x140028051
xor eax, eax
jmp 0x140028056
mov eax, 1
add rsp, 0x70
pop rdi
ret