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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x78
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rbp, r9
mov rdi, r8
mov r12, rcx
xor r15d, r15d
mov r14, r15
mov r13, r15
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x40], r15
mov rax, qword [r8]
lea r8, [rsp + 0x40]
lea rdx, [0x100ef4c8]
mov rcx, rdi
call qword [rax]
mov ebx, eax
cmp eax, r15d
je 0x10097923
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x1009791c
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov eax, ebx
jmp 0x100983af
cmp qword [rsp + 0x40], r15
je 0x1009799f
mov ecx, 0x28
call fcn.10002fd0
mov r13, rax
cmp rax, r15
je 0x10097951
mov dword [rax + 8], r15d
lea rax, [0x100fc970]
mov qword [r13], rax
mov qword [r13 + 0x10], r15
jmp 0x10097954
mov r13, r15
cmp r13, r15
je 0x10097963
mov rax, qword [r13]
mov rcx, r13
call qword [rax + VariantCopy]
mov rsi, r13
mov qword [rsp + 0x50], r13
mov rbx, qword [rsp + 0x40]
cmp rbx, r15
je 0x1009797e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + VariantCopy]
mov rcx, qword [r13 + 0x10]
cmp rcx, r15
je 0x1009798d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r13 + 0x10], rbx
mov qword [r13 + 0x18], r15
mov dword [r13 + 0x20], 0xffffffff
jmp 0x10097a0a
mov ecx, 0x28
call fcn.10002fd0
mov r14, rax
cmp rax, r15
je 0x100979c5
mov dword [rax + 8], r15d
lea rax, [0x100f1f40]
mov qword [r14], rax
mov qword [r14 + 0x10], r15
jmp 0x100979c8
mov r14, r15
cmp r14, r15
je 0x100979d6
mov rax, qword [r14]
mov rcx, r14
call qword [rax + VariantCopy]
mov rsi, r14
mov qword [rsp + 0x50], r14
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [r14 + 0x10]
cmp rcx, r15
je 0x100979f6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], r15
mov byte [r14 + 0x24], r15b
mov dword [r14 + 0x20], 0xffffffff
mov rcx, qword [rsp + 0x40]
cmp rcx, r15
je 0x10097a1a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, dword [r12 + 0x3c]
cmp eax, 1
jg 0x10097a2b
cmp byte [r12 + 0x50], r15b
je 0x10097a46
cmp r13, r15
jne 0x10097a46
cmp byte [r12 + 0x50], r15b
je 0x10097a41
mov ebp, 0x80004001
jmp 0x100983a4
mov eax, 1
mov dil, r15b
mov rbx, r15
mov qword [rsp + 0x58], r15
mov r15, qword [rsp + 0xe8]
mov byte [r15 + 0x16], 0xa
mov qword [rsp + 0x48], 0
cdqe
mov qword [rsp + 0x60], rax
test rax, rax
jle 0x10098321
mov byte [r15 + 0x16], 0xa
test r13, r13
je 0x10097a9d
mov rax, qword [r13]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [rax + 0x20]
mov ebp, eax
test eax, eax
jne 0x1009818b
mov rdi, qword [rsp + 0xd8]
mov rax, qword [rdi]
xor edx, edx
mov rcx, rdi
call qword [rax + 0x28]
mov ebp, eax
test eax, eax
jne 0x100981a0
mov rax, qword [rdi]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [rax + 0x20]
mov ebp, eax
test eax, eax
jne 0x100981b5
cmp byte [r12 + 0x50], bpl
je 0x10097d7a
mov byte [r15 + 0x16], 0x14
cmp qword [r12 + 0xa0], rbp
jne 0x10097b57
mov ecx, 0xd8
call fcn.10002fd0
mov qword [rsp + 0x38], rax
cmp rax, rbp
je 0x10097b0d
mov rcx, rax
call fcn.10007940
jmp 0x10097b10
mov rax, rbp
mov qword [r12 + 0x98], rax
cmp rax, rbp
je 0x10097b23
lea rdi, [rax + 0x20]
jmp 0x10097b26
mov rdi, rbp
cmp rdi, rbp
je 0x10097b34
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [r12 + 0xa0]
cmp rcx, rbp
je 0x10097b47
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12 + 0xa0], rdi
mov rdi, qword [rsp + 0xd8]
cmp byte [r12 + 0x29], bpl
je 0x10097c52
mov byte [r15 + 0x16], 0x33
mov rax, qword [r12 + 0x98]
cmp qword [rax + 0xd0], rbp
jne 0x10097c33
mov ecx, 0x250
call fcn.10002fd0
mov rdi, rax
mov qword [rsp + 0x38], rax
cmp rax, rbp
je 0x10097bb2
mov rcx, rax
call fcn.100974e8
lea r11, [0x100fca60]
mov qword [rdi], r11
lea rax, [0x100fca88]
mov qword [rdi + 8], rax
jmp 0x10097bb5
mov rdi, rbp
mov qword [r12 + 0xb0], rdi
mov rbp, qword [r12 + 0x98]
test rdi, rdi
je 0x10097bd3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x10097be5
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0xd0], rdi
mov rdx, qword [r12 + 0xb0]
movzx ecx, byte [r12 + 0x2a]
lea eax, [rcx - 1]
cmp eax, 2
ja 0x10097c05
mov dword [rdx + 0x18], ecx
mov rcx, qword [r12 + 0xb0]
add rcx, 8
mov rax, qword [rcx]
mov r8d, dword [r12 + 0x60]
mov rdx, qword [r12 + 0x58]
call qword [rax + 0x18]
mov ebp, eax
test eax, eax
jne 0x100981ca
mov rdi, qword [rsp + 0xd8]
mov rdx, rdi
mov rcx, qword [r12 + 0xb0]
call fcn.100d14d0
mov ebp, eax
test eax, eax
jne 0x100981df
jmp 0x10097d4e
mov rax, qword [r12 + 0x98]
cmp qword [rax + 0xd0], rbp
jne 0x10097ceb
mov ecx, 0x30
call fcn.10002fd0
mov rdi, rax
cmp rax, rbp
je 0x10097c93
mov dword [rax + 0x10], ebp
lea rax, [0x100fcaa8]
mov qword [rdi], rax
lea rax, [0x100fd0e8]
mov qword [rdi + 8], rax
jmp 0x10097c96
mov rdi, rbp
mov qword [r12 + 0xa8], rdi
mov rbp, qword [r12 + 0x98]
test rdi, rdi
je 0x10097cb4
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x10097cc6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbp + 0xd0], rdi
mov rcx, qword [r12 + 0xa8]
add rcx, 8
mov rax, qword [rcx]
mov r8d, dword [r12 + 0x60]
mov rdx, qword [r12 + 0x58]
call qword [rax + 0x18]
xor ebp, ebp
mov dword [rsp + 0x38], ebp
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
call fcn.10097400
mov ebp, eax
test eax, eax
jne 0x100981f4
mov rax, qword [r13]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r13
call qword [rax + 0x20]
mov ebp, eax
test eax, eax
jne 0x10098209
mov r8d, dword [rsp + 0x38]
mov rdi, qword [rsp + 0xd8]
mov rdx, rdi
mov rcx, qword [r12 + 0xa8]
call fcn.100d1c00
mov ebp, eax
test eax, eax
jne 0x1009821e
mov rcx, qword [r12 + 0x98]
add rcx, 0x18
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x18]
mov ebp, eax
test eax, eax
jne 0x10098233
mov rbx, qword [r12 + 0x98]
mov qword [rsp + 0x58], rbx
mov rax, qword [r12 + 0x40]
mov rcx, qword [rsp + 0x48]
mov cl, byte [rcx + rax]
mov byte [rsp + 0x30], cl
cmp cl, bpl
je 0x10097fd5
cmp qword [r12 + 0x88], rbp
jne 0x10097f2c
cmp cl, 0xe
jne 0x10097e11
mov byte [r12 + 0x90], 0x3f
mov ecx, 0x38
call fcn.10002fd0
mov rdi, rax
cmp rax, rbp
je 0x10097de0
mov dword [rax + 0x10], ebp
lea rax, [0x100fc9b8]
mov qword [rdi], rax
lea rax, [0x100fc998]
mov qword [rdi + 8], rax
mov qword [rdi + 0x20], rbp
jmp 0x10097de3
mov rdi, rbp
cmp rdi, rbp
je 0x10097df1
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [r12 + 0x88]
cmp rcx, rbp
je 0x10097e04
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12 + 0x88], rdi
jmp 0x10097ecd
cmp cl, 0x62
jne 0x10097e6e
mov byte [r12 + 0x90], 0x3f
mov ecx, 0x1d50
call fcn.10002fd0
mov qword [rsp + 0x38], rax
cmp rax, rbp
je 0x10097e40
mov rcx, rax
call fcn.100bf380
mov rdi, rax
jmp 0x10097e43
mov rdi, rbp
cmp rdi, rbp
je 0x10097e51
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [r12 + 0x88]
cmp rcx, rbp
je 0x10097e64
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12 + 0x88], rdi
jmp 0x10097ecd
cmp cl, 0xc
je 0x10097e8f
cmp cl, 9
sete al
add al, 0x14
mov byte [r12 + 0x90], al
movzx edx, cl
add rdx, 0x40100
jmp 0x10097e9d
mov edx, 0x40202
mov byte [r12 + 0x90], 0x2e
mov r9b, 1
lea r8, [r12 + 0x88]
mov rcx, qword [rsp + 0xc8]
call fcn.10005cac
mov ebp, eax
test eax, eax
jne 0x10098248
cmp qword [r12 + 0x88], rbp
je 0x1009825d
mov qword [rsp + 0x38], rbp
mov rcx, qword [r12 + 0x88]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x100ef458]
call qword [rax]
mov rcx, qword [rsp + 0x38]
cmp rcx, rbp
je 0x10097f21
mov al, byte [r12 + 0x70]
lea rdx, [r12 + 0x68]
neg al
sbb r8, r8
and r8, rdx
mov rdx, rcx
mov rcx, r12
call fcn.10008c8c
mov edi, eax
cmp eax, ebp
jne 0x10098277
mov rcx, qword [rsp + 0x38]
cmp rcx, rbp
je 0x10097f2c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], rbp
cmp byte [r12 + 0x50], bpl
je 0x10097f55
mov rdi, qword [r12 + 0xa0]
cmp rdi, rbp
je 0x10097f4e
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov qword [rsp + 0x38], rdi
jmp 0x10097f6b
mov rdi, qword [rsp + 0xd8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov qword [rsp + 0x38], rdi
mov al, byte [r12 + 0x90]
mov rcx, qword [rsp + 0xe8]
cmp al, byte [rcx + 0x16]
jbe 0x10097f83
mov byte [rcx + 0x16], al
mov rcx, qword [r12 + 0x88]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
call qword [rax + 0x18]
mov ebp, eax
test eax, eax
jne 0x100982a8
test rdi, rdi
je 0x100980c3
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
mov r15, qword [rsp + 0xe8]
jmp 0x100980cb
cmp qword [r12 + 0x78], rbp
jne 0x10098041
mov ecx, 0x28
call fcn.10002fd0
mov rdi, rax
cmp rax, rbp
je 0x10098010
mov dword [rax + 0x10], ebp
lea rax, [0x100ef698]
mov qword [rdi], rax
lea rax, [0x100ef678]
mov qword [rdi + 8], rax
mov qword [rdi + 0x18], rbp
mov qword [rdi + 0x20], rbp
jmp 0x10098013
mov rdi, rbp
mov qword [r12 + 0x78], rdi
cmp rdi, rbp
je 0x10098026
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov rcx, qword [r12 + 0x80]
cmp rcx, rbp
je 0x10098039
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [r12 + 0x80], rdi
mov qword [rsp + 0x38], rbp
cmp byte [r12 + 0x50], bpl
je 0x1009806a
mov rdi, qword [r12 + 0xa0]
cmp rdi, rbp
je 0x10098063
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov qword [rsp + 0x38], rdi
jmp 0x10098080
mov rdi, qword [rsp + 0xd8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + VariantCopy]
mov qword [rsp + 0x38], rdi
mov rcx, qword [r12 + 0x80]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0xe0]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbp
xor r9d, r9d
mov r8, rdi
mov rdx, rsi
call qword [rax + 0x18]
mov ebp, eax
test eax, eax
jne 0x100982cc
test rdi, rdi
je 0x100980cb
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
jmp 0x100980cb
mov r15, qword [rsp + 0xe8]
lea rdi, [r15 + 8]
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
mov r9, rdi
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x20]
mov ebp, eax
test eax, eax
jne 0x100982f0
test r13, r13
je 0x10098108
mov eax, dword [r13 + 0x20]
not eax
mov dword [r15 + 0x10], eax
mov rax, qword [r13 + 0x18]
mov qword [r15], rax
jmp 0x10098119
mov eax, dword [r14 + 0x20]
not eax
mov dword [r15 + 0x10], eax
mov rax, qword [r14 + 0x18]
mov qword [r15], rax
cmp byte [r12 + 0x50], 0
je 0x10098155
cmp byte [r12 + 0x29], 0
je 0x10098140
mov rax, qword [r12 + 0xb0]
mov ecx, dword [rax + 0x18]
and ecx, 3
lea ecx, [rcx*4 + 6]
jmp 0x10098145
mov ecx, 0xc
mov eax, ecx
add rax, qword [r15]
cmp qword [rdi], rax
jb 0x10098314
jmp 0x10098161
mov rax, qword [r15]
cmp qword [rdi], rax
jb 0x10098305
mov rcx, qword [rsp + 0x48]
inc rcx
mov qword [rsp + 0x48], rcx
cmp rcx, qword [rsp + 0x60]
jl 0x10097a77
mov dil, byte [rsp + 0x30]
mov rbp, qword [rsp + 0xd8]
jmp 0x10098321
test rbx, rbx
je 0x1009819b
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x100981b0
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x100981c5
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x100981da
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x100981ef
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x10098204
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x10098219
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x1009822e
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x10098243
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x10098258
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
cmp rbx, rbp
je 0x1009826d
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
mov ebp, 0x80004001
jmp 0x100983a4
mov rcx, qword [rsp + 0x38]
cmp rcx, rbp
je 0x10098288
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
cmp rbx, rbp
je 0x10098298
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov eax, edi
jmp 0x100983af
test rdi, rdi
je 0x100982b7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
test rbx, rbx
je 0x100982c7
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rdi, rdi
je 0x100982db
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
test rbx, rbx
je 0x100982eb
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
test rbx, rbx
je 0x10098300
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
mov dil, byte [rsp + 0x30]
mov rbp, qword [rsp + 0xd8]
jmp 0x10098321
mov dil, byte [rsp + 0x30]
mov rbp, qword [rsp + 0xd8]
cmp byte [r12 + 0x50], 0
je 0x10098389
cmp byte [r12 + 0x29], 0
je 0x10098389
mov rdx, rbp
mov rcx, qword [r12 + 0xb0]
call fcn.100d1560
mov ebp, eax
test eax, eax
je 0x10098359
test rbx, rbx
je 0x10098357
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
mov rcx, qword [rsp + 0xd8]
mov rax, qword [rcx]
lea r9, [r15 + 8]
xor edx, edx
lea r8d, [rdx + 1]
call qword [rax + 0x20]
mov ebp, eax
test eax, eax
je 0x10098389
test rbx, rbx
je 0x10098387
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
jmp 0x100983a4
movzx eax, dil
mov word [r15 + 0x14], ax
test rbx, rbx
je 0x100983a2
lea rcx, [rbx + 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
nop
xor ebp, ebp
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov eax, ebp
add rsp, 0x78
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret