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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xc8
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov rcx, qword [rsp + 0xd8]
call fcn.18005ed20
movzx eax, al
test eax, eax
jne 0x18005ab00
mov eax, 7
jmp 0x18005b1d3
mov rcx, qword [rsp + 0xd8]
call fcn.180009930
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x20]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0xa0]
call fcn.180051b60
mov rdx, qword [rsp + 0xd0]
movzx ecx, byte [rsp + 0x20]
call fcn.18005dc10
movzx eax, al
test eax, eax
je 0x18005ab6e
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
jmp 0x18005ab42
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2d
jne 0x18005ab82
mov dword [rsp + 0x40], 1
jmp 0x18005ab8a
mov dword [rsp + 0x40], 0
mov rax, qword [rsp + 0xe0]
movzx ecx, byte [rsp + 0x40]
mov byte [rax + 0x308], cl
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2d
je 0x18005abb1
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2b
jne 0x18005abc2
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x49
je 0x18005abd6
movsx eax, byte [rsp + 0x20]
cmp eax, 0x69
jne 0x18005abf2
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x20]
call fcn.18005b1e0
jmp 0x18005b1d3
movsx eax, byte [rsp + 0x20]
cmp eax, 0x4e
je 0x18005ac06
movsx eax, byte [rsp + 0x20]
cmp eax, 0x6e
jne 0x18005ac22
mov r8, qword [rsp + 0x68]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x20]
call fcn.18005b310
jmp 0x18005b1d3
mov byte [rsp + 0x21], 0
movsx eax, byte [rsp + 0x20]
cmp eax, 0x30
jne 0x18005aca2
mov rcx, qword [rsp + 0xd8]
call fcn.180009930
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x23], al
movsx eax, byte [rsp + 0x23]
cmp eax, 0x78
je 0x18005ac6b
movsx eax, byte [rsp + 0x23]
cmp eax, 0x58
jne 0x18005ac90
mov byte [rsp + 0x21], 1
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x68], rax
jmp 0x18005aca2
movzx edx, byte [rsp + 0x23]
mov rcx, qword [rsp + 0xd8]
call fcn.18005eb60
mov rax, qword [rsp + 0xe0]
add rax, 8
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
add rax, 0x308
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0xe0]
add rax, 8
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x38], 0
mov byte [rsp + 0x22], 0
movsx eax, byte [rsp + 0x20]
cmp eax, 0x30
jne 0x18005ad09
mov byte [rsp + 0x22], 1
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
jmp 0x18005ace7
jmp 0x18005ad1c
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18005ad2f
mov dword [rsp + 0x44], 0xf
jmp 0x18005ad37
mov dword [rsp + 0x44], 9
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x78], eax
movzx ecx, byte [rsp + 0x20]
call fcn.18005e500
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x78]
cmp dword [rsp + 0x48], eax
jbe 0x18005ad59
jmp 0x18005ad95
mov byte [rsp + 0x22], 1
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
je 0x18005ad86
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x48]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
jmp 0x18005ad0b
mov rax, qword [rsp + 0xd0]
mov rax, qword [rax]
mov rax, qword [rax + 0xf8]
mov rax, qword [rax]
movzx eax, byte [rax]
mov byte [rsp + 0x2d], al
movsx eax, byte [rsp + 0x20]
movsx ecx, byte [rsp + 0x2d]
cmp eax, ecx
jne 0x18005ae8b
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rax
jne 0x18005ae0c
movsx eax, byte [rsp + 0x20]
cmp eax, 0x30
jne 0x18005ae0c
mov byte [rsp + 0x22], 1
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
jmp 0x18005ade0
jmp 0x18005ae1f
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18005ae32
mov dword [rsp + 0x4c], 0xf
jmp 0x18005ae3a
mov dword [rsp + 0x4c], 9
mov eax, dword [rsp + 0x4c]
mov dword [rsp + 0x7c], eax
movzx ecx, byte [rsp + 0x20]
call fcn.18005e500
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x7c]
cmp dword [rsp + 0x50], eax
jbe 0x18005ae5c
jmp 0x18005ae8b
mov byte [rsp + 0x22], 1
mov rax, qword [rsp + 0x88]
cmp qword [rsp + 0x30], rax
je 0x18005ae89
mov rax, qword [rsp + 0x30]
movzx ecx, byte [rsp + 0x50]
mov byte [rax], cl
mov rax, qword [rsp + 0x30]
inc rax
mov qword [rsp + 0x30], rax
jmp 0x18005ae0e
movzx eax, byte [rsp + 0x22]
test eax, eax
jne 0x18005aed1
lea rcx, [rsp + 0xa0]
call fcn.18005bc40
movzx eax, al
test eax, eax
jne 0x18005aeb2
mov eax, 7
jmp 0x18005b1d3
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18005aec7
mov eax, 2
jmp 0x18005b1d3
mov eax, 7
jmp 0x18005b1d3
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
call fcn.18005eb60
mov rcx, qword [rsp + 0xd8]
call fcn.180009930
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x20]
mov byte [rsp + 0x3c], al
cmp byte [rsp + 0x3c], 0x45
je 0x18005af32
cmp byte [rsp + 0x3c], 0x50
je 0x18005af58
cmp byte [rsp + 0x3c], 0x65
je 0x18005af32
cmp byte [rsp + 0x3c], 0x70
je 0x18005af58
jmp 0x18005af61
movzx eax, byte [rsp + 0x21]
test eax, eax
jne 0x18005af45
mov dword [rsp + 0x54], 1
jmp 0x18005af4d
mov dword [rsp + 0x54], 0
movzx eax, byte [rsp + 0x54]
mov byte [rsp + 0x24], al
jmp 0x18005af61
movzx eax, byte [rsp + 0x21]
mov byte [rsp + 0x24], al
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x18005b0b3
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2d
jne 0x18005af98
mov byte [rsp + 0x2c], 1
jmp 0x18005af9d
mov byte [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x2c]
mov byte [rsp + 0x2e], al
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2b
je 0x18005afba
movsx eax, byte [rsp + 0x20]
cmp eax, 0x2d
jne 0x18005afcb
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
mov byte [rsp + 0x25], 0
movsx eax, byte [rsp + 0x20]
cmp eax, 0x30
jne 0x18005aff2
mov byte [rsp + 0x25], 1
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
jmp 0x18005afd0
jmp 0x18005b005
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
movzx ecx, byte [rsp + 0x20]
call fcn.18005e500
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0xa
jb 0x18005b01c
jmp 0x18005b044
mov byte [rsp + 0x25], 1
imul eax, dword [rsp + 0x28], 0xa
add eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x1450
jle 0x18005b042
mov dword [rsp + 0x28], 0x1451
jmp 0x18005b044
jmp 0x18005aff4
movzx ecx, byte [rsp + 0x20]
call fcn.18005e500
cmp eax, 0xa
jae 0x18005b066
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
jmp 0x18005b044
movzx eax, byte [rsp + 0x2e]
test eax, eax
je 0x18005b079
mov eax, dword [rsp + 0x28]
neg eax
mov dword [rsp + 0x28], eax
movzx eax, byte [rsp + 0x25]
test eax, eax
jne 0x18005b0b3
lea rcx, [rsp + 0xa0]
call fcn.18005bc40
movzx eax, al
test eax, eax
je 0x18005b0a9
mov rcx, qword [rsp + 0xd8]
call fcn.18005db30
mov byte [rsp + 0x20], al
jmp 0x18005b0b3
mov eax, 7
jmp 0x18005b1d3
movzx edx, byte [rsp + 0x20]
mov rcx, qword [rsp + 0xd8]
call fcn.18005eb60
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rax
je 0x18005b0ed
mov rax, qword [rsp + 0x30]
movzx eax, byte [rax - 1]
test eax, eax
jne 0x18005b0ed
mov rax, qword [rsp + 0x30]
dec rax
mov qword [rsp + 0x30], rax
jmp 0x18005b0c5
mov rax, qword [rsp + 0x70]
cmp qword [rsp + 0x30], rax
jne 0x18005b103
mov eax, 2
jmp 0x18005b1d3
cmp dword [rsp + 0x28], 0x1450
jle 0x18005b117
mov eax, 9
jmp 0x18005b1d3
cmp dword [rsp + 0x28], 0xffffebb0
jge 0x18005b12b
mov eax, 8
jmp 0x18005b1d3
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18005b13e
mov dword [rsp + 0x5c], 4
jmp 0x18005b146
mov dword [rsp + 0x5c], 1
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x38]
imul eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x28]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0x1450
jle 0x18005b17a
mov eax, 9
jmp 0x18005b1d3
cmp dword [rsp + 0x28], 0xffffebb0
jge 0x18005b18b
mov eax, 8
jmp 0x18005b1d3
mov rax, qword [rsp + 0xe0]
mov ecx, dword [rsp + 0x28]
mov dword [rax], ecx
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x30]
sub rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0xe0]
mov dword [rcx + 4], eax
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18005b1c7
mov dword [rsp + 0x60], 1
jmp 0x18005b1cf
mov dword [rsp + 0x60], 0
mov eax, dword [rsp + 0x60]
add rsp, 0xc8
ret