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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xa8
mov dword [rsp + 0x58], 0
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 8], 0
jne 0x7ff9b9ce475a
xor r9d, r9d
mov r8, qword [rsp + 0xd0]
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9ce3c80
test eax, eax
jne 0x7ff9b9ce45c3
xor eax, eax
jmp 0x7ff9b9ce4f20
xor r9d, r9d
mov rax, qword [rsp + 0xc8]
mov r8d, dword [rax + 4]
mov rax, qword [rsp + 0xc8]
mov edx, dword [rax]
mov ecx, 4
call fcn.7ff9b9ccf6d0
test eax, eax
jne 0x7ff9b9ce4616
lea rcx, [0x7ff9b9daefd8]
call fcn.7ff9b9ccf580
test eax, eax
je 0x7ff9b9ce4604
mov dword [rsp + 0x38], 0
jmp 0x7ff9b9ce460c
mov dword [rsp + 0x38], 0
movsxd rax, dword [rsp + 0x38]
jmp 0x7ff9b9ce4f20
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rax]
imul eax, dword [rcx + 4]
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0x24]
shl eax, 2
cdqe
mov rcx, rax
call fcn.7ff9b9ccf5b0
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 8], rax
mov eax, dword [rsp + 0x24]
shl eax, 2
cdqe
mov rcx, rax
call fcn.7ff9b9ccf5b0
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x10], rax
movsxd rax, dword [rsp + 0x24]
mov rcx, rax
call fcn.7ff9b9ccf5b0
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x18], rax
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 8], 0
je 0x7ff9b9ce46b0
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x10], 0
je 0x7ff9b9ce46b0
mov rax, qword [rsp + 0xc8]
cmp qword [rax + 0x18], 0
jne 0x7ff9b9ce46dc
lea rcx, [0x7ff9b9daefc8]
call fcn.7ff9b9ccf580
test eax, eax
je 0x7ff9b9ce46ca
mov dword [rsp + 0x3c], 0
jmp 0x7ff9b9ce46d2
mov dword [rsp + 0x3c], 0
movsxd rax, dword [rsp + 0x3c]
jmp 0x7ff9b9ce4f20
mov eax, dword [rsp + 0x24]
shl eax, 2
cdqe
mov qword [rsp + 0x78], rax
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rcx + 8]
xor eax, eax
mov rcx, qword [rsp + 0x78]
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x24]
shl eax, 2
cdqe
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rcx + 0x10]
xor eax, eax
mov rcx, qword [rsp + 0x80]
rep stosb byte [rdi], al
movsxd rax, dword [rsp + 0x24]
mov qword [rsp + 0x88], rax
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rcx + 0x18]
xor eax, eax
mov rcx, qword [rsp + 0x88]
rep stosb byte [rdi], al
mov dword [rsp + 0x58], 1
jmp 0x7ff9b9ce48bb
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x30]
and eax, 0x1c
sar eax, 2
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rax]
imul eax, dword [rcx + 4]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x2c], 3
jne 0x7ff9b9ce47a3
cmp qword [rsp + 0xe0], 0
jne 0x7ff9b9ce47a3
mov dword [rsp + 0x2c], 2
cmp dword [rsp + 0x2c], 3
jne 0x7ff9b9ce4812
mov dword [rsp + 0x20], 0
jmp 0x7ff9b9ce47be
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x7ff9b9ce4810
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x18]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x7ff9b9ce480e
mov eax, dword [rsp + 0x20]
shl eax, 2
cdqe
mov ecx, dword [rsp + 0x20]
shl ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0xc8]
mov rdx, qword [rdx + 8]
mov rdi, qword [rsp + 0xe0]
mov eax, dword [rdi + rax]
mov dword [rdx + rcx], eax
jmp 0x7ff9b9ce47b4
jmp 0x7ff9b9ce4883
cmp dword [rsp + 0x2c], 2
jne 0x7ff9b9ce4883
mov dword [rsp + 0x20], 0
jmp 0x7ff9b9ce482d
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x7ff9b9ce4883
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x18]
movzx eax, byte [rcx + rax]
test eax, eax
je 0x7ff9b9ce4881
mov eax, dword [rsp + 0x20]
shl eax, 2
cdqe
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x10]
mov edx, dword [rsp + 0x20]
shl edx, 2
movsxd rdx, edx
mov rdi, qword [rsp + 0xc8]
mov rdi, qword [rdi + 8]
mov eax, dword [rcx + rax]
mov dword [rdi + rdx], eax
jmp 0x7ff9b9ce4823
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
shl eax, 2
mov rcx, qword [rsp + 0xc8]
imul eax, dword [rcx + 4]
cdqe
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0xc8]
mov rdi, qword [rcx + 0x10]
mov rsi, qword [rdx + 8]
mov rcx, rax
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rax]
imul eax, dword [rcx + 4]
cdqe
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0xc8]
mov rdi, qword [rcx + 0x18]
xor eax, eax
mov rcx, qword [rsp + 0x90]
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x21
je 0x7ff9b9ce4d71
cmp dword [rsp + 0x30], 0x2c
je 0x7ff9b9ce4931
cmp dword [rsp + 0x30], 0x3b
je 0x7ff9b9ce4ee8
jmp 0x7ff9b9ce4ef2
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd05c0
mov dword [rsp + 0x44], eax
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd05c0
mov dword [rsp + 0x48], eax
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd05c0
mov dword [rsp + 0x34], eax
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd05c0
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x34]
mov ecx, dword [rsp + 0x44]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xc8]
cmp eax, dword [rcx]
jg 0x7ff9b9ce49a6
mov eax, dword [rsp + 0x4c]
mov ecx, dword [rsp + 0x48]
add ecx, eax
mov eax, ecx
mov rcx, qword [rsp + 0xc8]
cmp eax, dword [rcx + 4]
jle 0x7ff9b9ce49d2
lea rcx, [0x7ff9b9daefb0]
call fcn.7ff9b9ccf580
test eax, eax
je 0x7ff9b9ce49c0
mov dword [rsp + 0x40], 0
jmp 0x7ff9b9ce49c8
mov dword [rsp + 0x40], 0
movsxd rax, dword [rsp + 0x40]
jmp 0x7ff9b9ce4f20
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax]
shl eax, 2
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8864], eax
mov eax, dword [rsp + 0x44]
shl eax, 2
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x884c], eax
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x48]
imul ecx, dword [rax + 0x8864]
mov eax, ecx
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8850], eax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x884c]
mov ecx, dword [rsp + 0x34]
lea eax, [rax + rcx*4]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8854], eax
mov rax, qword [rsp + 0xc8]
mov ecx, dword [rsp + 0x4c]
imul ecx, dword [rax + 0x8864]
mov eax, ecx
mov rcx, qword [rsp + 0xc8]
add eax, dword [rcx + 0x8850]
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8858], eax
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x884c]
mov dword [rax + 0x885c], ecx
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x8850]
mov dword [rax + 0x8860], ecx
cmp dword [rsp + 0x34], 0
jne 0x7ff9b9ce4ad4
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x8858]
mov dword [rax + 0x8860], ecx
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8848], eax
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x8848]
and eax, 0x40
test eax, eax
je 0x7ff9b9ce4b3a
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x8864]
shl eax, 3
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8844], eax
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x8840], 3
jmp 0x7ff9b9ce4b68
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov ecx, dword [rcx + 0x8864]
mov dword [rax + 0x8844], ecx
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x8840], 0
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x8848]
and eax, 0x80
test eax, eax
je 0x7ff9b9ce4c17
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x30]
and eax, 1
test eax, eax
je 0x7ff9b9ce4ba6
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x2c]
mov dword [rsp + 0x50], eax
jmp 0x7ff9b9ce4bae
mov dword [rsp + 0x50], 0xffffffff
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x8848]
and eax, 7
mov ecx, 2
mov dword [rsp + 0x64], ecx
movzx ecx, al
mov eax, dword [rsp + 0x64]
shl eax, cl
mov rcx, qword [rsp + 0xc8]
add rcx, 0x434
mov r9d, dword [rsp + 0x50]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9ce3b90
mov rax, qword [rsp + 0xc8]
add rax, 0x434
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x8838], rax
jmp 0x7ff9b9ce4c74
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x20]
and eax, 0x80
test eax, eax
je 0x7ff9b9ce4c48
mov rax, qword [rsp + 0xc8]
add rax, 0x34
mov rcx, qword [rsp + 0xc8]
mov qword [rcx + 0x8838], rax
jmp 0x7ff9b9ce4c74
lea rcx, [0x7ff9b9daef98]
call fcn.7ff9b9ccf580
test eax, eax
je 0x7ff9b9ce4c62
mov dword [rsp + 0x54], 0
jmp 0x7ff9b9ce4c6a
mov dword [rsp + 0x54], 0
movsxd rax, dword [rsp + 0x54]
jmp 0x7ff9b9ce4f20
mov rdx, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9ce4100
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x7ff9b9ce4c9d
xor eax, eax
jmp 0x7ff9b9ce4f20
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rax]
imul eax, dword [rcx + 4]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x58], 0
je 0x7ff9b9ce4d67
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x24], 0
jle 0x7ff9b9ce4d67
mov dword [rsp + 0x20], 0
jmp 0x7ff9b9ce4ce8
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x20], eax
jge 0x7ff9b9ce4d67
movsxd rax, dword [rsp + 0x20]
mov rcx, qword [rsp + 0xc8]
mov rcx, qword [rcx + 0x18]
movzx eax, byte [rcx + rax]
test eax, eax
jne 0x7ff9b9ce4d62
mov rax, qword [rsp + 0xc8]
movsxd rax, dword [rax + 0x24]
mov rcx, qword [rsp + 0xc8]
lea rax, [rcx + rax*4 + 0x34]
mov ecx, 1
imul rcx, rcx, 3
mov byte [rax + rcx], 0xff
mov rax, qword [rsp + 0xc8]
movsxd rax, dword [rax + 0x24]
mov ecx, dword [rsp + 0x20]
shl ecx, 2
movsxd rcx, ecx
mov rdx, qword [rsp + 0xc8]
mov rdx, qword [rdx + 8]
mov rdi, qword [rsp + 0xc8]
mov eax, dword [rdi + rax*4 + 0x34]
mov dword [rdx + rcx], eax
jmp 0x7ff9b9ce4cde
mov rax, qword [rsp + 0x70]
jmp 0x7ff9b9ce4f20
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0xf9
jne 0x7ff9b9ce4eb8
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 4
jne 0x7ff9b9ce4ea5
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x30], eax
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd05c0
imul eax, eax, 0xa
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x8868], eax
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x2c], 0
jl 0x7ff9b9ce4e1f
mov rax, qword [rsp + 0xc8]
movsxd rax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xc8]
lea rax, [rcx + rax*4 + 0x34]
mov ecx, 1
imul rcx, rcx, 3
mov byte [rax + rcx], 0xff
mov rax, qword [rsp + 0xc8]
mov eax, dword [rax + 0x30]
and eax, 1
test eax, eax
je 0x7ff9b9ce4e82
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov rcx, qword [rsp + 0xc8]
mov dword [rcx + 0x2c], eax
mov rax, qword [rsp + 0xc8]
cmp dword [rax + 0x2c], 0
jl 0x7ff9b9ce4e80
mov rax, qword [rsp + 0xc8]
movsxd rax, dword [rax + 0x2c]
mov rcx, qword [rsp + 0xc8]
lea rax, [rcx + rax*4 + 0x34]
mov ecx, 1
imul rcx, rcx, 3
mov byte [rax + rcx], 0
jmp 0x7ff9b9ce4ea3
mov edx, 1
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd0300
mov rax, qword [rsp + 0xc8]
mov dword [rax + 0x2c], 0xffffffff
jmp 0x7ff9b9ce4eb8
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd0300
jmp 0x7ff9b9ce4f1b
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd01d0
movzx eax, al
mov dword [rsp + 0x28], eax
cmp dword [rsp + 0x28], 0
je 0x7ff9b9ce4ee6
mov edx, dword [rsp + 0x28]
mov rcx, qword [rsp + 0xc0]
call fcn.7ff9b9cd0300
jmp 0x7ff9b9ce4eb8
jmp 0x7ff9b9ce4f1b
mov rax, qword [rsp + 0xc0]
jmp 0x7ff9b9ce4f20
lea rcx, [0x7ff9b9daf010]
call fcn.7ff9b9ccf580
test eax, eax
je 0x7ff9b9ce4f0c
mov dword [rsp + 0x5c], 0
jmp 0x7ff9b9ce4f14
mov dword [rsp + 0x5c], 0
movsxd rax, dword [rsp + 0x5c]
jmp 0x7ff9b9ce4f20
jmp 0x7ff9b9ce48f3
add rsp, 0xa8
pop rdi
pop rsi
ret