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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x40
mov r12d, dword [rdx + 0xc]
xor ebp, ebp
mov r15, r9
mov rbx, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x90], r12d
lea r13d, [rbp + 1]
cmp qword [r8], rbp
jne 0x180090531
lea ecx, [rbp + 0x20]
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x18009050f
mov dword [rax], ebp
mov dword [rax + 4], ebp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], ebp
jmp 0x180090512
mov rax, rbp
mov qword [rbx], rax
test rax, rax
jne 0x180090521
mov edx, 0x8007000e
jmp 0x180090556
cmp dword [rbx + 0x18], ebp
je 0x18009052a
mov dword [rax + 0x18], r13d
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rbx + 8]
lea rdx, [rsp + 0x90]
mov r8d, 4
call fcn.180243d5c
mov edx, eax
test eax, eax
js 0x180090556
add dword [rbx + 0x10], 4
test edx, edx
js 0x180090841
mov qword [rsp + 0x98], r14
mov r14d, ebp
test r12d, r12d
je 0x180090839
mov r13, rbp
nop word [rax + rax]
mov rax, qword [rsi]
lea r9, [rsp + 0x3c]
mov r8, r15
mov r12, qword [r13 + rax]
mov rcx, rdi
mov rdx, qword [r12 + 0x40]
call fcn.18008e810
mov edx, eax
test eax, eax
js 0x180090839
mov rdx, qword [r12 + 0x30]
test rdx, rdx
jne 0x1800905b7
mov dword [rsp + 0x38], ebp
jmp 0x1800905d1
lea r9, [rsp + 0x38]
mov r8, r15
mov rcx, rdi
call fcn.18008e260
mov edx, eax
test eax, eax
js 0x180090839
cmp qword [rbx], 0
jne 0x18009061f
mov ecx, 0x20
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x1800905f8
mov dword [rax], ebp
mov dword [rax + 4], ebp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], ebp
jmp 0x1800905fb
mov rax, rbp
mov qword [rbx], rax
test rax, rax
jne 0x18009060a
mov edx, 0x8007000e
jmp 0x180090641
cmp dword [rbx + 0x18], 0
je 0x180090618
mov ecx, 1
mov dword [rax + 0x18], ecx
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rbx + 8]
lea rdx, [rsp + 0x38]
mov r8d, 8
call fcn.180243d5c
mov edx, eax
test eax, eax
js 0x180090641
add dword [rbx + 0x10], 8
test edx, edx
js 0x180090839
mov rax, qword [rsi]
mov rcx, qword [r13 + rax]
mov rax, qword [rcx + 0x40]
mov ecx, dword [rax]
cmp ecx, 1
je 0x180090775
cmp ecx, 3
je 0x180090775
mov rax, qword [r12 + 0x40]
mov ebp, dword [rax + 4]
mov eax, 1
cmp ebp, 1
cmovb ebp, eax
xor esi, esi
test ebp, ebp
je 0x18009081d
xor edi, edi
nop dword [rax + rax]
mov rax, qword [r12 + 0x20]
mov rdx, qword [rdi + rax + 0x78]
test rdx, rdx
jne 0x1800906aa
xor eax, eax
mov dword [rsp + 0x90], eax
jmp 0x1800906d3
mov rcx, qword [rsp + 0x80]
lea r9, [rsp + 0x90]
mov r8, r15
call fcn.18008e260
mov edx, eax
test eax, eax
js 0x180090839
mov eax, dword [rsp + 0x90]
cmp qword [rbx], 0
mov dword [rsp + 0x28], eax
jne 0x180090726
mov ecx, 0x20
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x180090700
xor ecx, ecx
mov dword [rax], ecx
mov dword [rax + 4], ecx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov dword [rax + 0x18], ecx
jmp 0x180090702
xor eax, eax
mov qword [rbx], rax
test rax, rax
jne 0x180090711
mov edx, 0x8007000e
jmp 0x180090748
cmp dword [rbx + 0x18], 0
je 0x18009071f
mov ecx, 1
mov dword [rax + 0x18], ecx
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rbx + 8]
lea rdx, [rsp + 0x28]
mov r8d, 4
call fcn.180243d5c
mov edx, eax
test eax, eax
js 0x180090748
add dword [rbx + 0x10], 4
test edx, edx
js 0x180090839
inc esi
sub rdi, 0xffffffffffffff80
cmp esi, ebp
jb 0x180090690
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x88]
xor ebp, ebp
jmp 0x180090827
cmp dword [r12 + 0x1c], 0
jne 0x180090785
mov eax, ebp
mov dword [rsp + 0x20], eax
jmp 0x1800907a3
lea r8, [rsp + 0x20]
mov rdx, r15
mov rcx, r12
call fcn.18008f590
mov edx, eax
test eax, eax
js 0x180090839
mov eax, dword [rsp + 0x20]
cmp qword [rbx], 0
mov dword [rsp + 0x28], eax
jne 0x1800907f5
mov ecx, 0x20
call sub.msvcrt.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__
test rax, rax
je 0x1800907ce
mov dword [rax], ebp
mov dword [rax + 4], ebp
mov qword [rax + 8], rbp
mov qword [rax + 0x10], rbp
mov dword [rax + 0x18], ebp
jmp 0x1800907d1
mov rax, rbp
mov qword [rbx], rax
test rax, rax
jne 0x1800907e0
mov edx, 0x8007000e
jmp 0x180090817
cmp dword [rbx + 0x18], 0
je 0x1800907ee
mov ecx, 1
mov dword [rax + 0x18], ecx
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov rcx, qword [rbx + 8]
lea r9, [rbx + 8]
lea rdx, [rsp + 0x28]
mov r8d, 4
call fcn.180243d5c
mov edx, eax
test eax, eax
js 0x180090817
add dword [rbx + 0x10], 4
test edx, edx
js 0x180090839
jmp 0x180090827
mov rsi, qword [rsp + 0x88]
xor ebp, ebp
inc r14d
add r13, 8
cmp r14d, dword [rsp + 0x30]
jb 0x180090580
mov r14, qword [rsp + 0x98]
mov eax, edx
add rsp, 0x40
pop r15
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret