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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x98
mov r14, qword [rcx]
mov rsi, r8
mov r13, qword [r8 + 0x60]
mov rbp, rcx
xor r8d, r8d
movsxd rbx, edx
mov qword [rsp + 0x48], r13
mov rdi, qword [r14 + 0x10]
mov rax, qword [r14 + 0x60]
mov qword [r14 + 0x60], r8
mov qword [rsp + 0x58], rdi
movsxd rdx, dword [rdi + 0x90]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x40], edx
cmp dword [rdi + 0x94], edx
jg 0x140082ef1
xor r9d, r9d
mov dword [rsp + 0x20], r8d
lea edx, [r8 + 0xf]
mov rcx, rdi
call fcn.14005c9a0
mov dword [rsp + 0x40], eax
jmp 0x140082f17
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov qword [rax + rcx*8], 0xf
mov qword [rax + rcx*8 + 8], r8
mov qword [rax + rcx*8 + 0x10], r8
mov r15, rbx
mov qword [rsp + 0x30], rbx
mov ebx, 3
nop dword [rax]
nop dword [rax + rax]
mov r8, rsi
mov rdx, rbp
mov rcx, r14
call fcn.1400cca80
dec dword [r14 + 0x44]
mov r12d, dword [rsi + 4]
mov r9d, dword [r14 + 0x38]
mov eax, dword [r14 + 0x44]
inc r9d
mov dword [rsp + 0x38], eax
mov dword [r14 + 0x38], r9d
movzx eax, byte [rsi + 0x40]
mov dword [rsi + 0x34], r9d
imul rsi, rax, 0x68
mov dword [rsp + 0x44], r12d
add rsi, qword [rbp + 8]
mov rax, qword [rsi + 0x28]
movsx ecx, word [rax + 0x3a]
mov eax, 0x66666667
imul ecx
mov r8d, edx
sar r8d, 2
mov eax, r8d
shr eax, 0x1f
add r8d, eax
lea eax, [r8 + r8*4]
add eax, eax
sub ecx, eax
movsxd rdx, ecx
cmp rdx, 5
jb 0x140082fa4
sub rdx, 2
jmp 0x140082fad
cmp rdx, 1
jb 0x140082fad
dec rdx
cmp r8w, 0x3c
jg 0x140082fee
add rdx, 8
movsx ecx, r8w
cmp r8w, 3
jl 0x140082fcb
add ecx, 0xfffffffd
shl rdx, cl
jmp 0x140082fd5
mov eax, ebx
sub eax, ecx
movzx ecx, al
shr rdx, cl
cmp rdx, 0x2710
jae 0x140082fe5
mov edx, 0x2710
jmp 0x140082ff3
cmp rdx, 0x989680
jbe 0x140082ff3
mov edx, 0x989680
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x14008301b
xor eax, eax
mov r8d, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x4d]
call fcn.14005c9a0
xor r8d, r8d
jmp 0x14008304c
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x4d
mov dword [rax + rcx*8 + 4], edx
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], r8d
mov qword [rax + rcx*8 + 0x10], r8
movsxd rdx, dword [rdi + 0x90]
mov dword [rsp + 0x3c], edx
cmp dword [rdi + 0x94], edx
jg 0x14008307c
xor r9d, r9d
mov dword [rsp + 0x20], r8d
mov r8d, r12d
mov rcx, rdi
lea edx, [r9 + 0x24]
call fcn.14005c9a0
mov dword [rsp + 0x3c], eax
jmp 0x1400830aa
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x24
mov dword [rax + rcx*8 + 4], r12d
mov qword [rax + rcx*8 + 8], 0
mov qword [rax + rcx*8 + 0x10], r8
mov rbx, qword [rbp + 0x90]
movsxd rax, dword [rbp + 0x84]
imul rbp, rax, 0x38
add rbp, rbx
cmp rbx, rbp
jae 0x14008317d
mov r15d, dword [rsp + 0x38]
lea r12, [fcn.1400539b0]
mov edi, 3
lea r13, [0x1400ae8c0]
test byte [rbx + 0x12], 2
mov rdx, qword [rbx]
jne 0x14008315c
movzx ecx, byte [rsi + 0x44]
test cl, 0x40
jne 0x14008315c
mov eax, dword [rdx + 4]
and eax, 1
test cl, 8
je 0x140083109
test eax, eax
je 0x14008315c
mov eax, dword [rsi + 0x4c]
cmp dword [rdx + 0x34], eax
jmp 0x14008310b
test eax, eax
jne 0x14008315c
mov eax, dword [rsi + 0x4c]
movzx ecx, di
mov word [rsp + 0x84], cx
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r13
mov dword [rsp + 0x88], eax
test rdx, rdx
je 0x140083146
lea rcx, [rsp + 0x60]
call fcn.1400de810
mov rdx, qword [rbx]
movzx ecx, word [rsp + 0x84]
test cx, cx
je 0x14008315c
mov r9d, 0x10
mov r8d, r15d
mov rcx, r14
call fcn.14008dc30
add rbx, 0x38
cmp rbx, rbp
jb 0x1400830e0
mov rdi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x48]
mov r12d, dword [rsp + 0x44]
mov r15, qword [rsp + 0x30]
test dword [r13 + 0x38], 0x100
je 0x1400832b8
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x14008319e
inc dword [r14 + 0x38]
mov ebx, dword [r14 + 0x38]
jmp 0x1400831af
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov ebx, dword [r14 + rax*4 + 0xe4]
movsxd rcx, dword [rdi + 0x90]
cmp dword [rdi + 0x94], ecx
jg 0x1400831dc
xor eax, eax
mov r9d, ebx
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov edx, 0x87
mov rcx, rdi
call fcn.14005c9a0
xor r9d, r9d
jmp 0x14008320d
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x87
mov dword [rax + rcx*8 + 4], r12d
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rsi, qword [rsp + 0xf0]
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rsi + 0x34]
cmp dword [rdi + 0x94], edx
jg 0x140083240
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0xb4
mov rcx, rdi
call fcn.14005c9a0
mov edx, eax
jmp 0x14008326e
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], ebx
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x140083292
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], 1
test ebx, ebx
je 0x14008340d
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x14008340d
mov dword [r14 + rax*4 + 0xe4], ebx
inc byte [r14 + 0x1f]
jmp 0x14008340d
movzx ebp, word [r13 + 0x18]
mov r15, qword [r13 + 0x20]
cmp ebp, 1
jne 0x1400832f4
movzx eax, byte [r14 + 0x1f]
test al, al
jne 0x1400832dd
inc dword [r14 + 0x38]
mov esi, dword [r14 + 0x38]
xor eax, eax
mov ebx, eax
jmp 0x140083330
dec al
movzx eax, al
mov byte [r14 + 0x1f], al
mov esi, dword [r14 + rax*4 + 0xe4]
xor eax, eax
mov ebx, eax
jmp 0x140083330
mov ecx, dword [r14 + 0x28]
mov esi, dword [r14 + 0x2c]
cmp ebp, ecx
jg 0x14008330f
lea eax, [rsi + rbp]
sub ecx, ebp
mov dword [r14 + 0x2c], eax
mov dword [r14 + 0x28], ecx
jmp 0x14008331c
mov eax, dword [r14 + 0x38]
lea esi, [rax + 1]
add eax, ebp
mov dword [r14 + 0x38], eax
xor r9d, r9d
mov ebx, r9d
cmp r9w, bp
jae 0x140083351
nop dword [rax + rax]
lea eax, [rbx + rsi]
mov r9d, ebx
mov r8d, r12d
mov dword [rsp + 0x20], eax
mov rdx, r15
mov rcx, r14
call fcn.14008b400
inc ebx
cmp ebx, ebp
jl 0x140083330
xor r9d, r9d
mov rax, qword [rsp + 0xf0]
movsxd rdx, dword [rdi + 0x90]
mov r8d, dword [rax + 0x34]
cmp dword [rdi + 0x94], edx
jg 0x140083384
xor r9d, r9d
mov dword [rsp + 0x20], esi
mov edx, 0xb4
mov rcx, rdi
call fcn.14005c9a0
mov edx, eax
jmp 0x1400833b2
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rdi + 0x90], eax
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0xb4
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], r9d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
cmp byte [rax + 0x67], 0
jne 0x1400833d2
movsxd rax, edx
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov byte [rax + rcx*8 + 1], 0xfd
mov dword [rax + rcx*8 + 0x10], ebp
mov r15, qword [rsp + 0x30]
cmp ebp, 1
jne 0x1400833f7
test esi, esi
je 0x140083405
movzx eax, byte [r14 + 0x1f]
cmp al, 8
jae 0x140083405
mov dword [r14 + rax*4 + 0xe4], esi
inc byte [r14 + 0x1f]
jmp 0x140083405
cmp ebp, dword [r14 + 0x28]
jle 0x140083405
mov dword [r14 + 0x28], ebp
mov dword [r14 + 0x2c], esi
mov rsi, qword [rsp + 0xf0]
mov rcx, qword [rdi + 0x18]
mov edx, dword [rsp + 0x38]
not edx
mov eax, dword [rcx + 0x48]
add eax, dword [rcx + 0x44]
jns 0x14008342c
mov r8d, edx
mov rdx, rdi
call fcn.140070dc0
jmp 0x14008343c
mov rcx, qword [rcx + 0x50]
mov eax, dword [rdi + 0x90]
movsxd rdx, edx
mov dword [rcx + rdx*4], eax
movsxd rbx, dword [rsp + 0x3c]
movsxd rcx, dword [rdi + 0x90]
mov r8d, dword [rsi + 4]
lea edx, [rbx + 1]
cmp dword [rdi + 0x94], ecx
jg 0x14008346d
xor eax, eax
mov r9d, edx
mov rcx, rdi
mov dword [rsp + 0x20], eax
lea edx, [rax + 0x27]
call fcn.14005c9a0
jmp 0x14008349e
lea eax, [rcx + 1]
xor r9d, r9d
mov dword [rdi + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8], 0x27
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400834b6
lea rax, [0x140119dd0]
jmp 0x1400834c5
mov rax, qword [rdi + 0x88]
lea rcx, [rbx + rbx*2]
lea rax, [rax + rcx*8]
mov dword [rax + 8], edx
and dword [r13 + 0x38], 0xffbfffff
mov rax, qword [r14]
test dword [rax + 0x60], 0x100000
jne 0x1400835a1
mov ebx, dword [rsp + 0xe8]
inc r15
mov rbp, qword [rsp + 0xe0]
inc ebx
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x30], r15
movzx r10d, byte [rbp + 0x40]
cmp ebx, r10d
jge 0x140083596
mov r9, qword [rbp + 8]
add rbp, 0x3c0
imul rax, r15, 0x70
add rax, rbp
mov rbp, qword [rsp + 0xf8]
nop dword [rax + rax]
movzx ecx, byte [rax - 0x20]
lea rsi, [rax - 0x60]
imul rdx, rcx, 0x68
mov qword [rsp + 0xf0], rsi
test byte [rdx + r9 + 0x44], 0x48
jne 0x14008356c
mov r13, qword [rax]
test r13, r13
je 0x14008356c
test qword [r13], rbp
jne 0x14008356c
mov ecx, dword [r13 + 0x38]
and ecx, 0x400004
cmp ecx, 0x400000
je 0x14008357a
inc ebx
inc r15
add rax, 0x70
cmp r15, r10
jl 0x140083530
mov rbp, qword [rsp + 0xe0]
cmp ebx, r10d
mov dword [rsp + 0xe8], ebx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x48], r13
mov ebx, 3
jl 0x140082f30
mov rax, qword [rdi]
mov edx, dword [rdi + 0x90]
cmp byte [rax + 0x67], 0
je 0x1400835b8
mov dword [0x140119dd8], edx
jmp 0x1400835cc
movsxd rax, dword [rsp + 0x40]
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 0x88]
mov dword [rax + rcx*8 + 8], edx
mov rax, qword [rsp + 0x50]
mov qword [r14 + 0x60], rax
add rsp, 0x98
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret