Function at 0x140007930
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 [0x1402d59c0]
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 [0x1402dc038], eax
jle 0x1400079c3
lea rcx, [0x1402dc038]
call fcn.1401ca5c0
cmp dword [0x1402dc038], 0xffffffff
jne 0x1400079c3
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1402dc098], rax
lea rcx, [0x1402dc038]
call fcn.1401ca554
mov eax, dword [r14]
cmp dword [0x1402dc084], eax
jle 0x140007a0a
lea rcx, [0x1402dc084]
call fcn.1401ca5c0
cmp dword [0x1402dc084], 0xffffffff
jne 0x140007a0a
lea rdx, str.OpenProcess
mov rcx, qword [0x1402dc098]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402dc078], rax
lea rcx, [0x1402dc084]
call fcn.1401ca554
xorps xmm0, xmm0
movups xmmword [rbp + 8], xmm0
movdqa xmm1, xmmword [0x1402a74e0]
movdqu xmmword [rbp + 0x18], xmm1
mov word [rbp + 8], si
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [0x1402dc078]
mov rsi, rax
mov eax, dword [r14]
cmp dword [0x1402dc080], eax
jle 0x140007a7c
lea rcx, [0x1402dc080]
call fcn.1401ca5c0
cmp dword [0x1402dc080], 0xffffffff
jne 0x140007a7c
lea rdx, str.GetNativeSystemInfo
mov rcx, qword [0x1402dc098]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402dc090], rax
lea rcx, [0x1402dc080]
call fcn.1401ca554
lea rcx, [rbp + 0x28]
call qword [0x1402dc090]
mov eax, dword [r14]
cmp dword [0x1402dc028], eax
jle 0x140007acd
lea rcx, [0x1402dc028]
call fcn.1401ca5c0
cmp dword [0x1402dc028], 0xffffffff
jne 0x140007acd
lea rdx, str.IsWow64Process
mov rcx, qword [0x1402dc098]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402dc060], rax
lea rcx, [0x1402dc028]
call fcn.1401ca554
mov eax, dword [r14]
cmp dword [0x1402dc0b0], eax
jle 0x140007b14
lea rcx, [0x1402dc0b0]
call fcn.1401ca5c0
cmp dword [0x1402dc0b0], 0xffffffff
jne 0x140007b14
lea rdx, [0x1402977a8]
mov rcx, qword [0x1402dc098]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402dc0c8], rax
lea rcx, [0x1402dc0b0]
call fcn.1401ca554
mov rbx, qword [0x1402dc060]
call qword [0x1402dc0c8]
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.1401d1f20
mov rbx, rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.14020bf50
lea eax, [r15 + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, eax
call fcn.1401d1f20
mov r15, rax
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.14020bf50
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 0x140007e9f
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
mov r9d, 0x58
lea r8, [rbp - 0x60]
xor edx, edx
mov rcx, rsi
call rax
test eax, eax
je 0x140007cac
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.14000c9c0
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.140008e10
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 0x14000815a
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 0x140007d47
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 0x140007c56
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 0x140007e1d
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.14000c9c0
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.140008e10
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 0x14000815a
mov ebx, dword [rbp - 0x70]
movzx ecx, word [rbx + r15 + 2]
call fcn.1401d1f20
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 0x140007e78
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 0x140007d94
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 0x140007e90
jmp 0x1400080ff
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 0x140007f89
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.14000c9c0
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.140008e10
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 0x14000815a
mov eax, dword [r14]
cmp dword [0x1402dc048], eax
jle 0x140007fd0
lea rcx, [0x1402dc048]
call fcn.1401ca5c0
cmp dword [0x1402dc048], 0xffffffff
jne 0x140007fd0
lea rdx, str.ReadProcessMemory
mov rcx, qword [0x1402dc098]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402dc0b8], rax
lea rcx, [0x1402dc048]
call fcn.1401ca554
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9, r12
mov r8, rbx
mov rdx, qword [rbp - 0x58]
mov rcx, rsi
call qword [0x1402dc0b8]
test eax, eax
jne 0x140008022
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 0x140007d0f
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 [0x1402dc0b8]
test eax, eax
jne 0x140008079
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 0x140007d94
mov ebx, dword [rbp - 0x70]
movzx ecx, word [rbx + r15 + 2]
call fcn.1401d1f20
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 [0x1402dc0b8]
test eax, eax
jne 0x1400080dd
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 0x140007d94
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 0x1400080f5
mov rdx, r14
lea rcx, [rsp + 0x50]
call fcn.14000ac80
movups xmm6, xmmword [rsp + 0x50]
movups xmm7, xmmword [rsp + 0x60]
movdqa xmm0, xmmword [0x1402a74e0]
movups xmmword [rbp + 8], xmm6
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
lea rcx, [rsp + 0x50]
call fcn.140008da0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movdqa xmm0, xmmword [0x1402a74e0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r13w
lea rcx, [rbp + 8]
call fcn.140008da0
mov rax, rdi
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1401ca4f0
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