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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x98
mov rbp, qword [r8 + 8]
mov eax, dword [rsp + 0x100]
mov r14, qword [r8]
mov r15, rcx
mov rcx, qword [0x140152e30]
mov rdi, r9
mov dword [rsp + 0x3c], eax
mov byte [rsp + 0x3b], bpl
call sym.unk_2201
mov rdx, rax
mov rax, qword [rdi + 0xd0]
mov rax, qword [rax + 8]
mov r12, qword [rax + rdx*8]
test r12, r12
je 0x14008366f
lea rcx, [0x140149fd0]
call sym.unk_2201
mov rsi, rax
mov rax, qword [rdi + 0xd0]
mov rax, qword [rax + 0x18]
lea r13, [rax + rsi*8]
mov rbx, qword [r13]
test rbx, rbx
je 0x140083098
mov rax, qword [rsp + 0x108]
mov rsi, qword [rax]
movzx eax, word [rbx + 0x64]
cmp word [rsi], ax
je 0x140082cf8
mov rax, qword [rbx + 0x38]
mov r13d, dword [rbx + 0x5c]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x40]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi - 0x18]
mov r10, qword [r12]
mov rcx, r12
lea r9, [rsi + rax*2]
mov r8, rsi
mov edx, 8
call qword [r10 + 0x28]
sub rax, rsi
mov r12, rax
sar rax, 1
mov qword [rsp + 0x40], rax
jne 0x140082d20
mov bpl, byte [rsp + 0x3b]
mov rax, r15
mov qword [rdi + 0x10], 0
mov qword [r15], r14
mov qword [r15 + 8], rbp
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rbx + 0x48]
mov r13d, dword [rbx + 0x60]
lea rdx, [rsi + 2]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x50]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi - 0x18]
test rax, rax
cmovne rsi, rdx
jmp 0x140082ca0
mov rax, qword [0x140152c60]
mov rdx, r12
add rax, 0x18
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x80]
mov rcx, rax
mov qword [rsp + 0x50], rax
call sym.unk_2843
mov r11, qword [rsp + 0x40]
mov eax, dword [rbx + 0x58]
mov ecx, r11d
sub ecx, eax
mov dword [rsp + 0x68], ecx
test ecx, ecx
jle 0x140082e3f
mov rdx, qword [rbx + 0x18]
test eax, eax
js 0x140083218
test rdx, rdx
je 0x140083226
lea r9d, [rcx + rcx]
movsxd r9, r9d
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x50]
xor edx, edx
mov r8, qword [rax - 0x18]
mov dword [rsp + 0x20], 0
call sym.unk_2900
movsxd rax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x80]
lea r12, [rsi + rax*2]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x60], rax
movzx eax, word [rbx + 0x24]
mov dword [rsp + 0x6c], eax
mov eax, dword [rcx - 8]
test eax, eax
jns 0x140083640
mov r9, qword [rsp + 0x58]
mov r8, qword [rsp + 0x60]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rsi
mov edx, dword [rsp + 0x6c]
mov qword [rsp + 0x58], rcx
call sym.unk_5459
mov rcx, qword [rsp + 0x58]
mov r12, rax
mov eax, dword [rcx - 8]
test eax, eax
jns 0x140083630
mov rax, qword [rsp + 0x80]
mov r9, qword [rax - 0x18]
sub r12, rax
mov rdx, r12
sar rdx, 1
mov r8, r9
sub r8, rdx
cmp r9, rdx
jb 0x140083674
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
call sym.unk_2790
mov eax, dword [rbx + 0x58]
test eax, eax
jg 0x140082f78
mov eax, dword [rdi + 0x18]
mov rdx, qword [rsp + 0x80]
mov esi, eax
and esi, 0xb0
mov dword [rsp + 0x68], esi
mov rsi, qword [rsp + 0x30]
add rsi, qword [rdx - 0x18]
test ah, 2
jne 0x140082f68
mov rax, qword [0x140152c60]
lea rdx, [rsi + rsi]
add rax, 0x18
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x88]
mov rcx, rax
mov qword [rsp + 0x40], rax
call sym.unk_2843
cmp dword [rsp + 0x68], 0x10
mov r12, qword [rdi + 0x10]
jne 0x140082eb0
cmp rsi, r12
jb 0x140082fb0
cmp r13b, 4
ja case.0x140082ec8.0
lea rdx, [0x1401508c0]
movzx eax, r13b
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
movzx edx, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
call sym.unk_2867
nop
mov eax, r13d
movsx eax, ah
cmp al, 4
ja case.0x140082efb.0
lea rdx, [0x1401508d4]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
movzx edx, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
call sym.unk_2867
nop
mov eax, r13d
shl eax, 8
sar eax, 0x18
cmp al, 4
ja case.0x140082f2e.0
lea rdx, [0x1401508e8]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
movzx edx, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
call sym.unk_2867
nop
mov eax, r13d
sar eax, 0x18
cmp al, 4
ja case.0x140082f5f.0
lea rdx, [0x1401508fc]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
add rsi, qword [rbx + 0x30]
jmp 0x140082e70
mov r12, qword [rsp + 0x50]
movzx edx, word [rbx + 0x22]
mov rcx, r12
call sym.unk_2867
movsxd rax, dword [rsp + 0x68]
test eax, eax
js 0x1400832a8
movsxd r8, dword [rbx + 0x58]
lea rdx, [rsi + rax*2]
mov rcx, r12
call sym.unk_2861
jmp 0x140082e47
cmp r13b, 4
ja case.default.0x140082fcc
lea rdx, [0x140150910]
movzx eax, r13b
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
cmp qword [rsp + 0x30], 1
ja 0x140083140
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx - 0x18]
cmp rbx, r12
jae 0x140083032
mov r9, r12
movzx r8d, word [rsp + 0x3c]
sub r9, rbx
cmp dword [rsp + 0x68], 0x20
je 0x140083290
mov dword [rsp + 0x20], r8d
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call sym.unk_2900
mov rdx, qword [rsp + 0x88]
mov rbx, r12
cmp byte [rsp + 0x3b], 0
movsxd rbx, ebx
jne 0x140083058
mov rax, qword [r14]
mov r8, rbx
mov rcx, r14
call qword [rax + 0x60]
cmp rbx, rax
mov rdx, qword [rsp + 0x88]
setne byte [rsp + 0x3b]
lea rcx, [rdx - 0x18]
cmp rcx, qword [0x140152c60]
jne 0x140083660
mov rax, qword [rsp + 0x80]
lea rcx, [rax - 0x18]
cmp rcx, qword [0x140152c60]
je 0x140082cc7
mov rdx, qword [rsp + 0x40]
call sym.unk_5235
jmp 0x140082cc7
mov ecx, pe_nt_image_headers64
call sym.operator_new_unsigned_long_long_
mov rbx, rax
mov dword [rax + 8], 0
lea rax, sym.unk_2230
lea rdx, [rdi + 0xd0]
mov qword [rbx], rax
mov rcx, rbx
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0
mov byte [rbx + 0x20], 0
mov dword [rbx + 0x22], 0
mov qword [rbx + 0x28], 0
mov qword [rbx + 0x30], 0
mov qword [rbx + 0x38], 0
mov qword [rbx + 0x40], 0
mov qword [rbx + 0x48], 0
mov qword [rbx + 0x50], 0
mov dword [rbx + 0x58], 0
mov qword [rbx + 0x5c], 0
mov byte [rbx + 0x7a], 0
call sym.unk_5285
mov rcx, qword [rdi + 0xd0]
mov rdx, rbx
mov r8, rsi
call sym.unk_2200
mov rbx, qword [r13]
jmp 0x140082c72
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
add rdx, 2
lea r8, [rax - 1]
call sym.unk_2861
jmp 0x140082feb
mov rdx, r12
movzx r8d, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
sub rdx, rsi
call sym.unk_2863
mov eax, r13d
movsx eax, ah
cmp al, 4
ja case.default.0x140083199
lea rdx, [0x140150924]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rdx, r12
movzx r8d, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
sub rdx, rsi
call sym.unk_2863
mov eax, r13d
shl eax, 8
sar eax, 0x18
cmp al, 4
ja case.default.0x1400831d4
lea rdx, [0x140150938]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov rdx, r12
movzx r8d, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
sub rdx, rsi
call sym.unk_2863
mov eax, r13d
sar eax, 0x18
cmp al, 4
ja case.default.0x140083211
lea rdx, [0x14015094c]
movzx eax, al
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
mov dword [rsp + 0x68], r11d
test rdx, rdx
jne 0x140083480
movsxd r8, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
call sym.unk_2870
jmp 0x140082e3c
mov rdx, r12
movzx r8d, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
sub rdx, rsi
call sym.unk_2863
cmp qword [rsp + 0x30], 1
ja 0x140083140
mov rdx, qword [rsp + 0x88]
mov rbx, qword [rdx - 0x18]
cmp rbx, r12
jae 0x140083032
mov r9, r12
movzx r8d, word [rsp + 0x3c]
sub r9, rbx
jmp 0x140083013
mov rcx, qword [rsp + 0x40]
mov rdx, r9
call sym.unk_2863
jmp 0x140083027
mov r12, qword [rsp + 0x50]
mov edx, eax
movzx r8d, word [rbx + 0x66]
neg edx
movsxd rdx, edx
mov rcx, r12
call sym.unk_2863
mov r8, qword [rsp + 0x40]
mov rdx, rsi
mov rcx, r12
call sym.unk_2861
jmp 0x140082e47
cmp qword [rsp + 0x30], 0
je 0x140082feb
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.0x140082f5f.0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.0x140082ec8.0
test byte [rdi + 0x19], 2
je case.0x140082ec8.0
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.0x140082ec8.0
cmp qword [rsp + 0x30], 0
je case.0x140082ec8.0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.0x140082ec8.0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.0x140082efb.0
test byte [rdi + 0x19], 2
je case.0x140082efb.0
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.0x140082efb.0
cmp qword [rsp + 0x30], 0
je case.0x140082efb.0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.0x140082efb.0
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.0x140082f2e.0
test byte [rdi + 0x19], 2
je case.0x140082f2e.0
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.0x140082f2e.0
cmp qword [rsp + 0x30], 0
je case.0x140082f2e.0
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.0x140082f2e.0
movzx edx, word [rsp + 0x3c]
mov rcx, qword [rsp + 0x40]
call sym.unk_2867
jmp case.0x140082f5f.0
test byte [rdi + 0x19], 2
je case.0x140082f5f.0
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.0x140082f5f.0
movsxd r9, r12d
jmp 0x140082d80
test byte [rdi + 0x19], 2
je case.default.0x140083211
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.default.0x140083211
cmp qword [rsp + 0x30], 0
je case.default.0x140082fcc
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.default.0x140082fcc
cmp qword [rsp + 0x30], 0
je 0x140083262
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.default.0x140083211
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.default.0x140083211
test byte [rdi + 0x19], 2
je case.default.0x1400831d4
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.default.0x1400831d4
test byte [rdi + 0x19], 2
je case.default.0x140082fcc
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.default.0x140082fcc
cmp qword [rsp + 0x30], 0
je case.default.0x1400831d4
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.default.0x1400831d4
cmp qword [rsp + 0x30], 0
je case.default.0x140083199
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
movzx edx, word [rax]
call sym.unk_2867
jmp case.default.0x140083199
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.default.0x140083199
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.default.0x140082fcc
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x40]
call sym.unk_2859
jmp case.default.0x1400831d4
test byte [rdi + 0x19], 2
je case.default.0x140083199
mov rdx, qword [rbx + 0x28]
mov r8, qword [rbx + 0x30]
mov rcx, qword [rsp + 0x40]
call sym.unk_2861
jmp case.default.0x140083199
mov rcx, qword [rsp + 0x50]
call sym.unk_2792
jmp 0x140082e0b
mov rcx, qword [rsp + 0x50]
call sym.unk_2792
mov rcx, qword [rsp + 0x80]
jmp 0x140082dd6
lea rdx, [rsp + 0x7f]
call sym.unk_5235
jmp 0x140083069
call sym.unk_3862
mov r8, rdx
lea rcx, [0x1401507e8]
lea rdx, [0x1401507d2]
call sym.unk_3869
mov rcx, rax
call sym.unk_2061
call sym.unk_2102
mov rcx, rax
call sym.unk_2061
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
jmp 0x140083692