Function at 0x140002cac
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by hash
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x38
xor ebp, ebp
mov r13d, ebp
mov qword [rsp + 0x90], rbp
mov r12d, ebp
mov qword [rsp + 0x88], rbp
mov r14d, ebp
mov r9d, ebp
call fcn.140002ca4
mov rbx, rax
lea esi, [rbp + 1]
mov eax, 0x5a4d
cmp word [rbx], ax
jne 0x140002d14
movsxd r15, dword [rbx + 0x3c]
mov qword [rsp + 0x20], r15
lea rcx, [r15 - 0x40]
cmp rcx, 0x3bf
ja 0x140002d14
cmp dword [r15 + rbx], 0x4550
je 0x140002d19
sub rbx, rsi
jmp 0x140002cea
mov rax, qword gs:[0x60]
mov qword [rsp + 0x98], rbx
mov rcx, qword [rax + 0x18]
mov r11, qword [rcx + 0x20]
test r11, r11
je 0x140002f08
mov ebx, 3
mov r10d, 0xffff
mov rdx, qword [r11 + 0x50]
mov rax, rbp
movzx r8d, word [r11 + 0x48]
movzx ecx, byte [rdx]
ror eax, 0xd
cmp cl, 0x61
jb 0x140002d61
add rax, 0xffffffffffffffe0
add rax, rcx
add rdx, rsi
add r8w, r10w
jne 0x140002d52
cmp eax, 0x6a4abc5b
jne 0x140002e3c
mov rdx, qword [r11 + 0x20]
movzx esi, bx
mov r15d, 0xffff
movsxd rax, dword [rdx + 0x3c]
mov ebp, dword [rax + rdx + 0x88]
mov r10d, dword [rbp + rdx + 0x20]
mov edi, dword [rbp + rdx + 0x24]
add r10, rdx
add rdi, rdx
xor r9d, r9d
mov r8d, dword [r10]
mov ecx, r9d
add r8, rdx
mov al, byte [r8]
inc r8
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [r8]
test al, al
jne 0x140002dae
cmp ecx, 0xec0e4e8e
je 0x140002dd8
cmp ecx, 0x7c0dfcaa
je 0x140002dd8
cmp ecx, 0x91afca54
jne 0x140002e1c
mov r9d, dword [rbp + rdx + 0x1c]
movzx r8d, word [rdi]
add r9, rdx
cmp ecx, 0xec0e4e8e
jne 0x140002df5
mov r13d, dword [r9 + r8*4]
add r13, rdx
jmp 0x140002e15
cmp ecx, 0x7c0dfcaa
jne 0x140002e06
mov r12d, dword [r9 + r8*4]
add r12, rdx
jmp 0x140002e15
cmp ecx, 0x91afca54
jne 0x140002e15
mov r14d, dword [r9 + r8*4]
add r14, rdx
add si, r15w
xor r9d, r9d
add r10, 4
add rdi, 2
test si, si
jne 0x140002da2
mov qword [rsp + 0x90], r12
xor ebp, ebp
jmp 0x140002ecb
cmp eax, 0x3cfa685d
jne 0x140002edb
mov r8, qword [r11 + 0x20]
mov r12d, 1
mov r15d, 0xffff
movsxd rax, dword [r8 + 0x3c]
mov edi, dword [rax + r8 + 0x88]
mov r9d, dword [rdi + r8 + 0x20]
mov r10d, dword [rdi + r8 + 0x24]
add r9, r8
add r10, r8
mov edx, dword [r9]
mov ecx, ebp
add rdx, r8
mov al, byte [rdx]
add rdx, r12
ror ecx, 0xd
movsx eax, al
add ecx, eax
mov al, byte [rdx]
test al, al
jne 0x140002e7d
cmp ecx, 0x534c0ab8
jne 0x140002eb6
mov ecx, dword [rdi + r8 + 0x1c]
add si, r15w
movzx edx, word [r10]
add rcx, r8
mov ebp, dword [rcx + rdx*4]
add rbp, r8
mov qword [rsp + 0x88], rbp
xor ebp, ebp
add r9, 4
add r10, 2
test si, si
jne 0x140002e73
mov r12, qword [rsp + 0x90]
mov r9, qword [rsp + 0x88]
mov r10d, r15d
mov esi, 1
test r13, r13
je 0x140002eef
test r12, r12
je 0x140002eef
test r14, r14
je 0x140002eef
test r9, r9
jne 0x140002efb
mov r11, qword [r11]
test r11, r11
jne 0x140002d46
mov rbx, qword [rsp + 0x98]
mov r15, qword [rsp + 0x20]
xor ecx, ecx
lea rsi, [r15 + rbx]
mov edx, dword [rsi + 0x50]
mov r8d, 0x3000
mov qword [rsp + 0x98], rsi
lea r9d, [rcx + 0x40]
call r14
mov edx, dword [rsi + 0x54]
mov rdi, rax
mov rax, rbx
mov r11d, 1
test rdx, rdx
je 0x140002f4e
mov r8, rdi
sub r8, rbx
mov cl, byte [rax]
mov byte [r8 + rax], cl
add rax, r11
sub rdx, r11
jne 0x140002f40
movzx r9d, word [rsi + 6]
movzx eax, word [rsi + 0x14]
test r9, r9
je 0x140002f94
lea rcx, [rsi + 0x2c]
add rcx, rax
mov edx, dword [rcx - 8]
sub r9, r11
mov r8d, dword [rcx]
add rdx, rdi
mov r10d, dword [rcx - 4]
add r8, rbx
test r10, r10
je 0x140002f8b
mov al, byte [r8]
add r8, r11
mov byte [rdx], al
add rdx, r11
sub r10, r11
jne 0x140002f7b
add rcx, 0x28
test r9, r9
jne 0x140002f63
mov ebx, dword [rsi + 0x90]
add rbx, rdi
cmp dword [rbx + 0xc], ebp
je 0x14000303b
mov rbp, qword [rsp + 0x90]
mov ecx, dword [rbx + 0xc]
add rcx, rdi
call r13
mov r14d, dword [rbx]
mov r12, rax
mov r15d, dword [rbx + 0x10]
add r14, rdi
add r15, rdi
xor r8d, r8d
jmp 0x140003026
test r14, r14
je 0x140002fff
cmp qword [r14], r8
jge 0x140002fff
movsxd rax, dword [r12 + 0x3c]
movzx edx, word [r14]
mov ecx, dword [rax + r12 + 0x88]
mov eax, dword [rcx + r12 + 0x10]
mov ecx, dword [rcx + r12 + 0x1c]
sub rdx, rax
add rcx, r12
mov eax, dword [rcx + rdx*4]
add rax, r12
jmp 0x140003011
mov rdx, qword [r15]
mov rcx, r12
add rdx, 2
add rdx, rdi
call rbp
xor r8d, r8d
mov qword [r15], rax
lea rax, [r14 + 8]
add r15, 8
test r14, r14
cmove rax, r14
mov r14, rax
cmp qword [r15], r8
jne 0x140002fcc
add rbx, 0x14
cmp dword [rbx + 0xc], r8d
jne 0x140002fae
xor ebp, ebp
mov r9, rdi
sub r9, qword [rsi + 0x30]
cmp dword [rsi + 0xb4], ebp
je 0x140003106
mov r8d, dword [rsi + 0xb0]
add r8, rdi
mov eax, dword [r8 + 4]
test eax, eax
je 0x140003106
mov esi, 2
mov r14d, 0xfff
lea r12d, [rsi + 1]
mov edx, dword [r8]
lea rbx, [r8 + 8]
mov r11d, eax
add rdx, rdi
sub r11, 8
shr r11, 1
je 0x1400030eb
mov r15d, 1
movzx r10d, word [rbx]
sub r11, r15
movzx eax, r10w
movzx ecx, r10w
shr ax, 0xc
cmp ax, 0xa
jne 0x1400030b1
and r10, r14
add qword [r10 + rdx], r9
jmp 0x1400030e3
cmp ax, r12w
jne 0x1400030c0
and rcx, r14
add dword [rcx + rdx], r9d
jmp 0x1400030e3
cmp ax, r15w
jne 0x1400030d6
and rcx, r14
mov rax, r9
shr rax, 0x10
add word [rcx + rdx], ax
jmp 0x1400030e3
cmp ax, si
jne 0x1400030e3
and rcx, r14
add word [rcx + rdx], r9w
add rbx, rsi
test r11, r11
jne 0x14000308f
mov eax, dword [r8 + 4]
add r8, rax
mov eax, dword [r8 + 4]
test eax, eax
jne 0x140003073
mov rsi, qword [rsp + 0x98]
mov ebx, dword [rsi + 0x28]
xor r8d, r8d
xor edx, edx
or rcx, 0xffffffffffffffff
add rbx, rdi
call qword [rsp + 0x88]
mov r8, qword [rsp + 0x80]
mov edx, 1
mov rcx, rdi
call rbx
mov rax, rbx
add rsp, 0x38
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret