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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, r8
mov ebp, edx
mov rsi, rcx
xor ebx, ebx
mov dword [rax + 0x20], ebx
lea r13, [0x100153eb8]
lea r12d, [rbx + 1]
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x1000825a5
test byte [rcx + 0x1c], r12b
je 0x1000825a5
cmp byte [rcx + 0x19], 5
jb 0x1000825a5
lea edx, [rbx + 0x46]
mov qword [rax - 0x48], r8
mov r9d, ebp
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10003be94
lea rcx, [0x100152100]
mov rax, qword [0x100152100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x88], r12d
cmp ebp, 0x48
jg 0x1000828ce
cmp ebp, 0x48
je 0x1000827ff
cmp ebp, 0xb
jg 0x100082714
cmp ebp, 0xb
je 0x1000826e7
mov ecx, ebp
sub ecx, 6
je 0x1000826bc
sub ecx, r12d
je 0x10008268f
sub ecx, r12d
je 0x10008266d
sub ecx, r12d
je 0x10008263d
cmp ecx, r12d
jne 0x1000828d8
mov rdx, qword [rdi + 0x28]
cmp rdx, rbx
je 0x10008262d
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov ebx, ecx
mov r8d, ebx
mov rcx, rsi
call fcn.1000361b0
jmp 0x100082908
mov r8d, dword [rdi + 0x1c]
cmp r8d, 0xffffffff
je 0x100082908
mov r9d, dword [rdi + 0x20]
cmp r9d, 0xffffffff
je 0x100082908
lea rdx, [0x100022908]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
mov r8d, dword [rdi + 0x18]
cmp r8d, 0xffffffff
je 0x100082908
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
mov rdx, qword [rdi + 0x10]
cmp rdx, rbx
je 0x1000826ac
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov ebx, ecx
mov r8d, ebx
mov rcx, rsi
call fcn.1000361b0
jmp 0x100082908
mov r8, qword [rdi + 8]
cmp r8, 0xffffffffffffffff
je 0x100082908
cmp r8, rbx
je 0x100082908
lea rdx, [0x100022b98]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
mov rdx, qword [rdi + 0x30]
cmp rdx, rbx
je 0x100082704
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov ebx, ecx
mov r8d, ebx
mov rcx, rsi
call fcn.1000361b0
jmp 0x100082908
mov ecx, ebp
sub ecx, 0xc
je 0x1000827dd
sub ecx, r12d
je 0x1000827bb
sub ecx, r12d
je 0x100082799
sub ecx, r12d
je 0x100082777
cmp ecx, r12d
jne 0x1000828d8
lea rax, [0x100001eb0]
mov rdx, qword [rax]
cmp rdx, qword [rdi + 0x48]
jne 0x100082759
mov rdx, qword [rax + 8]
cmp rdx, qword [rdi + 0x50]
jne 0x100082759
mov eax, ebx
jmp 0x10008275e
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x100082908
mov rdx, rsi
lea rcx, [rdi + 0x48]
call fcn.1000e4508
jmp 0x100082908
mov r8d, dword [rdi + 0x44]
cmp r8d, 0xffffffff
je 0x100082908
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
mov r8d, dword [rdi + 0x40]
cmp r8d, 0xffffffff
je 0x100082908
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
mov r8d, dword [rdi + 0x3c]
cmp r8d, 0xffffffff
je 0x100082908
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
mov r8d, dword [rdi + 0x38]
cmp r8d, 0xffffffff
je 0x100082908
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039dd4
jmp 0x100082908
cmp dword [rdi + 0x5c], ebx
je 0x1000828bd
mov rdx, qword [rdi]
cmp rdx, rbx
jne 0x100082814
mov ecx, ebx
jmp 0x100082826
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov r8d, ecx
mov rcx, rsi
call fcn.1000361b0
mov rdi, qword [rsi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rax, [rdi + rcx*2]
cmp rax, rdi
je 0x100082858
cmp word [rax], 0x3f
je 0x100082861
sub rax, 2
cmp rax, rdi
jne 0x100082849
cmp word [rax], 0x3f
je 0x100082861
mov rax, rbx
cmp rax, rbx
je 0x100082897
sub rax, qword [rsi]
sar rax, 1
cmp eax, 0xffffffff
je 0x100082897
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x1000228e8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov r8d, ecx
mov rcx, rsi
call fcn.10003579c
jmp 0x100082908
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x1000228c8]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov r8d, ecx
mov rcx, rsi
call fcn.10003579c
jmp 0x100082908
lea rdx, [0x1000225e4]
mov rcx, rsi
call fcn.100069910
jmp 0x100082908
cmp ebp, 0x4e
jl 0x1000828d8
cmp ebp, 0x50
jle 0x100082908
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100082938
test byte [rcx + 0x1c], 2
je 0x100082908
cmp byte [rcx + 0x19], 2
jb 0x100082908
mov edx, 0x47
mov r9d, ebp
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.100036510
mov rcx, qword [0x100153eb8]
cmp rcx, r13
je 0x100082938
test byte [rcx + 0x1c], r12b
je 0x100082938
cmp byte [rcx + 0x19], 5
jb 0x100082938
mov edx, 0x48
mov r9, qword [rsi]
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.1000347a8
mov rax, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret