Function at 0x1803a90c0
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, [0x1805d8c29]
call fcn.18024f670
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x1803a9136
mov rcx, qword [rsp + 0x80]
call fcn.1803a66a0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0x102
ja 0x1803a9120
cmp dword [rsp + 0x88], 0
jne 0x1803a9120
xor eax, eax
jmp 0x1803a99f9
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 0
jne 0x1803a9136
jmp 0x1803a983c
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x88], 0
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x9c], 3
jb 0x1803a937b
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x94], 0
jbe 0x1803a937b
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 0x1803a937b
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 0x1803a937b
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 0x1803a937b
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 0x1803a931a
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 0x1803a931a
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 0x1803a931a
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 0x1803a931a
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 0x1803a931a
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 0x1803a931a
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 0x1803a931a
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 0x1803a931a
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jb 0x1803a9226
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 0x1803a937b
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 0x1803a95ed
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, [0x1804f88c0]
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, [0x1804f88c0]
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 0x1803a94fd
movzx eax, word [rsp + 0x3c]
lea rcx, [0x1804f89c0]
movzx eax, byte [rcx + rax]
mov dword [rsp + 0x44], eax
jmp 0x1803a951b
movzx eax, word [rsp + 0x3c]
sar eax, 7
add eax, 0x100
cdqe
lea rcx, [0x1804f89c0]
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 0x1803a9570
mov dword [rsp + 0x48], 1
jmp 0x1803a9578
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 0x1803a9771
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 0x1803a9725
mov dword [rsp + 0x4c], 1
jmp 0x1803a972d
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 0x1803a9837
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803a97b4
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 0x1803a97bd
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.1803adf40
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.1803aa010
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803a9837
xor eax, eax
jmp 0x1803a99f9
jmp 0x1803a90da
mov rax, qword [rsp + 0x80]
mov dword [rax + 0x1708], 0
cmp dword [rsp + 0x88], 4
jne 0x1803a9927
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803a9894
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 0x1803a989d
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.1803adf40
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.1803aa010
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803a991d
mov eax, 2
jmp 0x1803a99f9
mov eax, 3
jmp 0x1803a99f9
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x16f4], 0
je 0x1803a99f4
mov rax, qword [rsp + 0x80]
cmp dword [rax + 0x84], 0
jl 0x1803a9974
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 0x1803a997d
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.1803adf40
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.1803aa010
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
cmp dword [rax + 0x18], 0
jne 0x1803a99f4
xor eax, eax
jmp 0x1803a99f9
mov eax, 1
add rsp, 0x70
pop rdi
ret