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

Disassembly:
push rdi
sub rsp, 0xc0
lea rax, [rsp + 0x34]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x34]
call fcn.180002a00
lea rcx, [rsp + 0xa0]
call fcn.1800029e0
mov rcx, rax
call fcn.180001180
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0xa0]
call fcn.180001510
mov qword [rsp + 0x48], 0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
add rax, 0x88
mov qword [rsp + 0x80], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x80]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x30], 0
lea rax, [0x180005028]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x38]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x88]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x775a
jne 0x180002deb
mov rcx, qword [rsp + 0x58]
call fcn.180001230
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x38]
dec eax
mov eax, eax
mov rcx, qword [rsp + 0x90]
movzx eax, word [rcx + rax*2]
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x98]
mov eax, dword [rdi + rax*4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x30]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov rcx, rax
call fcn.180002a30
mov ecx, dword [rsp + 0x30]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov qword [rdx + rcx + 8], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x1f4
jne 0x180002deb
jmp 0x180002e00
mov eax, dword [rsp + 0x38]
dec eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jne 0x180002d1f
mov eax, dword [rsp + 0x30]
mov dword [0x180005020], eax
mov dword [rsp + 0x3c], 0
jmp 0x180002e1e
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov eax, dword [0x180005020]
dec eax
cmp dword [rsp + 0x3c], eax
jae 0x180002f92
mov dword [rsp + 0x20], 0
jmp 0x180002e44
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x3c]
mov ecx, dword [0x180005020]
sub ecx, eax
mov eax, ecx
dec eax
cmp dword [rsp + 0x20], eax
jae 0x180002f8d
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
inc ecx
mov ecx, ecx
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov ecx, dword [rdi + rcx + 4]
cmp dword [rdx + rax + 4], ecx
jbe 0x180002f88
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax]
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax + 4]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 0x20]
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov rax, qword [rcx + rax + 8]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov eax, dword [rdi + rax]
mov dword [rdx + rcx], eax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov eax, dword [rdi + rax + 4]
mov dword [rdx + rcx + 4], eax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov ecx, dword [rsp + 0x20]
imul rcx, rcx, 0x10
mov rdx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x28]
mov rax, qword [rdi + rax + 8]
mov qword [rdx + rcx + 8], rax
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x60]
mov dword [rcx + rax], edx
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov edx, dword [rsp + 0x64]
mov dword [rcx + rax + 4], edx
mov eax, dword [rsp + 0x20]
inc eax
mov eax, eax
imul rax, rax, 0x10
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x68]
mov qword [rcx + rax + 8], rdx
jmp 0x180002e3a
jmp 0x180002e14
mov eax, 1
add rsp, 0xc0
pop rdi
ret