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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xb0
cmp dword [rsp + 0xd0], 0
jne 0x1801b8ab1
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x10]
mov dword [rsp + 0x24], eax
jmp 0x1801b8acf
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0xc]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x24], eax
movsxd rax, dword [rsp + 0xd0]
imul rax, rax, 0x2430
mov rcx, qword [rsp + 0xc0]
lea rax, [rcx + rax + 0x3c]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
cmp dword [rax + 0x2428], ecx
jne 0x1801b8b17
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
cmp dword [rax + 0x242c], ecx
jne 0x1801b8b17
jmp 0x1801b91d3
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x2428], ecx
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x242c], ecx
mov eax, 0x2430
imul rax, rax, 1
mov rcx, qword [rsp + 0xc0]
lea rax, [rcx + rax + 0x3c]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x30], 0
jmp 0x1801b8b6d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xd8]
cmp dword [rsp + 0x30], eax
jae 0x1801b8bb7
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xfc]
and eax, 0x10
test eax, eax
je 0x1801b8bb5
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x38]
lea rax, [rcx + rax + 0xdc]
mov qword [rsp + 0x40], rax
jmp 0x1801b8bb7
jmp 0x1801b8b63
cmp qword [rsp + 0x40], 0
je 0x1801b8dd4
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x40]
mov ecx, dword [rax + 0xc]
call fcn.180199fe0
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 8]
mov rax, qword [rax + 0x80]
movzx eax, word [rax + 0x18]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x30]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x4c], 0x28
cmp dword [rsp + 0x54], 0
je 0x1801b8c2e
mov eax, dword [rsp + 0x54]
cmp dword [rsp + 0x58], eax
ja 0x1801b8c2e
cmp dword [rsp + 0x58], 6
jb 0x1801b8c2e
mov dword [rsp + 0x4c], 0x34
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
and eax, 0xffffffc0
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x48], eax
je 0x1801b8dd4
cmp dword [rsp + 0xd0], 1
jne 0x1801b8dd4
mov r8d, dword [rsp + 0x48]
mov edx, dword [rsp + 0x50]
mov ecx, dword [rsp + 0x20]
call fcn.180199ed0
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0xc0]
mov eax, dword [rax + 0x38]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x30], 0
jmp 0x1801b8c96
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xd8]
cmp dword [rsp + 0x30], eax
jae 0x1801b8d4e
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xf4]
cmp dword [rsp + 0x5c], eax
jle 0x1801b8cd2
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x98], eax
jmp 0x1801b8ced
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xf4]
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xf8]
neg eax
cmp dword [rsp + 0x5c], eax
jle 0x1801b8d21
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x9c], eax
jmp 0x1801b8d3e
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx + rax + 0xf8]
neg eax
mov dword [rsp + 0x9c], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x5c], eax
jmp 0x1801b8c8c
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov edx, eax
mov ecx, dword [rsp + 0x5c]
call fcn.180199fe0
test eax, eax
jge 0x1801b8d8b
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov edx, eax
mov ecx, dword [rsp + 0x5c]
call fcn.180199fe0
neg eax
mov dword [rsp + 0xa0], eax
jmp 0x1801b8da9
mov eax, dword [rsp + 0x20]
mov ecx, dword [rsp + 0x64]
sub ecx, eax
mov eax, ecx
mov edx, eax
mov ecx, dword [rsp + 0x5c]
call fcn.180199fe0
mov dword [rsp + 0xa0], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
and eax, 0xffffff80
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jne 0x1801b8dd4
xor eax, eax
test eax, eax
jne 0x1801b8dc6
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov rax, qword [rsp + 0x28]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 4], ecx
cmp dword [rsp + 0xd0], 0
jne 0x1801b8e15
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x10], ecx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x18], ecx
jmp 0x1801b8e33
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x20]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0xc0]
mov ecx, dword [rsp + 0x24]
mov dword [rax + 0x1c], ecx
xor eax, eax
test eax, eax
jne 0x1801b8e33
mov dword [rsp + 0x30], 0
jmp 0x1801b8e4d
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 8]
cmp dword [rsp + 0x30], eax
jae 0x1801b8ea2
mov eax, dword [rsp + 0x30]
imul rax, rax, 0xc
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0xc]
mov qword [rsp + 0x68], rax
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x68]
mov ecx, dword [rax]
call fcn.180199fe0
mov rcx, qword [rsp + 0x68]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x68]
mov ecx, dword [rcx + 4]
mov dword [rax + 8], ecx
xor eax, eax
test eax, eax
jne 0x1801b8e9a
jmp 0x1801b8e43
xor eax, eax
test eax, eax
jne 0x1801b8ea2
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x28]
mov ecx, dword [rax + 0xd0]
call fcn.180199fe0
cmp eax, 0x28
jge 0x1801b8ece
mov dword [rsp + 0xa4], 1
jmp 0x1801b8ed9
mov dword [rsp + 0xa4], 0
cmp dword [rsp + 0xa4], 0
je 0x1801b8eed
mov byte [rsp + 0xa8], 1
jmp 0x1801b8ef5
mov byte [rsp + 0xa8], 0
mov rax, qword [rsp + 0x28]
movzx ecx, byte [rsp + 0xa8]
mov byte [rax + 0xd4], cl
cmp dword [rsp + 0xd0], 1
jne 0x1801b91d3
mov dword [rsp + 0x30], 0
jmp 0x1801b8f2a
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xd8]
cmp dword [rsp + 0x30], eax
jae 0x1801b9093
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0xdc]
mov qword [rsp + 0x70], rax
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax]
call fcn.180199fe0
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 4], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 4]
mov dword [rax + 8], ecx
mov edx, dword [rsp + 0x20]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0xc]
call fcn.180199fe0
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x10], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0x10]
mov dword [rax + 0x14], ecx
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x20], eax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x70]
mov ecx, dword [rcx + 0xc]
mov eax, dword [rax]
sub eax, ecx
mov edx, dword [rsp + 0x20]
mov ecx, eax
call fcn.180199fe0
mov dword [rsp + 0x78], eax
cmp dword [rsp + 0x78], 0x30
jg 0x1801b908e
cmp dword [rsp + 0x78], 0xffffffd0
jl 0x1801b908e
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x78], 0
jge 0x1801b9014
mov eax, dword [rsp + 0x7c]
neg eax
mov dword [rsp + 0x7c], eax
cmp dword [rsp + 0x7c], 0x20
jge 0x1801b9025
mov dword [rsp + 0x7c], 0
jmp 0x1801b903e
cmp dword [rsp + 0x7c], 0x30
jge 0x1801b9036
mov dword [rsp + 0x7c], 0x20
jmp 0x1801b903e
mov dword [rsp + 0x7c], 0x40
cmp dword [rsp + 0x78], 0
jge 0x1801b904f
mov eax, dword [rsp + 0x7c]
neg eax
mov dword [rsp + 0x7c], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 4]
add eax, 0x20
and eax, 0xffffffc0
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x70]
mov ecx, dword [rsp + 0x7c]
mov eax, dword [rax + 8]
sub eax, ecx
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x14], eax
mov rax, qword [rsp + 0x70]
mov eax, dword [rax + 0x20]
or eax, 1
mov rcx, qword [rsp + 0x70]
mov dword [rcx + 0x20], eax
jmp 0x1801b8f20
mov dword [rsp + 0x30], 0
jmp 0x1801b90a7
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xd8]
cmp dword [rsp + 0x30], eax
jae 0x1801b91d3
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0xdc]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
and eax, 4
test eax, eax
jne 0x1801b90ed
jmp 0x1801b909d
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
and eax, 1
test eax, eax
jne 0x1801b9101
jmp 0x1801b909d
mov dword [rsp + 0x88], 0
jmp 0x1801b911e
mov eax, dword [rsp + 0x88]
inc eax
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x28]
mov eax, dword [rax + 0xd8]
cmp dword [rsp + 0x88], eax
jae 0x1801b91ce
mov eax, dword [rsp + 0x88]
imul rax, rax, 0x24
mov rcx, qword [rsp + 0x28]
lea rax, [rcx + rax + 0xdc]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x20]
and eax, 4
test eax, eax
je 0x1801b916a
jmp 0x1801b910e
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x20]
and eax, 1
test eax, eax
jne 0x1801b917e
jmp 0x1801b910e
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 0x14]
cmp dword [rax + 8], ecx
jg 0x1801b91c9
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x80]
mov ecx, dword [rcx + 8]
cmp dword [rax + 0x14], ecx
jl 0x1801b91c9
mov rax, qword [rsp + 0x80]
mov eax, dword [rax + 0x20]
and eax, 0xfffffffe
mov rcx, qword [rsp + 0x80]
mov dword [rcx + 0x20], eax
jmp 0x1801b91ce
jmp 0x1801b910e
jmp 0x1801b909d
add rsp, 0xb0
pop rdi
ret