Function at 0x1401a7bf0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
mov eax, 0x12b0
call fcn.1402173b0
sub rsp, rax
mov rax, qword [0x140320740]
xor rax, rsp
mov qword [rsp + 0x12a0], rax
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x190]
mov rdi, rax
xor eax, eax
mov ecx, Ordinal_50
rep stosb byte [rdi], al
mov qword [rsp + 0x68], 0
mov edx, Ordinal_27
mov rcx, qword [rsp + 0x12c8]
call fcn.1401a9400
mov rcx, qword [rsp + 0x12c8]
call fcn.1401a7540
mov qword [rsp + 0xd8], rax
mov eax, dword [rsp + 0x40]
or eax, 1
mov dword [rsp + 0x40], eax
mov rcx, qword [rsp + 0x12c0]
call fcn.1401a11a0
mov qword [rsp + 0x48], rax
jmp 0x1401a7ca0
mov rax, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x190]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x12c0]
call fcn.1401a10d0
cmp qword [rsp + 0x48], rax
jae 0x1401a8112
mov rax, qword [rsp + 0x12c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x70], rax
lea r8, [rsp + 0x190]
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x12c0]
call qword [rsp + reloc.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0xc000000d
je 0x1401a7d07
cmp dword [rsp + 0x30], 0xc0000022
je 0x1401a7d07
cmp dword [rsp + 0x30], 0xc000010a
jne 0x1401a7d0e
jmp 0x1401a8112
cmp dword [rsp + 0x30], 0
je 0x1401a7d1a
jmp 0x1401a7c85
cmp dword [rsp + 0x1b0], 0x1000
jne 0x1401a7d50
cmp dword [rsp + 0x1a0], 1
je 0x1401a7d50
mov eax, dword [rsp + 0x1a0]
and eax, 0x100
test eax, eax
jne 0x1401a7d50
mov rax, qword [rsp + 0x198]
cmp qword [rsp + 0x68], rax
jne 0x1401a7d55
jmp 0x1401a7c85
lea rcx, [rsp + 0x1c0]
call fcn.140138e80
nop
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x12c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x20], 0
mov r9d, 0x1000
lea r8, [rsp + 0x2a0]
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x12c0]
call qword [rsp + 0x78]
test eax, eax
je 0x1401a7dd8
lea rcx, [rsp + 0x1c0]
call fcn.140139df0
nop
jmp 0x1401a7c85
mov rax, qword [rsp + 0x58]
movsxd rax, dword [rax + 0x3c]
lea rax, [rsp + rax + 0x2a0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x58]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x1401a7e14
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
je 0x1401a7e27
lea rcx, [rsp + 0x1c0]
call fcn.140139df0
nop
jmp 0x1401a7c85
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x1401a7e53
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x208], eax
mov dword [rsp + 0x20c], 0
jmp 0x1401a7e7d
mov rax, qword [rsp + 0x38]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
jne 0x1401a7e7d
mov rax, qword [rsp + 0x60]
mov eax, dword [rax + 0x50]
mov dword [rsp + 0x208], eax
mov dword [rsp + 0x20c], 1
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x210], 0
mov byte [rsp + 0x218], 0
lea rax, [rsp + 0x2a0]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x12c0]
mov rax, qword [rax]
mov rax, qword [rax + 0x28]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x20], 0x1000
mov r9, qword [rsp + 0x50]
mov r8d, 2
mov rdx, qword [rsp + 0x198]
mov rcx, qword [rsp + 0x12c0]
call qword [rsp + 0x80]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jne 0x1401a8045
mov rax, qword [rsp + 0x12c0]
movzx eax, byte [rax + 0x16]
cmp eax, 1
jne 0x1401a7f95
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x150]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x88]
mov eax, dword [rax + 4]
mov edx, eax
mov rcx, qword [rsp + 0x90]
call fcn.1400da6d0
mov qword [rsp + 0x98], rax
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0xf0]
call fcn.1401613b0
mov qword [rsp + 0xa0], rax
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x1e8]
call fcn.140139fe0
lea rcx, [rsp + 0xf0]
call fcn.1400da5e0
nop
jmp 0x1401a8003
lea rax, [rsp + 0x170]
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0x50]
mov rdx, qword [rax + 8]
mov rcx, qword [rsp + 0xa8]
call fcn.1400da6d0
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x110]
call fcn.1401613b0
mov qword [rsp + 0xb8], rax
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x1e8]
call fcn.140139fe0
lea rcx, [rsp + 0x110]
call fcn.1400da5e0
nop
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x130]
call fcn.1401612c0
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x1c8]
call fcn.140139fe0
lea rcx, [rsp + 0x130]
call fcn.1400da5e0
nop
jmp 0x1401a80a1
lea rax, [rsp + 0x220]
mov rdi, rax
xor eax, eax
mov ecx, 0x80
rep stosb byte [rdi], al
mov r8, qword [rsp + 0x1c0]
lea rdx, str.Unknown_0x_I64x
lea rcx, [rsp + 0x220]
call qword [sym.imp.USER32.dll_wsprintfW]
lea rdx, [rsp + 0x220]
lea rcx, [rsp + 0x1e8]
call fcn.14013a100
lea rdx, [rsp + 0x1e8]
lea rcx, [rsp + 0x1c8]
call fcn.14013a060
nop
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0xe0]
call fcn.1401555c0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x12c8]
call fcn.1401a65d0
nop
lea rcx, [rsp + 0xe0]
call fcn.1400daa10
nop
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x1c0]
call fcn.140139df0
nop
jmp 0x1401a7c85
mov rax, qword [rsp + 0x12c8]
mov rcx, qword [rsp + 0x12a0]
xor rcx, rsp
call fcn.1402164b0
add rsp, 0x12b0
pop rdi
ret