Function at 0x140133f10
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xd38
lea rbp, [rsp + 0x30]
mov rax, qword [0x1401a95d8]
xor rax, rbp
mov qword [rbp + 0xcf0], rax
mov eax, 2
imul rax, rax, 0x20
mov ecx, WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x14
mov ecx, 0x69
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x69
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x1f
mov ecx, 0x75
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x41
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 8
mov ecx, 0x5c
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x53
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x10
mov ecx, 0x66
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x63
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x27
mov ecx, WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x54
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x1a
mov ecx, 0x20
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x13
mov ecx, 0x57
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x23
mov ecx, WSASetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x29
mov ecx, 0x69
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x22
mov ecx, 0x65
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x1b
mov ecx, 0x4e
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x45
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x12
mov ecx, 0x5c
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x1c
mov ecx, 0x54
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x25
mov ecx, 0x56
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x4f
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x2a
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x19
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x28
mov ecx, reloc.WS2_32.dll_WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x1e
mov ecx, 0x43
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x16
mov ecx, 0x64
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x57
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x46
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x21
mov ecx, WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x15
mov ecx, WSASetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x18
mov ecx, 0x77
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, WSAStartup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x2b
mov ecx, WSASetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x2c
mov qword [rbp + 0x30], rax
cmp qword [rbp + 0x30], 0x5a
jae 0x14013427c
jmp 0x140134281
call fcn.140171264
xor eax, eax
mov rcx, qword [rbp + 0x30]
mov word [rbp + rcx + 0x890], ax
mov eax, 2
imul rax, rax, 0x24
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 6
mov ecx, 0x52
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 9
mov ecx, 0x4d
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x11
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x17
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x26
mov ecx, 0x65
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 0x1d
mov ecx, 0x5c
mov word [rbp + rax + 0x890], cx
mov eax, 2
imul rax, rax, 9
mov ecx, reloc.WS2_32.dll_WSAGetLastError
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0xc
mov ecx, 0x63
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 7
mov ecx, 0x50
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 5
mov ecx, 0x61
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0xb
mov ecx, 0x75
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0xe
mov ecx, 0x49
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 2
mov ecx, 0x67
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0x10
mov qword [rbp + 0x38], rax
cmp qword [rbp + 0x38], 0x22
jae 0x1401343d9
jmp 0x1401343de
call fcn.140171264
xor eax, eax
mov rcx, qword [rbp + 0x38]
mov word [rbp + rcx + 0x860], ax
mov eax, 2
imul rax, rax, 3
mov ecx, 0x69
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0xa
mov ecx, 0x64
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0xd
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 1
mov ecx, 0x69
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0
mov ecx, 0x44
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 0xf
mov ecx, 0x64
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 6
mov ecx, WSASetLastError
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 4
mov ecx, reloc.WS2_32.dll_WSACleanup
mov word [rbp + rax + 0x860], cx
mov eax, 2
imul rax, rax, 8
mov ecx, WSAStartup
mov word [rbp + rax + 0x860], cx
lea rax, [rbp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x800
rep stosb byte [rdi], al
mov dword [rbp + 4], 0x800
lea rax, [rbp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
lea rdx, [rbp + 0x890]
mov rcx, 0xffffffff80000002
call fcn.1400aaf9c
test eax, eax
jne 0x14013466c
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x860]
mov rcx, qword [rbp + 0x48]
call fcn.1400ab098
mov dword [rbp + 0x20], eax
cmp dword [rbp + 0x20], 0
jne 0x140134663
lea rax, [rbp + 0x8f0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov r8d, dword [rbp + 4]
lea rdx, [rbp + 0x8f0]
lea rcx, [rbp + 0x60]
call fcn.14013468c
mov dword [rbp + 0x24], 3
lea rax, [rbp + 0x8f0]
mov qword [rbp + 0x10], rax
cmp qword [rbp + 0x10], 0
jne 0x140134578
mov qword [rbp + 0x40], 0
jmp 0x140134642
mov rcx, qword [rbp + 0x10]
call fcn.140177e20
inc eax
mov dword [rbp], eax
cmp dword [rbp], 0x3fffffff
jle 0x14013459c
mov qword [rbp + 8], 0
jmp 0x14013463a
movsxd rax, dword [rbp]
shl rax, 1
mov rcx, rax
add rcx, 0xf
cmp rcx, rax
ja 0x1401345b9
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140171a60
sub rsp, rax
lea rax, [rsp + 0x30]
mov qword [rbp + 0x18], rax
mov rax, qword [rbp + 0x50]
mov qword [rbp + 8], rax
cmp qword [rbp + 0x18], 0
je 0x1401345e7
cmp qword [rbp + 0x10], 0
jne 0x1401345f1
mov qword [rbp + 8], 0
jmp 0x14013463a
xor eax, eax
mov rcx, qword [rbp + 0x18]
mov word [rcx], ax
mov eax, dword [rbp]
mov dword [rsp + 0x28], eax
mov rax, qword [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0xffffffff
mov r8, qword [rbp + 0x10]
xor edx, edx
mov ecx, dword [rbp + 0x24]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [rbp + 0x28], eax
cmp dword [rbp + 0x28], 0
jne 0x140134632
mov qword [rbp + 8], 0
jmp 0x14013463a
mov rax, qword [rbp + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rbp + 8]
mov qword [rbp + 0x40], rax
movsxd rax, dword [rbp + 0xd28]
mov r9, 0xffffffffffffffff
mov r8, qword [rbp + 0x40]
mov rdx, rax
mov rcx, qword [rbp + 0xd20]
call fcn.14017e49c
mov rcx, qword [rbp + 0x48]
call fcn.1400ab2cc
mov rcx, qword [rbp + 0xcf0]
xor rcx, rbp
call fcn.140171490
lea rsp, [rbp + 0xd08]
pop rdi
pop rbp
ret