Function at 0x140001350
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, 0x418
mov byte [rsp + 0x48], 0x39
mov byte [rsp + 0x49], 0x32
mov byte [rsp + 0x4a], 0x33
mov byte [rsp + 0x4b], 0x31
mov byte [rsp + 0x4c], 0x34
mov byte [rsp + 0x4d], 0x36
mov byte [rsp + 0x4e], 0x39
mov byte [rsp + 0x4f], 0x36
mov byte [rsp + 0x50], 0x32
mov byte [rsp + 0x51], 0x33
mov byte [rsp + 0x52], 0x34
mov byte [rsp + 0x53], 0x39
mov byte [rsp + 0x54], 0x34
mov byte [rsp + 0x55], 0x32
mov byte [rsp + 0x56], 0x33
mov byte [rsp + 0x57], 0x31
mov byte [rsp + 0x58], 0
mov rax, qword [rsp + 0x430]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400013eb
xor eax, eax
jmp 0x14000184c
mov rax, qword [rsp + 0xb0]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
cmp dword [rax], 0x4550
je 0x140001421
xor eax, eax
jmp 0x14000184c
lea rax, [rsp + 0x320]
mov rcx, qword [rsp + 0xb8]
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 + 0x390]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov eax, 8
imul rax, rax, 0
mov eax, dword [rsp + rax + 0x394]
mov dword [rsp + 0xa0], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0x38], 0
jmp 0x1400014db
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x68]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x38], eax
jae 0x14000184c
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xe0], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xd0]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x60], ax
movzx eax, word [rsp + 0x60]
mov rcx, qword [rsp + 0xd8]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x40]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x210]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0xa8], rax
lea rax, [rsp + 0x210]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xa8]
movzx eax, byte [rax]
mov byte [rsp + 0x30], al
mov rax, qword [rsp + 0x80]
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
mov rax, qword [rsp + 0xa8]
inc rax
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x80]
inc rax
mov qword [rsp + 0x80], rax
cmp byte [rsp + 0x30], 0
jne 0x140001588
lea rcx, [rsp + 0x210]
call fcn.1400030d0
mov dword [rsp + 0x98], eax
lea rax, [rsp + 0x210]
mov qword [rsp + 0xe8], rax
mov qword [rsp + 0x88], 0xffffffffffffffff
inc qword [rsp + 0x88]
mov rax, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x88]
cmp byte [rax + rcx], 0
jne 0x140001603
mov rax, qword [rsp + 0x88]
mov dword [rsp + 0x9c], eax
lea rcx, [rsp + 0x48]
call fcn.1400030d0
mov eax, eax
mov ecx, dword [rsp + 0x98]
mov r9d, eax
lea r8, [rsp + 0x48]
mov edx, ecx
lea rcx, [rsp + 0x210]
call fcn.1400031b0
mov eax, dword [rsp + 0x9c]
mov r8d, eax
lea rdx, [rsp + 0x210]
mov rcx, qword [rsp + 0x438]
call fcn.140002db0
test eax, eax
jne 0x140001847
mov rax, qword [rsp + 0x68]
cmp qword [rsp + 0x78], rax
jb 0x140001840
mov eax, dword [rsp + 0xa0]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
cmp qword [rsp + 0x78], rax
jae 0x140001840
lea rax, [rsp + 0x100]
mov rdi, rax
xor eax, eax
mov ecx, 0x104
rep stosb byte [rdi], al
mov dword [rsp + 0x70], 0
xor eax, eax
mov word [rsp + 0x64], ax
mov qword [rsp + 0xc0], 0
xor eax, eax
cmp eax, 1
je 0x140001782
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x400
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x140001782
mov r8, qword [rsp + 0x438]
lea rdx, str.API:__s_n
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.USER32.dll_wsprintfA]
mov dword [rsp + 0xa4], eax
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, dword [rsp + 0xa4]
mov rdx, qword [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x90]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x78]
call fcn.1400030d0
mov eax, eax
lea rcx, [rsp + 0x100]
mov rdi, rcx
mov rsi, qword [rsp + 0x78]
mov ecx, eax
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x34], 0
jmp 0x1400017b6
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x100]
call fcn.1400030d0
cmp dword [rsp + 0x34], eax
jae 0x1400017f2
mov eax, dword [rsp + 0x34]
movsx eax, byte [rsp + rax + 0x100]
cmp eax, 0x2e
jne 0x1400017f0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0x34]
mov byte [rsp + rax + 0x100], 0
jmp 0x1400017f2
jmp 0x1400017ac
lea rax, [rsp + 0x100]
mov word [rsp + 0x64], ax
mov eax, dword [rsp + 0x70]
lea rax, [rsp + rax + 0x101]
mov qword [rsp + 0xc0], rax
lea rcx, [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0xf0], rax
mov rdx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xf0]
call fcn.140001350
jmp 0x14000184c
mov rax, qword [rsp + 0x78]
jmp 0x14000184c
jmp 0x1400014d1
add rsp, 0x418
pop rdi
pop rsi
ret