Function at 0x14000bb90
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov r15, r8
mov r14, rdx
mov rbx, rcx
test rdx, rdx
je 0x14000bddd
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x80]
call fcn.140023b70
mov rdx, r14
mov rcx, rbx
call fcn.14000aff0
test rax, rax
je 0x14000bddd
lea r9, [rsp + 0x20]
mov r8d, SHGetSetSettings
mov rdx, rax
mov rcx, rbx
call fcn.14000b1f0
test eax, eax
je 0x14000bddd
mov eax, 0x5a4d
cmp word [rsp + 0x20], ax
jne 0x14000bddd
movsxd rdx, dword [rsp + 0x5c]
add rdx, r14
mov rcx, rbx
call fcn.14000aff0
test rax, rax
je 0x14000bddd
lea r9, [rbp - 0x80]
mov r8d, 0x108
mov rdx, rax
mov rcx, rbx
call fcn.14000b1f0
test eax, eax
je 0x14000bddd
cmp dword [rbp - 0x80], 0x4550
jne 0x14000bddd
mov esi, dword [rbp + 8]
test esi, esi
je 0x14000bddd
mov eax, dword [rbp + 0xc]
test eax, eax
je 0x14000bddd
mov r12d, eax
mov qword [rsp + 0x68], rax
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
mov qword [rsp + 0x70], rsi
lea rax, [rsi + r14]
mov qword [rsp + 0x60], rax
mov rdx, rax
mov rcx, rbx
call fcn.14000aff0
test rax, rax
je 0x14000bdcc
mov r9, rdi
mov r8d, r12d
mov rdx, rax
mov rcx, rbx
call fcn.14000b1f0
test eax, eax
je 0x14000bdcc
mov r12, rdi
sub r12, rsi
mov r13d, dword [rdi + 0x20]
add r13, r12
mov eax, dword [rdi + 0x24]
add rax, r12
mov qword [rbp + 0xd8], rax
mov eax, dword [rdi + 0x1c]
add rax, r12
mov qword [rbp + 0xe8], rax
xor eax, eax
mov ebx, eax
cmp dword [rdi + 0x18], eax
jbe 0x14000bdcc
nop dword [rax]
nop dword [rax + rax]
mov esi, ebx
mov edx, dword [r13 + rsi*4]
add rdx, r12
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0xf
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], 0
jne 0x14000bd44
lea rcx, [rsp + 0x20]
call fcn.140010610
mov rdx, r15
cmp qword [r15 + 0x18], 0x10
jb 0x14000bd65
mov rdx, qword [r15]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 0x10
cmovae rcx, qword [rsp + 0x20]
call fcn.14002d458
test eax, eax
je 0x14000bdfa
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000bdbc
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000bdb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be9b
call fcn.140021138
inc ebx
cmp ebx, dword [rdi + 0x18]
mov eax, 0
jb 0x14000bd20
mov r8d, 0x8000
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbx, qword [rsp + 0x1d0]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0xd8]
movzx eax, word [rax + rsi*2]
mov rcx, qword [rbp + 0xe8]
mov ecx, dword [rcx + rax*4]
cmp ecx, 0x1000
jbe 0x14000be45
lea rbx, [r14 + rcx]
cmp rbx, qword [rsp + 0x60]
jb 0x14000be88
mov rax, qword [rsp + 0x68]
add rax, qword [rsp + 0x70]
add rax, r14
cmp rbx, rax
ja 0x14000be88
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14000be80
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000be7b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000be9b
call fcn.140021138
mov rax, rbx
jmp 0x14000bddf
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x14000be47
call fcn.14002e15c
int3