Function at 0x14017c3d0
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x520
mov rax, qword [0x14034e740]
xor rax, rsp
mov qword [rsp + 0x510], rax
mov dword [rsp + 0x30], 0
lea rcx, [rsp + 0x1d0]
call fcn.14017b940
nop
mov rax, qword [rsp + 0x540]
cmp qword [rax], 0
jne 0x14017c459
mov edx, 0xc00000ef
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x220]
call fcn.140182d80
lea rax, [fcn.140272de0]
mov qword [rsp + 0x88], rax
lea r8, [rsp + 0x88]
xor edx, edx
lea rcx, [rsp + 0x220]
call fcn.140178f10
nop
lea rax, [rsp + 0x2c0]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0x300]
mov rdi, rax
xor eax, eax
mov ecx, 0x108
rep stosb byte [rdi], al
lea rax, [rsp + 0x300]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x300]
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x50], 0
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 8]
mov qword [rsp + 0x90], rax
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x2c0]
mov r8d, 0x40
mov rax, qword [rsp + 0x540]
mov rdx, qword [rax]
mov rcx, qword [rsp + 0x90]
call fcn.1401a2f90
nop
movzx eax, word [rsp + 0x2c0]
cmp eax, 0x5a4d
je 0x14017c579
mov edx, 0xc000012f
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 8]
mov qword [rsp + 0x98], rax
movsxd rax, dword [rsp + 0x2fc]
mov rcx, qword [rsp + 0x540]
add rax, qword [rcx]
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x300]
mov r8d, 0x108
mov rdx, rax
mov rcx, qword [rsp + 0x98]
call fcn.1401a2f90
nop
mov rax, qword [rsp + 0x58]
cmp dword [rax], 0x4550
je 0x14017c616
mov edx, 0xc000007b
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x14017c63f
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x78]
mov qword [rsp + 0x50], rax
jmp 0x14017c659
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14017d003
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x14017c68d
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x58]
mov eax, dword [rcx + rax + 0x7c]
mov dword [rsp + 0x38], eax
jmp 0x14017c6a6
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x78]
mov eax, dword [rcx + rax + 0x8c]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov ecx, eax
call fcn.1402848c8
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140183510
lea rcx, [rsp + 0x220]
call fcn.140183240
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa0], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x540]
mov rcx, qword [rcx]
add rcx, qword [rsp + 0x50]
mov byte [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0xa0]
call fcn.1401a2f90
mov dword [rsp + 0x60], eax
cmp dword [rsp + 0x60], 0
jge 0x14017c767
mov edx, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
mov eax, dword [rsp + 0x38]
cmp rax, 0x28
ja 0x14017c880
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x18]
cmp dword [rax + 0x14], ecx
jbe 0x14017c795
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
mov dword [rsp + 0x70], eax
jmp 0x14017c7a1
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
sub rax, qword [rsp + 0x50]
imul ecx, dword [rsp + 0x70], 0xff
mov ecx, ecx
add rax, rcx
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x38]
mov ecx, eax
call fcn.1402848c8
mov rdx, rax
lea rcx, [rsp + 0x220]
call fcn.140183510
lea rcx, [rsp + 0x220]
call fcn.140183240
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 8]
mov qword [rsp + 0xa8], rax
mov eax, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x540]
mov rcx, qword [rcx]
add rcx, qword [rsp + 0x50]
mov byte [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rsp + 0xa8]
call fcn.1401a2f90
mov dword [rsp + 0x64], eax
cmp dword [rsp + 0x64], 0
jge 0x14017c880
mov edx, dword [rsp + 0x64]
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x24]
add rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x20]
add rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
add rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x50]
mov qword [rsp + 0xc0], rax
mov dword [rsp + 0x48], 0
jmp 0x14017c8e2
mov eax, dword [rsp + 0x48]
inc eax
mov dword [rsp + 0x48], eax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x48], eax
jae 0x14017d003
mov eax, 0xffff
mov word [rsp + 0x34], ax
mov qword [rsp + 0x80], 0
cmp qword [rsp + 0x548], 0xffff
ja 0x14017c927
movzx eax, word [rsp + 0x48]
mov word [rsp + 0x34], ax
jmp 0x14017c9c0
cmp qword [rsp + 0x548], 0xffff
jbe 0x14017c97b
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x48], eax
jae 0x14017c97b
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xb0]
mov eax, dword [rcx + rax*4]
add rax, qword [rsp + 0x40]
sub rax, qword [rsp + 0x50]
mov qword [rsp + 0x80], rax
mov eax, dword [rsp + 0x48]
mov rcx, qword [rsp + 0xb8]
movzx eax, word [rcx + rax*2]
mov word [rsp + 0x34], ax
jmp 0x14017c9c0
mov edx, 0xc0000225
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
cmp qword [rsp + 0x548], 0xffff
ja 0x14017c9e7
movzx eax, word [rsp + 0x548]
movzx ecx, word [rsp + 0x34]
mov rdx, qword [rsp + 0x40]
add ecx, dword [rdx + 0x10]
cmp eax, ecx
je 0x14017ca2c
cmp qword [rsp + 0x548], 0xffff
jbe 0x14017cffe
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x548]
sub rcx, rax
movzx edx, byte [rax]
cmp dl, byte [rax + rcx]
jne 0x14017ca1f
inc rax
test dl, dl
jne 0x14017ca0c
xor eax, eax
jmp 0x14017ca24
sbb eax, eax
or eax, 1
test eax, eax
jne 0x14017cffe
movzx eax, word [rsp + 0x34]
mov rcx, qword [rsp + 0xc0]
mov eax, dword [rcx + rax*4]
mov rcx, qword [rsp + 0x540]
add rax, qword [rcx]
mov qword [rsp + 0x1d0], rax
mov rax, qword [rsp + 0x540]
mov rax, qword [rax]
add rax, qword [rsp + 0x50]
cmp qword [rsp + 0x1d0], rax
jb 0x14017cf88
mov rax, qword [rsp + 0x540]
mov rax, qword [rax]
add rax, qword [rsp + 0x50]
mov ecx, dword [rsp + 0x38]
add rax, rcx
cmp qword [rsp + 0x1d0], rax
ja 0x14017cf88
lea rax, [rsp + 0x410]
mov rdi, rax
xor eax, eax
mov ecx, 0xff
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x530]
mov rax, qword [rax + 8]
mov qword [rsp + 0xc8], rax
mov byte [rsp + 0x20], 0
lea r9, [rsp + 0x410]
mov r8d, 0xff
mov rdx, qword [rsp + 0x1d0]
mov rcx, qword [rsp + 0xc8]
call fcn.1401a2f90
lea rdx, [rsp + 0x410]
lea rcx, [rsp + 0x280]
call fcn.1400d4c50
nop
xor r8d, r8d
lea rdx, [0x1402e2e30]
lea rcx, [rsp + 0x280]
call fcn.140183170
mov r9, rax
xor r8d, r8d
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0x280]
call fcn.140183660
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rax
lea r8, str..dll
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x2a0]
call fcn.1400f4e60
nop
lea rcx, [rsp + 0x110]
call fcn.1400d4b60
nop
xor r8d, r8d
lea rdx, [0x1402e2e34]
lea rcx, [rsp + 0x280]
call fcn.140183170
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x280]
call fcn.140183660
nop
xor r8d, r8d
lea rdx, [rsp + 0x2a0]
lea rcx, [rsp + 0x240]
call fcn.140186610
nop
mov byte [rsp + 0x21a], 1
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x1d8]
call fcn.14015fbb0
xor r8d, r8d
lea rdx, reloc.WLDAP32.dll_Ordinal_35
lea rcx, [rsp + 0x260]
call fcn.140183170
test rax, rax
jne 0x14017cc03
mov dword [rsp + 0x68], 1
jmp 0x14017cc0b
mov dword [rsp + 0x68], 0
movzx eax, byte [rsp + 0x68]
mov byte [rsp + 0x21b], al
movzx eax, byte [rsp + 0x21b]
test eax, eax
je 0x14017cc45
lea rcx, [rsp + 0x260]
call fcn.1400d4a80
inc rax
mov rcx, rax
call fcn.14028c664
mov word [rsp + 0x218], ax
jmp 0x14017cc5b
lea rdx, [rsp + 0x260]
lea rcx, [rsp + 0x1f8]
call fcn.14017ba50
nop
mov rax, qword [rsp + 0x58]
movzx eax, word [rax + 0x18]
cmp eax, 0x10b
jne 0x14017cc75
mov dword [rsp + 0x6c], 0
jmp 0x14017cc7d
mov dword [rsp + 0x6c], 1
mov eax, dword [rsp + 0x6c]
mov dword [rsp + 0x74], eax
mov edx, reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x230]
call fcn.14016c1b0
mov rax, qword [rsp + 0x550]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8, [rsp + 0x240]
lea rdx, [rsp + 0x230]
mov rcx, qword [rsp + 0x530]
call fcn.14017d4e0
nop
xor edx, edx
lea rcx, [rsp + 0x230]
call fcn.140179480
movzx eax, al
test eax, eax
je 0x14017cda9
lea rax, [rsp + 0x130]
mov qword [rsp + 0xe0], rax
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0xe0]
call fcn.14017b890
mov qword [rsp + 0xe8], rax
mov r8d, 0x107
mov rdx, qword [rsp + 0xe8]
mov rcx, qword [rsp + 0x538]
call fcn.14017b3b0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x230]
call fcn.1400dcca0
nop
lea rcx, [rsp + 0x240]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x260]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x2a0]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x280]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
nop
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
movzx eax, byte [rsp + 0x21b]
test eax, eax
je 0x14017ce71
lea rcx, [rsp + 0x240]
call fcn.1400dc800
movzx ecx, word [rsp + 0x218]
mov qword [rsp + 0x20], rax
mov r9d, ecx
lea r8, [rsp + 0x230]
mov rdx, qword [rsp + 0x538]
mov rcx, qword [rsp + 0x530]
call fcn.14017d100
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x230]
call fcn.1400dcca0
nop
lea rcx, [rsp + 0x240]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x260]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x2a0]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x280]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
lea rcx, [rsp + 0x240]
call fcn.1400dc800
mov qword [rsp + 0xf0], rax
lea rcx, [rsp + 0x260]
call fcn.1400d4a80
mov qword [rsp + 0xf8], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xf8]
lea r8, [rsp + 0x230]
mov rdx, qword [rsp + 0x538]
mov rcx, qword [rsp + 0x530]
call fcn.14017d100
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x230]
call fcn.1400dcca0
nop
lea rcx, [rsp + 0x240]
call fcn.1400dc870
nop
lea rcx, [rsp + 0x260]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x2a0]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x280]
call fcn.1400d4b60
nop
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
lea rax, [rsp + 0x180]
mov qword [rsp + 0x100], rax
lea rdx, [rsp + 0x1d0]
mov rcx, qword [rsp + 0x100]
call fcn.14015eed0
mov qword [rsp + 0x108], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x108]
mov rcx, qword [rsp + 0x538]
call fcn.14017b3b0
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
nop
mov rax, qword [rsp + 0x538]
jmp 0x14017d043
jmp 0x14017c8d8
mov edx, 0xc0000225
mov rcx, qword [rsp + 0x538]
call fcn.14017b360
mov eax, dword [rsp + 0x30]
or eax, 1
mov dword [rsp + 0x30], eax
lea rcx, [rsp + 0x220]
call fcn.14017b9a0
nop
lea rcx, [rsp + 0x1d0]
call fcn.14015fa40
mov rax, qword [rsp + 0x538]
mov rcx, qword [rsp + 0x510]
xor rcx, rsp
call fcn.14023b7f0
add rsp, 0x520
pop rdi
ret