Function at 0x100082438
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, [0x100152eb8]
lea r12d, [rbx + 1]
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x1000824a1
test byte [rcx + 0x1c], r12b
je 0x1000824a1
cmp byte [rcx + 0x19], 5
jb 0x1000824a1
lea edx, [rbx + 0x46]
mov qword [rax - 0x48], r8
mov r9d, ebp
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.10003bdc0
lea rcx, [0x100151100]
mov rax, qword [0x100151100]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsi], rax
mov dword [rsp + 0x88], r12d
cmp ebp, 0x48
jg 0x1000827ca
cmp ebp, 0x48
je 0x1000826fb
cmp ebp, 0xb
jg 0x100082610
cmp ebp, 0xb
je 0x1000825e3
mov ecx, ebp
sub ecx, 6
je 0x1000825b8
sub ecx, r12d
je 0x10008258b
sub ecx, r12d
je 0x100082569
sub ecx, r12d
je 0x100082539
cmp ecx, r12d
jne 0x1000827d4
mov rdx, qword [rdi + 0x28]
cmp rdx, rbx
je 0x100082529
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.100036190
jmp 0x100082804
mov r8d, dword [rdi + 0x1c]
cmp r8d, 0xffffffff
je 0x100082804
mov r9d, dword [rdi + 0x20]
cmp r9d, 0xffffffff
je 0x100082804
lea rdx, [0x100022800]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
mov r8d, dword [rdi + 0x18]
cmp r8d, 0xffffffff
je 0x100082804
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
mov rdx, qword [rdi + 0x10]
cmp rdx, rbx
je 0x1000825a8
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.100036190
jmp 0x100082804
mov r8, qword [rdi + 8]
cmp r8, 0xffffffffffffffff
je 0x100082804
cmp r8, rbx
je 0x100082804
lea rdx, [0x100022a88]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
mov rdx, qword [rdi + 0x30]
cmp rdx, rbx
je 0x100082600
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.100036190
jmp 0x100082804
mov ecx, ebp
sub ecx, 0xc
je 0x1000826d9
sub ecx, r12d
je 0x1000826b7
sub ecx, r12d
je 0x100082695
sub ecx, r12d
je 0x100082673
cmp ecx, r12d
jne 0x1000827d4
lea rax, [0x100001eb0]
mov rdx, qword [rax]
cmp rdx, qword [rdi + 0x48]
jne 0x100082655
mov rdx, qword [rax + 8]
cmp rdx, qword [rdi + 0x50]
jne 0x100082655
mov eax, ebx
jmp 0x10008265a
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x100082804
mov rdx, rsi
lea rcx, [rdi + 0x48]
call fcn.1000e3eb0
jmp 0x100082804
mov r8d, dword [rdi + 0x44]
cmp r8d, 0xffffffff
je 0x100082804
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
mov r8d, dword [rdi + 0x40]
cmp r8d, 0xffffffff
je 0x100082804
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
mov r8d, dword [rdi + 0x3c]
cmp r8d, 0xffffffff
je 0x100082804
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
mov r8d, dword [rdi + 0x38]
cmp r8d, 0xffffffff
je 0x100082804
lea rdx, [0x1000203d0]
mov rcx, rsi
call fcn.100039d9c
jmp 0x100082804
cmp dword [rdi + 0x5c], ebx
je 0x1000827b9
mov rdx, qword [rdi]
cmp rdx, rbx
jne 0x100082710
mov ecx, ebx
jmp 0x100082722
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.100036190
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 0x100082754
cmp word [rax], 0x3f
je 0x10008275d
sub rax, 2
cmp rax, rdi
jne 0x100082745
cmp word [rax], 0x3f
je 0x10008275d
mov rax, rbx
cmp rax, rbx
je 0x100082793
sub rax, qword [rsi]
sar rax, 1
cmp eax, 0xffffffff
je 0x100082793
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x1000227e0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov r8d, ecx
mov rcx, rsi
call fcn.10003577c
jmp 0x100082804
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdx, [0x1000227c0]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, r12
mov r8d, ecx
mov rcx, rsi
call fcn.10003577c
jmp 0x100082804
lea rdx, [0x1000224e8]
mov rcx, rsi
call fcn.1000696b4
jmp 0x100082804
cmp ebp, 0x4e
jl 0x1000827d4
cmp ebp, 0x50
jle 0x100082804
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x100082834
test byte [rcx + 0x1c], 2
je 0x100082804
cmp byte [rcx + 0x19], 2
jb 0x100082804
mov edx, 0x47
mov r9d, ebp
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.100036328
mov rcx, qword [0x100152eb8]
cmp rcx, r13
je 0x100082834
test byte [rcx + 0x1c], r12b
je 0x100082834
cmp byte [rcx + 0x19], 5
jb 0x100082834
mov edx, 0x48
mov r9, qword [rsi]
lea r8, [0x10001e3d0]
mov rcx, qword [rcx + 0x10]
call fcn.100034788
mov rax, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret