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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x88
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x1f8]
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x58]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x54]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x1a8]
mov dword [rsp + 0x5c], eax
mov rax, qword [rsp + 0xa8]
mov eax, dword [rax + 0x60]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jne 0x1802589e7
mov dword [rsp + 0x4c], 1
mov eax, dword [rsp + 0x58]
mov ecx, dword [rsp + 0x3c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax + 0x34]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0xa0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
movsxd rax, dword [rax + 0x38]
imul rax, rax, 0x18
mov rcx, qword [rsp + 0xa0]
add rax, qword [rcx + 8]
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0xa0]
call fcn.18025a990
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0x23]
test eax, eax
je 0x180258a72
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0x24]
test eax, eax
je 0x180258a72
mov byte [rsp + 0x34], 1
jmp 0x180258a77
mov byte [rsp + 0x34], 0
movzx eax, byte [rsp + 0x34]
and eax, 1
shl eax, 7
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x9c]
btr ecx, 7
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 0x9c], eax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0x200]
test eax, eax
je 0x180258ac8
cmp dword [rsp + 0x3c], 0xa
jge 0x180258ac8
mov dword [rsp + 0x3c], 0xa
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rdi, qword [rsp + 0x40]
xor eax, eax
mov rcx, qword [rsp + 0x68]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x40]
and rax, 7
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0xa0]
mov eax, dword [rax + 0x9c]
and eax, 0xffffffdf
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 0x9c], eax
mov dword [rsp + 0x38], 0
movsxd rax, dword [rsp + 0x3c]
imul rax, rax, 0x38
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x10]
call fcn.180258fc0
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
movsxd rax, dword [rsp + 0x48]
imul rax, rax, 0x38
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x78]
call fcn.180258fc0
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x78], rax
movsxd rax, dword [rsp + 0x5c]
shl rax, 3
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x18]
call fcn.180258fc0
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x18], rax
movsxd rax, dword [rsp + 0x48]
shl rax, 3
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x80]
call fcn.180258fc0
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x80], rax
movsxd rax, dword [rsp + 0x58]
shl rax, 3
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, eax
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x70]
call fcn.180258fc0
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x70], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
lea r8, [rsp + 0x40]
mov edx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rax + 0x128]
call fcn.180258fc0
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x128], rax
cmp dword [rsp + 0x38], 0
je 0x180258cbc
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1802875b8
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0xf8], rax
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0xf8]
mov qword [rsp + 0x40], rax
movsxd rax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp dword [rsp + 0x38], 0
je 0x180258cfd
mov rax, qword [rsp + 0x60]
movzx eax, byte [rax + 0x50]
test eax, eax
je 0x180258b23
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x58]
mov dword [rax + 0x4c], ecx
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x4c]
mov dword [rax + 0x120], ecx
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x78], 0
je 0x180258d9e
mov rax, qword [rsp + 0xa0]
movzx ecx, word [rsp + 0x48]
mov word [rax + 0x88], cx
mov dword [rsp + 0x30], 0
jmp 0x180258d55
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x30], eax
jge 0x180258d9e
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x78]
mov edx, 1
mov word [rcx + rax + 0x24], dx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x78]
mov rdx, qword [rsp + 0x60]
mov qword [rcx + rax], rdx
jmp 0x180258d4b
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x80], 0
je 0x180258e39
mov rax, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0xa8]
movzx ecx, word [rcx + 0x1fc]
mov word [rax + 0x8a], cx
mov rax, qword [rsp + 0xa0]
movsx rax, word [rax + 0x8a]
shl rax, 3
mov rcx, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rdi, qword [rcx + 0x80]
mov rsi, qword [rdx + 0x218]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xa8]
movsxd rax, dword [rax + 0x1fc]
shl rax, 3
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0xa8]
mov rdi, qword [rcx + 0x218]
xor eax, eax
mov rcx, qword [rsp + 0x70]
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa0]
cmp qword [rax + 0x10], 0
je 0x180258ed4
mov rax, qword [rsp + 0xa0]
mov rax, qword [rax + 0x10]
sub rax, 0x38
mov rcx, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
mov rax, qword [rsp + 0xa0]
mov ecx, dword [rsp + 0x3c]
mov dword [rax + 0x30], ecx
mov dword [rsp + 0x30], 1
jmp 0x180258e8b
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x3c]
cmp dword [rsp + 0x30], eax
jg 0x180258ed4
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x10]
mov edx, 0x80
mov word [rcx + rax + 0x24], dx
movsxd rax, dword [rsp + 0x30]
imul rax, rax, 0x38
mov rcx, qword [rsp + 0xa0]
mov rcx, qword [rcx + 0x10]
mov rdx, qword [rsp + 0x60]
mov qword [rcx + rax], rdx
jmp 0x180258e81
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax + 0x200]
and eax, 3
mov rcx, qword [rsp + 0xa0]
mov ecx, dword [rcx + 0x9c]
and ecx, 0xfffffffc
or ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xa0]
mov dword [rcx + 0x9c], eax
mov rcx, qword [rsp + 0xa0]
call fcn.180258f28
add rsp, 0x88
pop rdi
pop rsi
ret