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

Disassembly:
push r12
push r13
sub rsp, 0x68
mov rax, qword [0x140080568]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov r13, r9
mov r12, rcx
cmp edx, 0x28
je 0x14000d49c
mov eax, 3
jmp 0x14000d7c0
mov qword [rsp + 0x80], rbx
test r8d, r8d
mov qword [rsp + 0x88], rbp
mov eax, pe_nt_image_headers64
cmovne eax, r8d
mov qword [rsp + 0x90], rsi
mov dword [r9], eax
movzx ecx, byte [rcx]
movzx eax, byte [r12 + 1]
movzx r11d, byte [r12 + 9]
movzx ebp, byte [r12 + 0x11]
movzx esi, byte [r12 + 0x15]
movzx ebx, byte [r12 + 0x19]
shl ecx, 8
or ecx, eax
mov qword [rsp + 0x60], rdi
movzx eax, byte [r12 + 2]
mov qword [rsp + 0x58], r14
movzx r14d, byte [r12 + 0xd]
mov qword [rsp + 0x50], r15
movzx r15d, byte [r12 + 4]
shl r15d, 8
shl ecx, 8
or ecx, eax
movzx eax, byte [r12 + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [r12 + 5]
or r15d, eax
mov dword [rsp + 0x28], ecx
movzx eax, byte [r12 + 6]
shl r15d, 8
or r15d, eax
movzx eax, byte [r12 + 7]
shl r15d, 8
or r15d, eax
movzx eax, byte [r12 + 8]
shl eax, 8
or r11d, eax
mov dword [rsp + 0x2c], r15d
movzx eax, byte [r12 + 0xa]
shl r11d, 8
or r11d, eax
movzx eax, byte [r12 + 0xb]
shl r11d, 8
or r11d, eax
movzx eax, byte [r12 + 0xc]
shl eax, 8
or r14d, eax
mov dword [rsp + 0x30], r11d
movzx eax, byte [r12 + 0xe]
shl r14d, 8
or r14d, eax
movzx eax, byte [r12 + 0xf]
shl r14d, 8
or r14d, eax
movzx eax, byte [r12 + 0x10]
shl eax, 8
or ebp, eax
mov dword [rsp + 0x34], r14d
movzx eax, byte [r12 + 0x12]
shl ebp, 8
or ebp, eax
movzx eax, byte [r12 + 0x13]
shl ebp, 8
or ebp, eax
movzx eax, byte [r12 + 0x14]
shl eax, 8
or esi, eax
mov dword [rsp + 0x38], ebp
movzx eax, byte [r12 + 0x16]
shl esi, 8
or esi, eax
movzx eax, byte [r12 + 0x17]
shl esi, 8
or esi, eax
movzx eax, byte [r12 + 0x18]
shl eax, 8
or ebx, eax
mov dword [rsp + 0x3c], esi
shl ebx, 8
movzx eax, byte [r12 + 0x1a]
movzx edi, byte [r12 + 0x1c]
or ebx, eax
movzx eax, byte [r12 + 0x1b]
movzx r8d, byte [r12 + 0x20]
movzx r10d, byte [r12 + 0x24]
shl r8d, 8
shl r10d, 8
shl edi, 8
shl ebx, 8
or ebx, eax
movzx eax, byte [r12 + 0x1d]
or edi, eax
mov dword [rsp + 0x40], ebx
movzx eax, byte [r12 + 0x1e]
shl edi, 8
or edi, eax
movzx eax, byte [r12 + 0x1f]
shl edi, 8
or edi, eax
movzx eax, byte [r12 + 0x21]
or r8d, eax
mov dword [rsp + 0x44], edi
movzx eax, byte [r12 + 0x22]
shl r8d, 8
or r8d, eax
movzx eax, byte [r12 + 0x23]
shl r8d, 8
or r8d, eax
movzx eax, byte [r12 + 0x25]
or r10d, eax
mov dword [rsp + 0x20], r8d
movzx eax, byte [r12 + 0x26]
shl r10d, 8
or r10d, eax
movzx eax, byte [r12 + 0x27]
shl r10d, 8
or r10d, eax
mov dword [rsp + 0x24], r10d
xor r10d, r8d
add ecx, r10d
mov edx, ecx
dec ecx
rol edx, 1
add edx, ecx
mov r9d, edx
rol r9d, 4
xor r9d, r8d
xor r9d, edx
mov dword [r13 + 4], r9d
lea ecx, [r15 + r9]
mov edx, ecx
inc ecx
rol edx, 2
add edx, ecx
mov eax, edx
rol eax, 8
xor eax, edx
add eax, r11d
mov ecx, eax
rol ecx, 1
sub ecx, eax
mov eax, r9d
or eax, ecx
mov r11d, ecx
rol r11d, 0x10
xor r11d, eax
xor r11d, r10d
mov dword [r13 + 8], r11d
lea ecx, [r11 + r14]
mov eax, ecx
lea r8d, [rcx + 1]
rol eax, 2
add r8d, eax
xor r8d, r9d
xor r11d, r8d
mov dword [r13 + 0xc], r8d
mov dword [r13 + 0x10], r11d
lea ecx, [r11 + rbp]
mov edx, ecx
rol edx, 1
dec ecx
add edx, ecx
mov r9d, edx
rol r9d, 4
xor r9d, r8d
xor r9d, edx
mov dword [r13 + 0x14], r9d
lea ecx, [r9 + rsi]
mov edx, ecx
inc ecx
rol edx, 2
add edx, ecx
mov eax, edx
rol eax, 8
xor eax, edx
add eax, ebx
mov ecx, eax
rol ecx, 1
sub ecx, eax
mov eax, r9d
or eax, ecx
mov r8d, ecx
rol r8d, 0x10
xor r8d, eax
xor r8d, r11d
mov dword [r13 + 0x18], r8d
lea ecx, [r8 + rdi]
lea edx, [rcx + 1]
mov eax, ecx
rol eax, 2
lea rcx, [rsp + 0x28]
add edx, eax
xor edx, r9d
mov dword [r13 + 0x1c], edx
xor edx, r8d
mov dword [r13 + 0x20], edx
mov edx, 0x20
call fcn.1400342a0
mov edx, 8
lea rcx, [rsp + 0x20]
call fcn.1400342a0
mov r15, qword [rsp + 0x50]
xor eax, eax
mov r14, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14004ab20
add rsp, 0x68
pop r13
pop r12
ret