Function at 0x1400012d0
Capabilities:
Contain obfuscated stackstrings
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x2d8
mov byte [rsp + 0x30], 0x39
mov byte [rsp + 0x31], 0x32
mov byte [rsp + 0x32], 0x33
mov byte [rsp + 0x33], 0x31
mov byte [rsp + 0x34], 0x34
mov byte [rsp + 0x35], 0x36
mov byte [rsp + 0x36], 0x39
mov byte [rsp + 0x37], 0x36
mov byte [rsp + 0x38], 0x32
mov byte [rsp + 0x39], 0x33
mov byte [rsp + 0x3a], 0x34
mov byte [rsp + 0x3b], 0x39
mov byte [rsp + 0x3c], 0x34
mov byte [rsp + 0x3d], 0x32
mov byte [rsp + 0x3e], 0x33
mov byte [rsp + 0x3f], 0x31
mov byte [rsp + 0x40], 0
mov rax, qword [rsp + 0x2f0]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140001365
xor eax, eax
jmp 0x1400015d3
mov rax, qword [rsp + 0x78]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
cmp dword [rax], 0x4550
je 0x140001398
xor eax, eax
jmp 0x1400015d3
lea rax, [rsp + 0x1e0]
mov rcx, qword [rsp + 0x80]
mov rdi, rax
lea rsi, [rcx + 0x18]
mov ecx, 0xf0
rep movsb byte [rdi], byte [rsi]
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x250]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x254]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
mov dword [rsp + 0x24], 0
jmp 0x140001452
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x24], eax
jae 0x1400015d3
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x90]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x98]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x48], ax
movzx eax, word [rsp + 0x48]
mov rcx, qword [rsp + 0xa0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
lea rax, [rsp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0x70], rax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0x70]
movzx eax, byte [rax]
mov byte [rsp + 0x20], al
mov rax, qword [rsp + 0x58]
movzx ecx, byte [rsp + 0x20]
mov byte [rax], cl
mov rax, qword [rsp + 0x70]
inc rax
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x58]
inc rax
mov qword [rsp + 0x58], rax
cmp byte [rsp + 0x20], 0
jne 0x1400014f9
lea rcx, [rsp + 0xd0]
call fcn.140004140
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0xd0]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x14000155c
mov rax, qword [rsp + 0x60]
mov dword [rsp + 0x6c], eax
lea rcx, [rsp + 0x30]
call fcn.140004140
mov eax, eax
mov ecx, dword [rsp + 0x68]
mov r9d, eax
lea r8, [rsp + 0x30]
mov edx, ecx
lea rcx, [rsp + 0xd0]
call fcn.140004310
mov eax, dword [rsp + 0x6c]
mov r8d, eax
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x2f8]
call fcn.140003ee0
test eax, eax
jne 0x1400015ce
mov rax, qword [rsp + 0xb8]
jmp 0x1400015d3
jmp 0x140001448
add rsp, 0x2d8
pop rdi
pop rsi
ret