Function at 0x14000e340
Capabilities:
Parse pe header

Disassembly:
push rbp
push rbx
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x38]
sub rsp, 0x138
mov rax, qword [0x1402ba040]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov rsi, 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 0x14000e3b6
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb edx, xmm0
shr edx, cl
bsf ecx, edx
mov dword [rsp + 0x40], ecx
je 0x14000e3b2
mov eax, ecx
shr rax, 1
jmp 0x14000e3f8
add rax, 0x10
movdqu xmm0, xmmword [rax]
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x40], edx
jne 0x14000e3ea
nop dword [rax + rax]
movdqu xmm0, xmmword [rax + 0x10]
add rax, 0x10
pcmpeqw xmm0, xmm1
pmovmskb ecx, xmm0
bsf edx, ecx
mov dword [rsp + 0x40], edx
je 0x14000e3d0
sub rax, r8
mov ecx, edx
sar rax, 1
shr rcx, 1
add rax, rcx
add rax, rax
mov qword [rsp + 0x180], rdi
lea rdx, [rsp + 0x48]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r8
call fcn.1401776c0
mov rcx, rax
test rax, rax
je 0x14000e726
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14000e48a
mov edx, dword ds:[rcx + 0x3c]
lea eax, [rdx - 1]
cmp eax, 0x7ffffffd
ja 0x14000e48a
cmp dword [rdx + rcx], 0x4550
jne 0x14000e48a
add rdx, 0x88
add rdx, rcx
mov eax, dword [rdx]
test eax, eax
je 0x14000e48a
cmp dword [rdx + 4], 0
je 0x14000e48a
xor edi, edi
lea r8, [rcx + rax]
lea r9, str.SetTcpEntry
mov word [rsp + 0x20], di
call fcn.140177a80
mov rdx, rax
jmp 0x14000e48e
xor edi, edi
mov edx, edi
mov qword [rsp + 0x38], rdx
test rdx, rdx
je 0x14000e726
mov qword [rsp + 0x130], r14
mov r14d, edi
test r12d, r12d
je 0x14000e718
mov eax, dword [rsp + 0x34]
lea r12, [0x140236d98]
nop dword [rax + rax]
mov rcx, qword [r15]
cmp dword [rcx], 0x11
jne 0x14000e708
cmp dword [rcx + 0x34], 5
jne 0x14000e708
mov dword ds:[rsp + 0x58], 0xc
mov eax, dword [rcx + 8]
mov dword [rsp + 0x5c], eax
movzx eax, word [rcx + 0x18]
ror ax, 8
movzx eax, ax
mov dword [rsp + 0x60], eax
mov eax, dword [rcx + 0x20]
mov dword [rsp + 0x64], eax
movzx eax, word [rcx + 0x30]
ror ax, 8
movzx eax, ax
mov dword [rsp + 0x68], eax
movabs r10, 0xabe5968e7858c970
lea rcx, [rsp + 0x58]
mov rax, rdx
call qword [0x14020a240]
test eax, eax
je 0x14000e6ff
xor r13b, r13b
mov ecx, 5
cmp eax, 0x13d
cmove eax, ecx
test bl, bl
jne 0x14000e6d4
mov ecx, eax
call sym.SystemInformer.exe_QiDosErrorToNtStatus
mov r8d, eax
lea r9, [rsp + 0x31]
lea rdx, str.Unable_to_close_the_TCP_connection
mov rcx, rsi
call fcn.140001c40
test al, al
je 0x14000e6d4
cmp byte [rsp + 0x31], r13b
je 0x14000e6cc
mov rcx, qword [0x1402c9fb0]
test rcx, rcx
jne 0x14000e599
mov ebx, 0xc0000037
lfence
mov ecx, ebx
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14000e652
mov eax, dword [rsp + 0x58]
lea r8, [rsp + 0x70]
mov dword [rbp - 0x60], eax
lea rdx, [rsp + 0x70]
mov eax, dword [rsp + 0x5c]
mov dword [rbp - 0x5c], eax
mov eax, dword [rsp + 0x60]
mov dword [rbp - 0x58], eax
mov eax, dword [rsp + 0x64]
mov dword [rbp - 0x54], eax
mov eax, dword [rsp + 0x68]
mov dword [rbp - 0x50], eax
mov dword [rbp - 0x68], 9
mov qword [rsp + 0x70], 0xb00088
call qword [sym.imp.ntdll.dll_NtRequestWaitReplyPort]
mov ebx, eax
test eax, eax
js 0x14000e5fd
mov ebx, dword [rbp - 0x64]
test ebx, ebx
js 0x14000e5fd
mov r13b, 1
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
movzx ebx, byte [rsp + 0x30]
jmp 0x14000e6ff
nop dword [rax]
cmp ebx, 0xc0000022
je 0x14000e62d
cmp ebx, 0xc0000005
je 0x14000e62d
mov eax, ebx
shr eax, 0x10
and eax, 0xfff
cmp eax, 7
jne 0x14000e624
movzx eax, bx
jmp 0x14000e638
cmp eax, 0xb
jne 0x14000e63c
mov eax, ebx
jmp 0x14000e638
lfence
mov ecx, ebx
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosErrorNoTeb]
test eax, eax
jne 0x14000e648
lfence
mov ecx, ebx
call sym.SystemInformer.exe_QiGetNtMessage
jmp 0x14000e652
lfence
mov ecx, eax
call sym.SystemInformer.exe_QiGetWin32Message
lea r9, str.Unable_to_close_the_TCP_connection
mov rbx, rax
mov rcx, rsi
test rax, rax
je 0x14000e6b1
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_QiShowMessage2
lea rcx, [rbx - 0x10]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14000e6be
lfence
call fcn.14013fb00
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
movzx ebx, byte [rsp + 0x30]
jmp 0x14000e6ff
mov r8, r12
mov edx, 0x10
call sym.SystemInformer.exe_QiShowMessage
nop
call sym.SystemInformer.exe_QiUiDisconnectFromPhSvc
movzx ebx, byte [rsp + 0x30]
jmp 0x14000e6ff
mov bl, 1
mov byte [rsp + 0x30], bl
jmp 0x14000e6ff
lea rax, str.Make_sure
mov edx, 1
lea r9, str.Unable_to_close_the_TCP_connection.
mov qword [rsp + 0x20], rax
mov r8d, 0xfffe
mov rcx, rsi
call sym.SystemInformer.exe_QiShowMessage2
cmp eax, 1
jne 0x14000e718
mov eax, dword [rsp + 0x34]
mov rdx, qword [rsp + 0x38]
inc r14d
add r15, 8
cmp r14d, eax
jb 0x14000e4c0
mov r14, qword [rsp + 0x130]
movzx eax, r13b
jmp 0x14000e747
lea r9, str.This_feature_is_not_supported_by_your_operating_system.
mov edx, 0x10
lea r8, [0x140236d98]
mov rcx, rsi
call sym.SystemInformer.exe_QiShowMessage
xor al, al
mov rdi, qword [rsp + 0x180]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1401e0100
add rsp, 0x138
pop r15
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret