Function at 0x180073a00
Capabilities:
Access peb ldr_data
Parse pe header
Resolve function by parsing pe exports
Write file on windows

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
lea rbp, [r11 - 0x5f]
sub rsp, 0xb0
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov eax, 0x5a4d
mov rdi, rdx
mov rbx, rcx
cmp word [rcx], ax
jne 0x180073f7e
movsxd rax, dword [rcx + 0x3c]
cmp dword [rax + rcx], 0x4550
jne 0x180073f7e
mov ecx, dword [rax + rcx + 0x8c]
mov qword [r11 + 8], rsi
mov qword [r11 + 0x18], r12
mov qword [r11 + 0x20], r13
mov qword [r11 - 0x20], r14
mov qword [r11 - 0x28], r15
mov qword [rbp - 0x39], rcx
test rcx, rcx
je 0x180073d8e
mov r15d, dword [rax + rbx + 0x88]
test r15, r15
je 0x180073d8e
mov esi, dword [r15 + rbx + 0x20]
xor r14d, r14d
mov r12d, dword [r15 + rbx + 0x24]
add rsi, rbx
mov r13d, dword [r15 + rbx + 0x1c]
add r12, rbx
mov r9d, dword [r15 + rbx + 0x18]
add r13, rbx
mov r10d, r14d
test r9, r9
je 0x180073b22
nop word [rax + rax]
mov r11, r9
sub r11, r10
shr r11, 1
add r11, r10
mov eax, dword [rsi + r11*4]
add rax, rbx
test rdi, rdi
jne 0x180073acf
mov ecx, 0xffffffff
jmp 0x180073b0c
test rax, rax
jne 0x180073adb
mov ecx, 1
jmp 0x180073b0c
mov r8, rdi
sub r8, rax
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
movzx edx, byte [rax]
lea rax, [rax + 1]
test cl, cl
je 0x180073b04
cmp cl, dl
je 0x180073af0
sub ecx, edx
je 0x180073c49
test ecx, ecx
lea rax, [r11 + 1]
cmovle rax, r10
cmovle r9, r11
mov r10, rax
cmp r9, rax
jne 0x180073ab0
movabs r13, 0xb605d99064aaa5ff
movabs r12, 0x56745a5543c03140
mov dl, 3
call fcn.180072d40
movabs rcx, 0x57feb027f04a17a2
lea rdx, [rbp - 0x19]
movabs rax, 0xd825ade20bdadd9a
mov r8d, edx
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x19], rax
movabs rax, 0x321a2f3a25e0452f
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x11], rax
movabs rax, 0x78790e022b99f043
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 9], rax
mov qword [rbp - 0x39], rcx
mov rax, qword [rbp - 0x39]
mov qword [rbp - 1], rax
mov qword [rbp - 0x39], r13
mov rax, qword [rbp - 0x39]
mov qword [rbp + 7], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0xf], rax
movabs rax, 0x78790e022b99d079
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x17], rax
mov qword [rbp - 0x39], rcx
lea rcx, [rbp - 0x19]
mov rax, qword [rbp - 0x39]
vmovdqu xmm0, xmmword [rbp - 0x19]
vpxor xmm2, xmm0, xmmword [rbp + 7]
vmovdqu xmm0, xmmword [rbp - 9]
mov qword [rbp + 0x1f], rax
vpxor xmm1, xmm0, xmmword [rbp + 0x17]
vmovq rax, xmm2
vmovdqu xmmword [rbp - 9], xmm1
vmovdqu xmmword [rbp - 0x19], xmm2
test al, al
je 0x180073c0c
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180073c01
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rbp - 0x19]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
mov r8d, edi
cmp byte [rdi], r14b
je 0x180073c3e
inc rax
mov r8, rax
cmp byte [rax], r14b
jne 0x180073c33
sub r8d, edi
mov rdx, rdi
jmp 0x180073f62
movzx eax, word [r12 + r11*2]
mov dl, 1
mov esi, dword [r13 + rax*4]
call fcn.180072d40
movabs rax, 0xd025ade20bdadd9a
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x31], rax
lea rcx, [rbp - 0x29]
mov rax, qword [rbp - 0x31]
movabs r13, 0xb605d99064aaa5ff
mov qword [rbp - 0x29], rax
movabs r12, 0x56745a5543c03140
movabs rax, 0x56747a6f27ae442f
mov r8d, edx
mov qword [rbp - 0x31], rax
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x31], r13
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x31], r12
mov rax, qword [rbp - 0x31]
vmovdqu xmm0, xmmword [rbp - 0x29]
mov qword [rbp - 0x11], rax
vpxor xmm1, xmm0, xmmword [rbp - 0x19]
vmovq rax, xmm1
vmovdqu xmmword [rbp - 0x29], xmm1
test al, al
je 0x180073ce0
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180073cd5
mov rcx, qword [0x180141318]
sub r8d, edx
lea rdx, [rbp - 0x29]
mov qword [rsp + 0x20], r14
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rax, rdi
mov r8d, edi
cmp byte [rdi], r14b
je 0x180073d1b
nop word [rax + rax]
inc rax
mov r8, rax
cmp byte [rax], r14b
jne 0x180073d10
mov rcx, qword [0x180141318]
sub r8d, edi
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rsi, r15
jb 0x180073d4b
mov rax, rsi
sub rax, r15
cmp rax, qword [rbp - 0x39]
jb 0x180073b36
lea rax, [rsi + rbx]
mov r14, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xe8]
mov r12, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0xd0]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800d7380
add rsp, 0xb0
pop rdi
pop rbx
pop rbp
ret
mov dl, 3
call fcn.180072d40
mov r15, rax
lea rdx, [rbp + 7]
movabs rax, 0xde25bcfc11ceca92
movabs r13, 0xb605d99064aaa5ff
mov qword [rbp - 0x39], rax
movabs r12, 0x56745a5543c03140
mov rcx, qword [rbp - 0x39]
movabs rax, 0x2e117a3a2de04221
mov qword [rbp + 7], rcx
mov r8d, edx
mov qword [rbp - 0x39], rax
movabs rax, 0x5a5934715febbf09
mov rcx, qword [rbp - 0x39]
mov qword [rbp + 0xf], rcx
mov qword [rbp - 0x39], rax
mov rcx, qword [rbp - 0x39]
mov qword [rbp + 0x17], rcx
movabs rcx, 0x57feb027f04a17a2
mov qword [rbp - 0x39], rcx
mov rax, qword [rbp - 0x39]
mov qword [rbp + 0x1f], rax
mov qword [rbp - 0x39], r13
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x11], rax
movabs rax, 0x78790e022b99d079
mov qword [rbp - 0x39], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 9], rax
mov qword [rbp - 0x39], rcx
lea rcx, [rbp + 7]
mov rax, qword [rbp - 0x39]
vmovdqu xmm0, xmmword [rbp + 7]
vpxor xmm2, xmm0, xmmword [rbp - 0x19]
vmovdqu xmm0, xmmword [rbp + 0x17]
mov qword [rbp - 1], rax
vpxor xmm1, xmm0, xmmword [rbp - 9]
vmovq rax, xmm2
vmovdqu xmmword [rbp + 0x17], xmm1
vmovdqu xmmword [rbp + 7], xmm2
test al, al
je 0x180073e7b
inc rcx
mov r8, rcx
cmp byte [rcx], 0
jne 0x180073e70
mov rcx, qword [0x180141318]
sub r8d, edx
xor r14d, r14d
lea rdx, [rbp + 7]
xor r9d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rdi, qword gs:[0x60]
mov rcx, qword [rdi + 0x110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0x18]
mov esi, r14d
add rcx, 0x20
mov rax, qword [rcx]
cmp rax, rcx
je 0x180073ed7
cmp qword [rax + 0x20], rbx
je 0x180073ed3
mov rax, qword [rax]
cmp rax, rcx
jne 0x180073ec3
jmp 0x180073ed7
mov rsi, qword [rax + 0x50]
mov rcx, qword [rdi + 0x110]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, rsi
mov rcx, r15
call fcn.180072eb0
movabs rax, 0xb605d99064aaa5dd
lea rdx, [rbp - 0x29]
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x29]
mov rax, qword [rbp - 0x39]
mov r8d, edx
mov qword [rbp - 0x29], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x39], r13
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x39], r12
mov rax, qword [rbp - 0x39]
vmovdqu xmm0, xmmword [rbp - 0x29]
mov qword [rbp - 0x11], rax
vpxor xmm1, xmm0, xmmword [rbp - 0x19]
vmovq rax, xmm1
vmovdqu xmmword [rbp - 0x29], xmm1
test al, al
je 0x180073f5b
nop dword [rax]
inc rcx
mov r8, rcx
cmp byte [rcx], r14b
jne 0x180073f50
sub r8d, edx
lea rdx, [rbp - 0x29]
mov rcx, qword [0x180141318]
xor r9d, r9d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_WriteFile]
xor eax, eax
jmp 0x180073d4f
xor eax, eax
jmp 0x180073d77