Function at 0x140080bd0
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 0x140080c3a
mov rcx, qword [rsp + 0x80]
call fcn.1400819f0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x140080c24
cmp dword [rsp + 0x88], 0
jne 0x140080c24
xor eax, eax
jmp 0x1400814fd
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0
jne 0x140080c3a
jmp 0x140081340
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 3
jb 0x140080e7f
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x94], 0
jbe 0x140080e7f
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 0x140080e7f
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 0x140080e7f
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 0x140080e7f
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 0x140080e1e
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 0x140080e1e
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 0x140080e1e
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 0x140080e1e
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 0x140080e1e
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 0x140080e1e
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 0x140080e1e
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 0x140080e1e
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x140080d2a
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 0x140080e7f
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 0x1400810f1
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 + 0x16e8]
movzx edx, byte [rsp + 0x3c]
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]
sar eax, 8
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x16f4]
mov rdx, qword [rsp + 0x80]
mov rdx, qword [rdx + 0x16e8]
mov byte [rdx + rcx], al
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
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, [0x14016ae00]
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, [0x14016ae00]
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 0x140081001
movzx eax, word [rsp + 0x3c]
lea rcx, [0x14016af00]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x14008101f
movzx eax, word [rsp + 0x3c]
sar eax, 7
add eax, 0x100
cdqe
lea rcx, [0x14016af00]
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 rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x16f8]
cmp dword [rax + 0x16f4], ecx
jne 0x140081074
mov dword [rsp + 0x48], 1
jmp 0x14008107c
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 0x140081275
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 + 0x16e8]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
mov rcx, qword [rsp + 0x80]
mov rcx, qword [rcx + 0x16e8]
mov byte [rcx + rax], 0
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x16f4]
inc eax
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x16f4], eax
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 rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x16f8]
cmp dword [rax + 0x16f4], ecx
jne 0x140081229
mov dword [rsp + 0x4c], 1
jmp 0x140081231
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 0x14008133b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1400812b8
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 0x1400812c1
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.140084c10
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.140082180
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x14008133b
xor eax, eax
jmp 0x1400814fd
jmp 0x140080bde
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1708], 0
cmp dword [rsp + 0x88], 4
jne 0x14008142b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x140081398
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 0x1400813a1
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.140084c10
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.140082180
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x140081421
mov eax, 2
jmp 0x1400814fd
mov eax, 3
jmp 0x1400814fd
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x16f4], 0
je 0x1400814f8
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x140081478
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 0x140081481
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.140084c10
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.140082180
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1400814f8
xor eax, eax
jmp 0x1400814fd
mov eax, 1
add rsp, 0x70
pop rdi
ret