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

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
lea rcx, [0x18050695b]
call fcn.1801b5d60
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x180311126
mov rcx, qword [rsp + 0x80]
call fcn.18030e690
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x180311110
cmp dword [rsp + 0x88], 0
jne 0x180311110
xor eax, eax
jmp 0x1803119e9
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0
jne 0x180311126
jmp 0x18031182c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 3
jb 0x18031136b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x94], 0
jbe 0x18031136b
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 0x18031136b
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 0x18031136b
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 0x18031136b
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 0x18031130a
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 0x18031130a
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 0x18031130a
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 0x18031130a
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 0x18031130a
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 0x18031130a
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 0x18031130a
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 0x18031130a
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x180311216
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 0x18031136b
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 0x1803115dd
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, [0x180459ea0]
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, [0x180459ea0]
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 0x1803114ed
movzx eax, word [rsp + 0x3c]
lea rcx, [0x180459fa0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x18031150b
movzx eax, word [rsp + 0x3c]
sar eax, 7
add eax, 0x100
cdqe
lea rcx, [0x180459fa0]
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 0x180311560
mov dword [rsp + 0x48], 1
jmp 0x180311568
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 0x180311761
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 0x180311715
mov dword [rsp + 0x4c], 1
jmp 0x18031171d
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 0x180311827
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803117a4
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 0x1803117ad
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.180315f30
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.180312000
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x180311827
xor eax, eax
jmp 0x1803119e9
jmp 0x1803110ca
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1708], 0
cmp dword [rsp + 0x88], 4
jne 0x180311917
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x180311884
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 0x18031188d
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.180315f30
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.180312000
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x18031190d
mov eax, 2
jmp 0x1803119e9
mov eax, 3
jmp 0x1803119e9
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x16f4], 0
je 0x1803119e4
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x180311964
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 0x18031196d
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.180315f30
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.180312000
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803119e4
xor eax, eax
jmp 0x1803119e9
mov eax, 1
add rsp, 0x70
pop rdi
ret