Function at 0x140009eca
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x78
mov rsi, rcx
cmp word [rdx], 0x5a4d
jne 0x140009fba
mov rdi, rdx
movsxd rax, dword [rdx + 0x3c]
cmp dword [rdx + rax], 0x4550
jne 0x14000a088
mov rbx, r9
mov r14, r8
mov qword [rsp + 0x60], rsi
mov eax, dword [rdi + rax + 0x88]
mov ebp, dword [rdi + rax + 0x18]
mov ecx, dword [rdi + rax + 0x1c]
add rcx, rdi
mov qword [rsp + 0x70], rcx
mov r13d, dword [rdi + rax + 0x20]
add r13, rdi
mov eax, dword [rdi + rax + 0x24]
mov qword [rsp + 0x68], rax
lea r15, [0x1400a6ad0]
xor esi, esi
cmp rbp, rsi
je 0x14000a146
mov r12d, dword [r13 + rsi*4]
inc rsi
add r12, rdi
mov rcx, r12
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
lea rcx, [rsp + 0x20]
mov rdx, r12
mov r8, rax
call fcn.14000e000
cmp qword [rsp + 0x20], 0
mov rdx, qword [rsp + 0x30]
mov eax, 0
cmovne rdx, rax
mov rcx, qword [rsp + 0x28]
cmovne rcx, r15
mov r8, r14
mov r9, rbx
call fcn.140002531
test al, al
je 0x140009f38
mov rax, qword [rsp + 0x68]
add rax, rdi
movzx eax, word [rax + rsi*2 - 2]
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rax*4]
add rax, rdi
mov rcx, qword [rsp + 0x60]
mov qword [rcx + 8], rax
and qword [rcx], 0
jmp 0x14000a1d1
lea rax, [0x14009975f]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [0x1400a0630]
cmp rdx, 0x10
jae 0x140009ffe
mov r8, qword [rdx + rcx]
xor r8, qword [rax + rdx + 0x7eb4]
mov qword [rsp + rdx + 0x20], r8
add rdx, 8
jmp 0x140009fe1
xor edx, edx
lea r8, [rdx + 0x10]
cmp r8, 0x13
ja 0x14000a037
movzx r8d, byte [rdx + rcx + 0x12]
shl r8d, 0x10
movzx r9d, word [rdx + rcx + 0x10]
add r8d, r9d
add r8d, 0x3c000000
xor r8d, dword [rax + rdx + 0x7ec4]
mov dword [rsp + rdx + 0x30], r8d
add rdx, 4
jmp 0x14000a000
mov al, byte [rax + 0x7ec8]
xor al, 0xa4
mov byte [rsp + 0x34], al
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
mov rax, qword [rsp + 0x2d]
mov qword [rsp + 0x4d], rax
mov ecx, 0x15
xor edx, edx
call fcn.140023368
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov rcx, qword [rsp + 0x4d]
mov qword [rax + 0xd], rcx
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], 0x15
jmp 0x14000a1d1
lea rax, [0x1400991ab]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
and dword [rsp + 0x30], 0
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
xor edx, edx
lea rcx, [0x1400a0645]
cmp rdx, 0x10
jae 0x14000a0cc
mov r8, qword [rdx + rcx]
xor r8, qword [rax + rdx + 0x847d]
mov qword [rsp + rdx + 0x20], r8
add rdx, 8
jmp 0x14000a0af
xor edx, edx
lea r8, [rdx + 0x10]
cmp r8, 0x13
ja 0x14000a105
movzx r8d, byte [rdx + rcx + 0x12]
shl r8d, 0x10
movzx r9d, word [rdx + rcx + 0x10]
add r8d, r9d
add r8d, 0xcf000000
xor r8d, dword [rax + rdx + 0x848d]
mov dword [rsp + rdx + 0x30], r8d
add rdx, 4
jmp 0x14000a0ce
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0x50], eax
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
mov ecx, 0x14
xor edx, edx
call fcn.140023368
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
mov ecx, dword [rsp + 0x50]
mov dword [rax + 0x10], ecx
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], 0x14
jmp 0x14000a1d1
lea rax, [0x140093178]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
xor ecx, ecx
lea rdx, [0x1400a0659]
mov rsi, qword [rsp + 0x60]
cmp rcx, 0xf
ja 0x14000a18a
mov r8, qword [rcx + rdx]
xor r8, qword [rax + rcx + 0xe4c4]
mov qword [rsp + rcx + 0x20], r8
add rcx, 8
jmp 0x14000a16d
movzx eax, word [rax + 0xe4d4]
xor eax, 0x657
movaps xmm0, xmmword [rsp + 0x20]
movaps xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x50], ax
mov ecx, 0x12
xor edx, edx
call fcn.140023368
movaps xmm0, xmmword [rsp + 0x40]
movups xmmword [rax], xmm0
movzx ecx, word [rsp + 0x50]
mov word [rax + 0x10], cx
mov qword [rsi], rax
mov qword [rsi + 8], rdx
mov qword [rsi + 0x10], 0x12
add rsp, 0x78
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret