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

Disassembly:
push rdi
push r12
push r13
push r14
sub rsp, 0xd8
movabs rax, 0x151e1301e3b1bb6d
mov r12d, edx
mov edi, ecx
mov rdx, qword [0x1800862a0]
cmp rdx, rax
jne 0x180059e66
mov qword [0x1800862a0], 0
xor edx, edx
cmp byte [0x180086424], 0
je 0x180059e89
cmp r12d, 0x66a1299a
je 0x180059f9c
cmp r12d, 0x3f795175
je 0x180059f73
test rdx, rdx
je 0x180059eb7
xor r8b, r8b
xor eax, eax
cmp r12d, dword [rax + rdx + 0x10]
je 0x18005a2df
inc r8b
add rax, 0x20
cmp r8b, 0x10
jl 0x180059e93
mov rdx, qword [rdx + 0x200]
test rdx, rdx
jne 0x180059e8e
cmp edi, 0x9ead0801
je 0x18005a2ba
mov ecx, edi
call fcn.18000d280
mov r13, rax
test r13, r13
je 0x18005a2af
movsxd rax, dword [r13 + 0x3c]
xor r14b, r14b
xor edi, edi
mov edx, dword [rax + r13 + 0x88]
mov r10d, edx
mov r9d, dword [rax + r13 + 0x8c]
add r9d, edx
mov eax, dword [r10 + r13 + 0x20]
mov r8d, dword [r10 + r13 + 0x24]
add rax, r13
add r8, r13
cmp dword [r10 + r13 + 0x14], 0
jbe 0x18005a026
mov r11d, r12d
xor r11d, 0x9ead0801
mov dword [rsp + 0xb0], edx
mov dword [rsp + 0xb8], r12d
mov r12d, r9d
mov qword [rsp + 0xc0], rbx
mov rbx, r8
mov qword [rsp + 0xc8], rsi
mov esi, r11d
mov qword [rsp + 0xa0], r15
mov r15, rax
mov qword [rsp + 0xa8], rbp
mov rbp, r10
mov edx, dword [r15]
xor eax, eax
add rdx, r13
jmp 0x180059f66
inc rax
mov cl, byte [rax + rdx]
test cl, cl
mov byte [rsp + rax + 0x20], cl
je 0x180059fc5
jmp 0x180059f63
movabs r8, 0x4fcdb58ee7e6365
mov rax, qword [0x180086040]
cmp rax, r8
je 0x180059e89
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
ret
movabs r8, 0x3b94b6b294fc9397
mov rax, qword [0x180086038]
cmp rax, r8
je 0x180059e89
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
ret
mov edx, eax
lea rcx, [rsp + 0x20]
call fcn.18003dcf0
cmp eax, esi
je 0x18005a26f
inc edi
add r15, 4
add rbx, 2
cmp edi, dword [rbp + r13 + 0x14]
jb 0x180059f59
mov edx, dword [rsp + 0xb0]
mov r8, rbx
mov rbx, qword [rsp + 0xc0]
mov r10, rbp
mov rsi, qword [rsp + 0xc8]
mov r9d, r12d
mov r12d, dword [rsp + 0xb8]
mov r15, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
xor edi, edi
test r14b, r14b
je 0x18005a184
movzx r8d, word [r8]
shl r8d, 2
mov eax, dword [r10 + r13 + 0x1c]
add rax, r13
mov edi, dword [r8 + rax]
cmp edi, edx
jb 0x18005a078
cmp edi, r9d
jae 0x18005a078
mov ecx, 0xd638f4c2
mov edx, 0x57d117fe
call fcn.180059e30
test rax, rax
je 0x18005a071
mov rcx, r13
lea rdx, [rsp + 0x20]
call rax
mov rdi, rax
jmp 0x18005a07b
xor edi, edi
jmp 0x18005a184
add rdi, r13
test rdi, rdi
je 0x18005a184
cmp byte [0x180086424], 0
jne 0x18005a241
mov r13, qword [0x1800862a0]
test r13, r13
je 0x18005a1b8
cmp qword [r13 + 0x200], 0
je 0x18005a0c1
mov rdx, qword [r13 + 0x200]
mov r13, rdx
mov rdx, qword [rdx + 0x200]
test rdx, rdx
jne 0x18005a0b2
xor dl, dl
xor r14d, r14d
cmp dword [r14 + r13 + 0x10], 0
je 0x18005a196
inc dl
add r14, 0x20
cmp dl, 0x10
jl 0x18005a0c6
mov ecx, 0x208
call fcn.180068700
mov r14, rax
test r14, r14
jne 0x18005a0f4
xor r14d, r14d
jmp 0x18005a160
mov rcx, r14
mov r8d, 0x10
mov qword [rsp + 0xa0], r15
mov r15, rcx
mov qword [rsp + 0xa8], rbp
mov rbp, r8
mov rcx, r15
xor edx, edx
mov qword [r15], 0
mov dword [r15 + 8], 0
call fcn.180035ca0
mov dword [r15 + 0x10], 0
mov qword [r15 + 0x18], 0
add r15, 0x20
dec rbp
jne 0x18005a113
mov r15, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov qword [r14 + 0x200], 0
mov qword [r14 + 0x18], rdi
lea rdx, [rsp + 0x20]
cmp rdx, qword [r14]
je 0x18005a179
mov rcx, r14
xor r8d, r8d
call fcn.1800722d0
mov dword [r14 + 0x10], r12d
mov qword [r13 + 0x200], r14
mov rax, rdi
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
ret
add r14, r13
lea rdx, [rsp + 0x20]
mov qword [r14 + 0x18], rdi
cmp rdx, qword [r14]
je 0x18005a1b2
mov rcx, r14
xor r8d, r8d
call fcn.1800722d0
mov dword [r14 + 0x10], r12d
jmp 0x18005a184
mov ecx, 0x208
mov byte [0x180086424], 1
call fcn.180068700
mov r13, rax
test r13, r13
jne 0x18005a1d6
xor r13d, r13d
jmp 0x18005a22e
mov rcx, r13
mov r14d, 0x10
mov qword [rsp + 0xa8], rbp
mov rbp, rcx
mov rcx, rbp
xor edx, edx
mov qword [rbp], 0
mov dword [rbp + 8], 0
call fcn.180035ca0
mov dword [rbp + 0x10], 0
mov qword [rbp + 0x18], 0
add rbp, 0x20
dec r14
jne 0x18005a1ea
mov rbp, qword [rsp + 0xa8]
mov qword [r13 + 0x200], 0
mov qword [0x1800862a0], r13
mov byte [0x180086424], 0
jmp 0x18005a0c1
cmp r12d, 0x66a1299a
jne 0x18005a256
mov qword [0x180086038], rdi
jmp 0x18005a184
cmp r12d, 0x3f795175
jne 0x18005a184
mov qword [0x180086040], rdi
jmp 0x18005a184
mov edx, dword [rsp + 0xb0]
mov r8, rbx
mov rbx, qword [rsp + 0xc0]
mov r10, rbp
mov rsi, qword [rsp + 0xc8]
mov r9d, r12d
mov r12d, dword [rsp + 0xb8]
mov r14b, 1
mov r15, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
jmp 0x18005a026
mov ecx, edi
call fcn.18005a300
test al, al
jne 0x18005a2cb
xor eax, eax
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
ret
mov ecx, edi
call fcn.18000d280
mov r13, rax
test r13, r13
je 0x18005a2ba
jmp 0x180059ed6
mov rax, qword [rax + rdx + 0x18]
add rsp, 0xd8
pop r14
pop r13
pop r12
pop rdi
ret