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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov qword [rsp + 0xd0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rax, qword [0x100151198]
xor rax, rsp
mov qword [rsp + 0xe8], rax
mov rbp, r8
mov qword [rsp + 0x58], r8
mov rsi, rcx
mov qword [rsp + 0x88], rcx
lea rdx, [0x100152eb8]
mov eax, 5
mov rcx, qword [0x100152eb8]
cmp rcx, rdx
je 0x1000888b1
test byte [rcx + 0x1c], 1
je 0x1000888b1
cmp byte [rcx + 0x19], al
jb 0x1000888b1
mov rax, qword [r8]
mov edx, 0x36
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [0x10001e3b0]
mov rcx, qword [rcx + 0x10]
call fcn.100087108
xor r14d, r14d
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x90], r14
mov dword [rsp + 0x44], r14d
mov bl, r14b
mov byte [rsp + 0x40], bl
mov dword [rsp + 0x70], r14d
lea rdx, [rsp + 0x90]
mov rcx, qword [0x100157688]
call fcn.10003dfe8
mov r13d, eax
lea r12d, [r14 + 2]
mov rdi, qword [rsp + 0x90]
cmp eax, r14d
jl 0x100088d1e
lea rcx, [rsi + 0x50]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [rsp + 0x70], 1
lea r14, [rsi + 0x1e8]
mov qword [rsp + 0xb0], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0xb8], 1
lea r15, [rsi + 0x1a0]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x80]
mov rdx, qword [rbp]
mov rcx, r15
call fcn.10006992c
test rax, rax
je 0x100088c9b
mov rbp, qword [rax + 8]
and qword [rsp + 0x68], 0
and dword [rsp + 0x50], 0
mov rcx, qword [rbp]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [rax + 0x38]
mov ebx, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x1000889f2
test byte [r10 + 0x1c], 4
je 0x1000889f9
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test ebx, ebx
lea esi, [r12 + 3]
cmovns ecx, esi
cmp edx, ecx
jl 0x1000889fe
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
lea edx, [rsi + 0x32]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10004fd10
jmp 0x1000889fe
mov esi, 5
jmp 0x1000889fe
mov esi, 5
test ebx, ebx
js 0x100088c64
movdqu xmm0, xmmword [rbp + 8]
movdqu xmmword [rsp + 0xa0], xmm0
mov rax, qword [rdi]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0xa0]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x50]
mov r8, qword [rsp + 0x68]
mov edx, 1
mov rcx, rdi
call qword [rax + 0x40]
mov ebx, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100088a88
test byte [r10 + 0x1c], 4
je 0x100088a88
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test ebx, ebx
cmovns ecx, esi
cmp edx, ecx
jl 0x100088a88
mov edx, 0x38
mov r9d, ebx
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.100036328
test ebx, ebx
js 0x100088c5e
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x100088c58
and qword [rsp + 0x60], 0
mov rax, qword [0x100158a20]
test rax, rax
jne 0x100088ab9
xor ebx, ebx
mov qword [rsp + 0x78], rbx
jmp 0x100088adf
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x78], rax
test rax, rax
jne 0x100088ada
mov ecx, 0x8007000e
call fcn.100036264
int3
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov rdx, rbx
call qword [rax + 0x40]
mov esi, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100088b3f
test byte [r10 + 0x1c], 4
je 0x100088b3f
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test esi, esi
mov eax, 5
cmovns ecx, eax
cmp edx, ecx
jl 0x100088b3f
lea edx, [rax + 0x34]
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
test esi, esi
js 0x100088c45
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
or r9d, 0xffffffff
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], rax
mov r8, qword [rsp + 0x60]
lea edx, [r9 + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r12d
jne 0x100088c39
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x44]
call qword [rax + 0x58]
mov esi, eax
mov r10, qword [0x100152eb8]
lea rcx, [0x100152eb8]
cmp r10, rcx
je 0x100088bed
test byte [r10 + 0x1c], 4
je 0x100088bf4
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
test eax, eax
mov eax, 5
cmovns ecx, eax
cmp edx, ecx
jl 0x100088bfb
lea edx, [rax + 0x36]
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10003b338
mov r10, qword [0x100152eb8]
mov eax, 5
lea rcx, [0x100152eb8]
jmp 0x100088c02
mov eax, 5
jmp 0x100088c02
mov eax, 5
jmp 0x100088c02
lea rcx, [0x100152eb8]
test esi, esi
jne 0x100088c39
cmp dword [rsp + 0x44], 1
jne 0x100088c39
xor r13d, r13d
cmp r10, rcx
je 0x100088c34
test byte [r10 + 0x1c], r12b
je 0x100088c34
cmp byte [r10 + 0x19], al
jb 0x100088c34
lea edx, [rsi + 0x3c]
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.100034764
mov byte [rsp + 0x40], 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov bl, byte [rsp + 0x40]
test bl, bl
jne 0x100088c96
jmp 0x100088c68
mov bl, byte [rsp + 0x40]
jmp 0x100088c68
mov bl, byte [rsp + 0x40]
jmp 0x100088c68
mov bl, byte [rsp + 0x40]
mov rax, qword [rsp + 0x58]
mov rdx, qword [rax]
mov rcx, r15
call fcn.10008b930
mov rcx, qword [rbp]
test rcx, rcx
je 0x100088c87
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rbp
call fcn.10011b7a0
mov rbp, qword [rsp + 0x58]
jmp 0x100088c9b
mov rbp, qword [rsp + 0x58]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r14d, r14d
cmp r13d, r14d
jl 0x100088d1e
cmp bl, r14b
jne 0x100088d1e
mov rax, qword [rdi]
lea r8, [rsp + 0x48]
lea edx, [r14 + 1]
mov rcx, rdi
call qword [rax + 0x30]
mov r13d, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100088d34
test byte [r10 + 0x1c], 4
je 0x100088d3c
movzx ecx, byte [r10 + 0x19]
mov eax, r12d
cmp r13d, r14d
lea r15d, [r14 + 5]
cmovge eax, r15d
cmp ecx, eax
jl 0x100088d44
lea edx, [r14 + 0x3d]
mov r9d, r13d
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.100036328
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
jmp 0x100088d4b
mov r10, qword [0x100152eb8]
mov r15d, 5
lea rax, [0x100152eb8]
jmp 0x100088d4b
mov r15d, 5
jmp 0x100088d4b
mov r15d, 5
jmp 0x100088d4b
lea rax, [0x100152eb8]
cmp r13d, r14d
jne 0x100089231
cmp bl, r14b
jne 0x100089231
cmp r10, rax
je 0x100088d88
test byte [r10 + 0x1c], r12b
je 0x100088d88
cmp byte [r10 + 0x19], r15b
jb 0x100088d88
mov edx, 0x3e
mov r9, qword [rsp + 0x48]
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.100034814
mov rcx, qword [rsp + 0x48]
cmp rcx, r14
je 0x100088f0c
mov qword [rsp + 0x68], r14
mov rax, qword [0x100158a20]
cmp rax, r14
jne 0x100088db4
mov rbx, r14
mov qword [rsp + 0xa0], rbx
jmp 0x100088dd6
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0xa0], rax
cmp rax, r14
je 0x10008921f
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
mov rdx, rbx
call qword [rax + 0x40]
mov esi, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100088e35
test byte [r10 + 0x1c], 4
je 0x100088e35
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
cmp esi, r14d
cmovge ecx, r15d
cmp edx, ecx
jl 0x100088e35
mov edx, 0x3f
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
cmp esi, r14d
jl 0x100088ee9
mov rax, qword [rbp]
or ecx, 0xffffffff
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov r9d, ecx
mov r8, qword [rsp + 0x68]
lea edx, [rcx + 2]
lea ecx, [rdx + 0x7e]
call qword [sym.imp.KERNEL32.dll_CompareStringW]
cmp eax, r12d
jne 0x100088ed7
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x44]
call qword [rax + 0x58]
mov esi, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100088ec6
test byte [r10 + 0x1c], 4
je 0x100088ec6
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
cmp esi, r14d
cmovge ecx, r15d
cmp edx, ecx
jl 0x100088ec6
mov edx, 0x41
mov eax, dword [rsp + 0x44]
mov dword [rsp + 0x20], eax
mov r9d, esi
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10003b338
cmp esi, r14d
jne 0x100088ed7
mov r13d, r14d
cmp dword [rsp + 0x44], r14d
sete r13b
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [rsp + 0x44], r14d
jne 0x100088f39
mov rcx, qword [rsp + 0x48]
cmp rcx, r14
je 0x100088eff
mov qword [rsp + 0x48], r14
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov bl, byte [rsp + 0x40]
mov rax, qword [rdi]
lea rdx, [rsp + 0x48]
mov rcx, rdi
call qword [rax + 0x38]
mov r13d, eax
cmp eax, r14d
jne 0x10008922a
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
jmp 0x100088d54
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x100088f71
test byte [rcx + 0x1c], r12b
je 0x100088f71
cmp byte [rcx + 0x19], r15b
jb 0x100088f71
mov edx, 0x42
mov r9, qword [rbp]
lea r8, [0x10001e3b0]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov qword [rsp + 0x60], r14
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + 0x20]
mov esi, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100088fd5
test byte [r10 + 0x1c], r12b
je 0x100088fd5
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
cmp esi, r14d
cmovge ecx, r15d
cmp edx, ecx
jl 0x100088fd5
mov rax, qword [rbp]
mov edx, 0x43
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
cmp esi, r14d
jl 0x1000891fc
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0xd8]
call qword [rax + 0x18]
mov esi, eax
mov r10, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp r10, rax
je 0x100089040
test byte [r10 + 0x1c], r12b
je 0x100089040
movzx edx, byte [r10 + 0x19]
mov ecx, r12d
cmp esi, r14d
cmovge ecx, r15d
cmp edx, ecx
jl 0x100089040
mov rax, qword [rbp]
mov edx, 0x44
mov qword [rsp + 0x20], rax
mov r9d, esi
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.10003b984
cmp esi, r14d
jl 0x1000891fc
mov ecx, 0x18
call fcn.10011b824
mov rsi, rax
cmp rax, r14
je 0x100089065
mov qword [rax], r14
mov qword [rsp + 0x78], rax
jmp 0x10008906d
mov rsi, r14
mov qword [rsp + 0x78], r14
cmp rsi, r14
je 0x1000891b8
mov rbp, qword [rsp + 0x60]
cmp qword [rsi], rbp
je 0x1000890a5
cmp rbp, r14
je 0x10008908f
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 8]
mov rcx, qword [rsi]
cmp rcx, r14
je 0x10008909d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsi], rbp
mov rbp, qword [rsp + 0x60]
cmp rbp, r14
je 0x1000890b9
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x10]
mov qword [rsp + 0x60], r14
movdqu xmm0, xmmword [rsp + 0xd8]
movdqu xmmword [rsi + 8], xmm0
mov rbp, qword [rsp + 0x88]
lea r14, [rbp + 0x1e8]
mov qword [rsp + 0xc0], r14
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0xc8], 1
add rbp, 0x1a0
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x50]
mov r15, qword [rsp + 0x58]
mov rdx, qword [r15]
mov rcx, rbp
call fcn.10006992c
test rax, rax
je 0x10008914f
mov rsi, qword [rax + 8]
mov rdx, qword [r15]
mov rcx, rbp
call fcn.10008b930
test rsi, rsi
je 0x10008914f
mov rcx, qword [rsi]
test rcx, rcx
je 0x100089147
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rsi
call fcn.10011b7a0
lea r8, [rsp + 0x78]
mov rdx, qword [r15]
mov rcx, rbp
call fcn.10008b884
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x10008919d
test byte [rcx + 0x1c], r12b
je 0x1000891a7
mov eax, 5
cmp byte [rcx + 0x19], al
jb 0x1000891a2
lea edx, [rax + 0x40]
mov rbp, r15
mov r9, qword [r15]
lea r8, [0x10001e3b0]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
jmp 0x1000891aa
mov rbp, r15
jmp 0x1000891aa
mov rbp, r15
jmp 0x1000891aa
mov rbp, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor r14d, r14d
jmp 0x1000891fc
mov rcx, qword [0x100152eb8]
lea rax, [0x100152eb8]
cmp rcx, rax
je 0x1000891fc
test byte [rcx + 0x1c], r12b
je 0x1000891fc
cmp byte [rcx + 0x19], r12b
jb 0x1000891fc
mov rax, qword [rbp]
mov edx, 0x46
mov qword [rsp + 0x20], rax
mov r9d, 0x8007000e
lea r8, [0x10001e3b0]
mov rcx, qword [rcx + 0x10]
call fcn.10003b984
nop
mov rcx, qword [rsp + 0x60]
cmp rcx, r14
je 0x10008920d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov r10, qword [0x100152eb8]
jmp 0x100089231
mov ecx, 0x8007000e
call fcn.100036264
int3
mov r10, qword [0x100152eb8]
cmp dword [rsp + 0x70], 1
jne 0x100089253
mov rbx, qword [rsp + 0x88]
lea rcx, [rbx + 0x50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r10, qword [0x100152eb8]
jmp 0x10008925b
mov rbx, qword [rsp + 0x88]
lea r15, [0x100152eb8]
cmp r10, r15
je 0x1000892a4
test byte [r10 + 0x1c], 4
je 0x1000892ab
movzx ecx, byte [r10 + 0x19]
mov eax, r12d
cmp r13d, r14d
mov esi, 5
cmovge eax, esi
cmp ecx, eax
jl 0x1000892b0
lea edx, [rsi + 0x42]
mov r9d, r13d
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.100036328
mov r10, qword [0x100152eb8]
jmp 0x1000892b0
mov esi, 5
jmp 0x1000892b0
mov esi, 5
cmp r13d, r14d
je 0x1000892bb
cmp r13d, 1
jne 0x1000892da
mov r8d, r14d
cmp r13d, r14d
setne r8b
add r8d, esi
mov rdx, rbp
mov rcx, rbx
call fcn.100088514
mov r10, qword [0x100152eb8]
cmp r10, r15
je 0x100089310
test byte [r10 + 0x1c], 1
je 0x100089310
movzx eax, byte [r10 + 0x19]
cmp r13d, r14d
cmovge r12d, esi
cmp eax, r12d
jl 0x100089310
mov edx, 0x48
mov r9d, r13d
lea r8, [0x10001e3b0]
mov rcx, qword [r10 + 0x10]
call fcn.100036328
nop
cmp rdi, r14
je 0x10008931f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
cmp rcx, r14
je 0x10008932f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r13d
mov rcx, qword [rsp + 0xe8]
xor rcx, rsp
call fcn.10011b980
mov rbx, qword [rsp + 0x138]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret