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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x70
mov rax, qword [rsp + 0x80]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0x20
jae 0x1801a6af2
mov byte [rsp + 0x24], 0
cmp dword [rsp + 0x20], 0xa
jne 0x1801a6a97
mov eax, dword [rsp + 0x88]
and eax, 0x100000
test eax, eax
je 0x1801a6a97
mov dword [rsp + 0x28], 1
jmp 0x1801a6a9f
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x24]
or eax, dword [rsp + 0x28]
mov byte [rsp + 0x24], al
cmp dword [rsp + 0x20], 9
jne 0x1801a6acd
mov eax, dword [rsp + 0x88]
and eax, 0x400
test eax, eax
je 0x1801a6acd
mov dword [rsp + 0x2c], 1
jmp 0x1801a6ad5
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 0x24]
or eax, dword [rsp + 0x2c]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x24]
test eax, eax
jne 0x1801a6af2
xor al, al
jmp 0x1801a6d06
cmp dword [rsp + 0x20], 0x7f
jne 0x1801a6b00
xor al, al
jmp 0x1801a6d06
cmp dword [rsp + 0x20], 0xe000
jb 0x1801a6b1b
cmp dword [rsp + 0x20], 0xf8ff
ja 0x1801a6b1b
xor al, al
jmp 0x1801a6d06
cmp dword [rsp + 0x20], 0xffff
jbe 0x1801a6b2c
xor al, al
jmp 0x1801a6d06
mov eax, dword [rsp + 0x88]
and eax, 0x2000f
test eax, eax
je 0x1801a6c75
mov eax, dword [rsp + 0x88]
and eax, 1
test eax, eax
je 0x1801a6b86
cmp dword [rsp + 0x20], 0x30
jb 0x1801a6b5c
cmp dword [rsp + 0x20], 0x39
jbe 0x1801a6b86
cmp dword [rsp + 0x20], 0x2e
je 0x1801a6b86
cmp dword [rsp + 0x20], 0x2d
je 0x1801a6b86
cmp dword [rsp + 0x20], 0x2b
je 0x1801a6b86
cmp dword [rsp + 0x20], 0x2a
je 0x1801a6b86
cmp dword [rsp + 0x20], 0x2f
je 0x1801a6b86
xor al, al
jmp 0x1801a6d06
mov eax, dword [rsp + 0x88]
and eax, 0x20000
test eax, eax
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x30
jb 0x1801a6ba4
cmp dword [rsp + 0x20], 0x39
jbe 0x1801a6bdc
cmp dword [rsp + 0x20], 0x2e
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x2d
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x2b
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x2a
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x2f
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x65
je 0x1801a6bdc
cmp dword [rsp + 0x20], 0x45
je 0x1801a6bdc
xor al, al
jmp 0x1801a6d06
mov eax, dword [rsp + 0x88]
and eax, 2
test eax, eax
je 0x1801a6c1b
cmp dword [rsp + 0x20], 0x30
jb 0x1801a6bf8
cmp dword [rsp + 0x20], 0x39
jbe 0x1801a6c1b
cmp dword [rsp + 0x20], 0x61
jb 0x1801a6c06
cmp dword [rsp + 0x20], 0x66
jbe 0x1801a6c1b
cmp dword [rsp + 0x20], 0x41
jb 0x1801a6c14
cmp dword [rsp + 0x20], 0x46
jbe 0x1801a6c1b
xor al, al
jmp 0x1801a6d06
mov eax, dword [rsp + 0x88]
and eax, 4
test eax, eax
je 0x1801a6c50
cmp dword [rsp + 0x20], 0x61
jb 0x1801a6c50
cmp dword [rsp + 0x20], 0x7a
ja 0x1801a6c50
mov eax, dword [rsp + 0x20]
add eax, 0xffffffe0
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x20]
mov dword [rax], ecx
mov eax, dword [rsp + 0x88]
and eax, 8
test eax, eax
je 0x1801a6c75
mov ecx, dword [rsp + 0x20]
call fcn.180176060
movzx eax, al
test eax, eax
je 0x1801a6c75
xor al, al
jmp 0x1801a6d06
mov eax, dword [rsp + 0x88]
and eax, 0x200
test eax, eax
je 0x1801a6d04
lea rcx, [rsp + 0x38]
call fcn.1801964f0
lea rax, [rsp + 0x38]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov dword [rsp + 0x38], 0x200
movzx eax, word [rsp + 0x20]
mov word [rsp + 0x48], ax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x38]
call qword [rsp + 0x30]
test eax, eax
je 0x1801a6ce8
xor al, al
jmp 0x1801a6d06
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0x80]
mov dword [rcx], eax
movzx eax, word [rsp + 0x48]
test eax, eax
jne 0x1801a6d04
xor al, al
jmp 0x1801a6d06
mov al, 1
add rsp, 0x70
pop rdi
ret