Function at 0x140006d50
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 [0x1402cf868]
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 [0x1402d5eb8], eax
jle 0x140006de3
lea rcx, [0x1402d5eb8]
call fcn.1401c9670
cmp dword [0x1402d5eb8], 0xffffffff
jne 0x140006de3
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [0x1402d5f28], rax
lea rcx, [0x1402d5eb8]
call fcn.1401c9610
mov eax, dword [r14]
cmp dword [0x1402d5f14], eax
jle 0x140006e2a
lea rcx, [0x1402d5f14]
call fcn.1401c9670
cmp dword [0x1402d5f14], 0xffffffff
jne 0x140006e2a
lea rdx, str.OpenProcess
mov rcx, qword [0x1402d5f28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d5f00], rax
lea rcx, [0x1402d5f14]
call fcn.1401c9610
mov qword [rbp + 8], rsi
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], si
mov r8d, dword [rbx]
xor edx, edx
mov ecx, 0x410
call qword [0x1402d5f00]
mov rsi, rax
mov eax, dword [r14]
cmp dword [0x1402d5f08], eax
jle 0x140006e99
lea rcx, [0x1402d5f08]
call fcn.1401c9670
cmp dword [0x1402d5f08], 0xffffffff
jne 0x140006e99
lea rdx, str.GetNativeSystemInfo
mov rcx, qword [0x1402d5f28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d5f20], rax
lea rcx, [0x1402d5f08]
call fcn.1401c9610
lea rcx, [rbp + 0x28]
call qword [0x1402d5f20]
mov eax, dword [r14]
cmp dword [0x1402d5ea8], eax
jle 0x140006eea
lea rcx, [0x1402d5ea8]
call fcn.1401c9670
cmp dword [0x1402d5ea8], 0xffffffff
jne 0x140006eea
lea rdx, str.IsWow64Process
mov rcx, qword [0x1402d5f28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d5ee0], rax
lea rcx, [0x1402d5ea8]
call fcn.1401c9610
mov eax, dword [r14]
cmp dword [0x1402d5f40], eax
jle 0x140006f31
lea rcx, [0x1402d5f40]
call fcn.1401c9670
cmp dword [0x1402d5f40], 0xffffffff
jne 0x140006f31
lea rdx, [0x1402787f8]
mov rcx, qword [0x1402d5f28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d5f58], rax
lea rcx, [0x1402d5f40]
call fcn.1401c9610
mov rbx, qword [0x1402d5ee0]
call qword [0x1402d5f58]
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.1401d1764
mov rbx, rax
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.1401cc260
lea eax, [r15 + 0x10]
mov qword [rsp + 0x30], rax
mov ecx, eax
call fcn.1401d1764
mov r15, rax
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rax
call fcn.1401cc260
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 0x140007392
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 0x1400070ba
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 + 0x70], xmm0
lea rax, str.NtWow64QueryInformationProcess64_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], gethostname
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
jmp 0x1400077b4
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 0x14000719d
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 + 0x70], xmm0
lea rax, str.PEB_NtWow64ReadVirtualMemory64_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], gethostname
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
jmp 0x1400077b4
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 0x140007266
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 + 0x70], xmm0
lea rax, str.processParameters_NtWow64ReadVirtualMemory64_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x43
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
jmp 0x1400077b4
mov ebx, dword [rbp - 0x70]
movzx ecx, word [rbx + r15 + 2]
call fcn.1401d1764
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 0x14000733c
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 + 0x70], xmm0
lea rax, str.pCommandLine_NtWow64ReadVirtualMemory64_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x3e
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
jmp 0x1400077b4
mov qword [rsp + 0x70], r13
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp - 0x80], xmm0
mov r8, 0xffffffffffffffff
inc r8
cmp word [r14 + r8*2], 0
jne 0x140007355
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140008810
movups xmm6, xmmword [rsp + 0x70]
movups xmmword [rbp + 8], xmm6
movups xmm7, xmmword [rbp - 0x80]
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r13w
jmp 0x140007788
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 0x14000746f
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 + 0x70], xmm0
lea rax, str.NtQueryInformationProcess_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x30
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 0x18], 7
mov word [rdi], ax
jmp 0x1400077b4
mov eax, dword [r14]
cmp dword [0x1402d5ec8], eax
jle 0x1400074b6
lea rcx, [0x1402d5ec8]
call fcn.1401c9670
cmp dword [0x1402d5ec8], 0xffffffff
jne 0x1400074b6
lea rdx, str.ReadProcessMemory
mov rcx, qword [0x1402d5f28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1402d5f48], rax
lea rcx, [0x1402d5ec8]
call fcn.1401c9610
xor r14d, r14d
mov qword [rsp + 0x20], r14
mov r9, r12
mov r8, rbx
mov rdx, qword [rbp - 0x58]
mov rcx, rsi
call qword [0x1402d5f48]
test eax, eax
jne 0x140007583
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
movabs rax, 0x2000000000000000
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 + 0x70], xmm0
lea rax, str.PEB_ReadProcessMemory_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x2c
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 7
mov word [rdi], r14w
jmp 0x1400077b4
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 [0x1402d5f48]
test eax, eax
jne 0x140007655
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
movabs rax, 0x2000000000000000
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 + 0x70], xmm0
lea rax, str.processParameters_ReadProcessMemory_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0x3a
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
jmp 0x1400077b4
mov ebx, dword [rbp - 0x70]
movzx ecx, word [rbx + r15 + 2]
call fcn.1401d1764
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 [0x1402d5f48]
test eax, eax
jne 0x140007734
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
movabs rax, 0x2000000000000000
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 + 0x70], xmm0
lea rax, str.pCommandLine_ReadProcessMemory_failed__error_code:_
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], gethostname
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000c920
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x50]
call fcn.140008940
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r13
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
jmp 0x1400077b4
mov qword [rsp + 0x70], r13
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp - 0x80], xmm0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [r14 + r8*2], 0
jne 0x140007750
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140008810
movups xmm6, xmmword [rsp + 0x70]
movups xmmword [rbp + 8], xmm6
movups xmm7, xmmword [rbp - 0x80]
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r13w
lea rcx, [rsp + 0x70]
call fcn.140008780
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmmword [rdi], xmm6
movups xmmword [rdi + 0x10], xmm7
movdqa xmm0, xmmword [0x1402a1fb0]
movdqu xmmword [rbp + 0x18], xmm0
mov word [rbp + 8], r13w
lea rcx, [rbp + 8]
call fcn.140008780
mov rax, rdi
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.1401c94c0
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