Function at 0x140008540
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x1402d78c0]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
mov r14d, 4
mov rax, qword gs:[0x58]
add r14, qword [rax]
mov eax, dword [r14]
cmp dword [0x1402de138], eax
jle 0x1400085d3
lea rcx, [0x1402de138]
call fcn.1401cc630
cmp dword [0x1402de138], 0xffffffff
jne 0x1400085d3
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1402de198], rax
lea rcx, [0x1402de138]
call fcn.1401cc5c4
mov eax, dword [r14]
cmp dword [0x1402de184], eax
jle 0x14000861a
lea rcx, [0x1402de184]
call fcn.1401cc630
cmp dword [0x1402de184], 0xffffffff
jne 0x14000861a
lea rdx, str.OpenProcess
mov rcx, qword [0x1402de198]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402de178], rax
lea rcx, [0x1402de184]
call fcn.1401cc5c4
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x1402aaa90]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], si
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [0x1402de178]
mov rsi, rax
mov eax, dword [r14]
cmp dword [0x1402de180], eax
jle 0x14000868c
lea rcx, [0x1402de180]
call fcn.1401cc630
cmp dword [0x1402de180], 0xffffffff
jne 0x14000868c
lea rdx, str.GetNativeSystemInfo
mov rcx, qword [0x1402de198]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402de190], rax
lea rcx, [0x1402de180]
call fcn.1401cc5c4
lea rcx, [rbp + 0x28]
call qword [0x1402de190]
mov eax, dword [r14]
cmp dword [0x1402de128], eax
jle 0x1400086dd
lea rcx, [0x1402de128]
call fcn.1401cc630
cmp dword [0x1402de128], 0xffffffff
jne 0x1400086dd
lea rdx, str.IsWow64Process
mov rcx, qword [0x1402de198]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402de160], rax
lea rcx, [0x1402de128]
call fcn.1401cc5c4
mov eax, dword [r14]
cmp dword [0x1402de1b0], eax
jle 0x140008724
lea rcx, [0x1402de1b0]
call fcn.1401cc630
cmp dword [0x1402de1b0], 0xffffffff
jne 0x140008724
lea rdx, [0x14029a1b8]
mov rcx, qword [0x1402de198]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402de1c8], rax
lea rcx, [0x1402de1b0]
call fcn.1401cc5c4
mov rbx, qword [0x1402de160]
call qword [0x1402de1c8]
mov rcx, rax
lea rdx, [rbp]
call rbx
mov ecx, 0x20
mov r13d, reloc.WS2_32.dll_recv
cmp word [rbp + 0x28], 9
cmove r13d, ecx
mov ecx, reloc.WS2_32.dll_WSASetLastError
mov r15d, 0x40
cmove r15d, ecx
mov dword [rbp - 0x70], r15d
lea eax, [r13 + 8]
mov r12d, eax
mov qword [rsp + 0x40], r12
mov ecx, eax
call fcn.1401d6938
mov rbx, rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.14020e700
lea eax, [r15 + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, eax
call fcn.1401d6938
mov r15, rax
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14020e700
xorps xmm0, xmm0
lea rcx, str.ntdll.dll
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
cmp dword [rbp], 0
je 0x140008aaf
xor eax, eax
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWow64QueryInformationProcess64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9d, [r14 + 0x58]
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x1400088ba
lea rcx, str.NtWow64QueryInformationProcess64_failed__error_code:_
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x58], gethostname
mov dword [rsp + 0x48], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], 1
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm1
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.140010a40
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x70]
call fcn.14000b610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
jmp 0x140008d6a
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtWow64ReadVirtualMemory64
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r12, rax
mov qword [rsp + 0x20], r14
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rbp - 0x50]
mov rcx, rsi
call r12
test eax, eax
je 0x140008955
lea rcx, str.PEB_NtWow64ReadVirtualMemory64_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], gethostname
mov dword [rsp + 0x58], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
jmp 0x140008864
mov eax, r13d
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x30]
mov r8, r15
mov rdx, qword [rax + rbx]
mov rcx, rsi
call r12
test eax, eax
je 0x140008a2b
lea rcx, str.processParameters_NtWow64ReadVirtualMemory64_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x43
mov dword [rsp + 0x58], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140010a40
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x70]
call fcn.14000b610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
jmp 0x140008d6a
mov ebx, dword [rbp - 0x70]
movzx ecx, word [rbx + r15 + 2]
call fcn.1401d6938
mov r14, rax
movzx r9d, word [rbx + r15 + 2]
mov qword [rsp + 0x20], r13
mov r8, rax
mov rdx, qword [rbx + r15 + 8]
mov rcx, rsi
call r12
test eax, eax
je 0x140008a86
lea rcx, str.pCommandLine_NtWow64ReadVirtualMemory64_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x3e
mov dword [rsp + 0x58], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x50], rax
jmp 0x1400089a2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [r14 + r8*2], r13w
jne 0x140008aa0
jmp 0x140008d0f
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQueryInformationProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x20], 0
mov r9d, 0x30
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x140008b99
lea rcx, str.NtQueryInformationProcess_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x30
mov dword [rsp + 0x58], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.140010a40
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x70]
call fcn.14000b610
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
xor eax, eax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
jmp 0x140008d6a
mov eax, dword [r14]
cmp dword [0x1402de148], eax
jle 0x140008be0
lea rcx, [0x1402de148]
call fcn.1401cc630
cmp dword [0x1402de148], 0xffffffff
jne 0x140008be0
lea rdx, str.ReadProcessMemory
mov rcx, qword [0x1402de198]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402de1b8], rax
lea rcx, [0x1402de148]
call fcn.1401cc5c4
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9, r12
mov r8, rbx
mov rdx, qword [rbp - 0x58]
mov rcx, rsi
call qword [0x1402de1b8]
test eax, eax
jne 0x140008c32
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.PEB_ReadProcessMemory_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x2c
mov dword [rsp + 0x58], eax
movabs rax, 0x2000000000000000
mov qword [rsp + 0x50], rax
jmp 0x14000891d
mov eax, r13d
xor r13d, r13d
mov qword [rsp + 0x20], r13
mov r9, qword [rsp + 0x30]
mov r8, r15
mov rdx, qword [rax + rbx]
mov rcx, rsi
call qword [0x1402de1b8]
test eax, eax
jne 0x140008c89
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.processParameters_ReadProcessMemory_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 0x3a
mov dword [rsp + 0x58], eax
movabs rax, 0x2000000000000000
mov qword [rsp + 0x50], rax
jmp 0x1400089a2
mov ebx, dword [rbp - 0x70]
movzx ecx, word [rbx + r15 + 2]
call fcn.1401d6938
mov r14, rax
movzx r9d, word [rbx + r15 + 2]
mov qword [rsp + 0x20], r13
mov r8, rax
mov rdx, qword [rbx + r15 + 8]
mov rcx, rsi
call qword [0x1402de1b8]
test eax, eax
jne 0x140008ced
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.pCommandLine_ReadProcessMemory_failed__error_code:_
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], gethostname
mov dword [rsp + 0x58], eax
movabs rax, 0x2000000000000000
mov qword [rsp + 0x50], rax
jmp 0x1400089a2
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp word [r14 + r8*2], r13w
jne 0x140008d05
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14000e280
movups xmm6, xmmword [rsp + 0x50]
movups xmm7, xmmword [rsp + 0x60]
movdqa xmm0, xmmword [0x1402aaa90]
movups xmmword [rbp + 8], xmm6
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
lea rcx, [rsp + 0x50]
call fcn.14000b4e0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movdqa xmm0, xmmword [0x1402aaa90]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r13w
lea rcx, [rbp + 8]
call fcn.14000b4e0
mov rax, rdi
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1401cc560
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret