Function at 0x140010040
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1402bf040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rdi, rcx
mov dword [rsp + 0x34], r8d
xor bl, bl
mov r12d, r8d
lea r8, str.iphlpapi.dll
mov byte [rsp + 0x30], bl
mov rax, r8
mov rcx, r8
and rax, 0xfffffffffffffff1
mov r15, rdx
mov r13b, 1
xorps xmm1, xmm1
and ecx, 0xf
je 0x1400100b6
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x38], ecx
je 0x1400100b2
mov eax, ecx
shr rax, 1
jmp 0x1400100f8
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x38], edx
jne 0x1400100ea
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + 0x10]
add rax, 0x10
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x38], edx
je 0x1400100d0
sub rax, r8
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
mov qword [rsp + 0x130], r14
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], r8
call fcn.14017d8a0
mov rcx, rax
test rax, rax
je 0x140010424
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14001018a
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14001018a
cmp dword [rdx + rcx], 0x4550
jne 0x14001018a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14001018a
cmp dword [rdx + 4], 0
je 0x14001018a
xor r14d, r14d
lea r8, [rcx + rax]
lea r9, str.SetTcpEntry
mov word [rsp + 0x20], r14w
call fcn.14017dc40
mov rdx, rax
jmp 0x140010190
xor r14d, r14d
mov edx, r14d
mov qword [rsp + 0x40], rdx
test rdx, rdx
je 0x140010424
mov qword [rsp + 0x180], rsi
mov esi, r14d
test r12d, r12d
je 0x140010416
mov eax, dword [rsp + 0x34]
lea r12, [0x14023a10c]
nop dword [rax]
mov rcx, qword [r15]
cmp dword [rcx], 0x11
jne 0x140010408
cmp dword [rcx + 0x34], 5
jne 0x140010408
mov dword [rsp + 0x50], 0xc
mov eax, dword [rcx + 8]
mov dword [rsp + 0x54], eax
movzx eax, word [rcx + 0x18]
ror ax, 8
movzx eax, ax
mov dword [rsp + 0x58], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x5c], eax
movzx eax, word [rcx + 0x30]
lea rcx, [rsp + 0x50]
ror ax, 8
movzx eax, ax
mov dword [rsp + 0x60], eax
mov rax, rdx
call qword [case.0x14013d64a.0]
nop dword [rax + rax]
test eax, eax
je 0x1400103ff
xor r13b, r13b
mov ecx, 5
cmp eax, 0x13d
cmove eax, ecx
test bl, bl
jne 0x1400103d4
mov ecx, eax
call sym.SystemInformer.exe_PhDosErrorToNtStatus
mov r8d, eax
lea r9, [rsp + 0x31]
lea rdx, str.Unable_to_close_the_TCP_connection
mov rcx, rdi
call fcn.140001ae0
test al, al
je 0x1400103d4
cmp byte [rsp + 0x31], r13b
je 0x1400103cc
mov rcx, qword [0x1402cfa10]
test rcx, rcx
jne 0x140010299
mov ebx, 0xc0000037
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140010350
mov eax, dword [rsp + 0x50]
lea r8, [rsp + 0x70]
mov dword [rbp - 0x60], eax
lea rdx, [rsp + 0x70]
mov eax, dword [rsp + 0x54]
mov dword [rbp - 0x5c], eax
mov eax, dword [rsp + 0x58]
mov dword [rbp - 0x58], eax
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x54], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x68], 9
mov qword [rsp + 0x70], 0xb00088
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, dword [rbp - 0x64]
test eax, eax
cmovs ebx, eax
test ebx, ebx
js 0x1400102fa
mov r13b, 1
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
movzx ebx, byte [rsp + 0x30]
jmp 0x1400103ff
mov eax, ebx
cmp ebx, 0xc0000022
je 0x14001032b
cmp eax, 0xc0000005
je 0x14001032b
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xfff
cmp ecx, 7
jne 0x140010324
movzx ecx, ax
jmp 0x140010338
cmp ecx, 0xb
jne 0x14001033c
jmp 0x140010336
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
mov ecx, eax
test ecx, ecx
jne 0x140010348
lfence
mov ecx, ebx
call sym.SystemInformer.exe_PhGetNtMessage
jmp 0x140010350
lfence
call sym.SystemInformer.exe_PhGetWin32Message
lea r9, str.Unable_to_close_the_TCP_connection
mov rbx, rax
mov rcx, rdi
test rax, rax
je 0x1400103b1
lfence
lfence
mov rax, qword [rax + 8]
mov edx, 0x20
mov qword [rsp + 0x28], rax
mov r8d, 0xfffe
mov qword [rsp + 0x20], r12
call sym.SystemInformer.exe_PhShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400103be
lfence
call fcn.140141ca0
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
movzx ebx, byte [rsp + 0x30]
jmp 0x1400103ff
mov r8, r12
mov edx, 0x10
call sym.SystemInformer.exe_PhShowMessage
nop
call sym.SystemInformer.exe_PhUiDisconnectFromPhSvc
movzx ebx, byte [rsp + 0x30]
jmp 0x1400103ff
mov bl, 1
mov byte [rsp + 0x30], bl
jmp 0x1400103ff
lea rax, str.Make_sure_System_Informer_is_running_with_administrative_privileges.
mov edx, 1
lea r9, str.Unable_to_close_the_TCP_connection.
mov qword [rsp + 0x20], rax
mov r8d, 0xfffe
mov rcx, rdi
call sym.SystemInformer.exe_PhShowMessage2
cmp eax, 1
jne 0x140010416
mov eax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x40]
inc esi
add r15, 8
cmp esi, eax
jb 0x1400101c0
mov rsi, qword [rsp + 0x180]
movzx eax, r13b
jmp 0x140010441
lea r9, str.This_feature_is_not_supported_by_your_operating_system.
mov edx, 0x10
lea r8, [0x14023a10c]
mov rcx, rdi
call sym.SystemInformer.exe_PhShowMessage
xor al, al
mov r14, qword [rsp + 0x130]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1401e4160
add rsp, 0x138
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret