Function at 0x10001050
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x70
mov eax, dword [0x10029830]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x84]
push 0x8000
call fcn.1000896f
mov ecx, dword [0x1001c2b0]
mov ebx, eax
movups xmm0, xmmword [str.CPPTEST_SCAN_INJECT_64]
mov dword [esp + 0x74], ecx
mov cx, word [0x1001c2b4]
mov word [esp + 0x78], cx
mov cl, byte [0x1001c2b6]
push str.Calling_injector.
movups xmmword [esp + 0x68], xmm0
mov byte [esp + 0x7e], cl
call fcn.100012e0
add esp, 8
test ebx, ebx
jne 0x100010d7
push str.ERROR:_Memory_allocation_failed__C1_
call fcn.100012e0
add esp, 4
or eax, 0xffffffff
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100050a1
add esp, 0x70
ret
push edi
push 0x8200
call fcn.1000896f
mov edi, eax
add esp, 4
test edi, edi
jne 0x10001114
push ebx
call fcn.10008954
push str.ERROR:_Memory_allocation_failed__C2_
call fcn.100012e0
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100050a1
add esp, 0x70
ret
push 0x8200
push 0
push edi
call fcn.10006290
push 0x8000
push 0
push ebx
call fcn.10006290
add esp, 0x18
mov dword [esp + 0x20], 0x44
xorps xmm0, xmm0
lea eax, [esp + 0x64]
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
push 0x8000
push ebx
push eax
movlpd qword [esp + 0x40], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
movlpd qword [esp + 0x58], xmm0
movlpd qword [esp + 0x60], xmm0
movlpd qword [esp + 0x68], xmm0
movups xmmword [esp + 0x1c], xmm0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x100011b9
lea eax, [esp + 0x64]
push eax
push str.ERROR:_Cannot_find_environmental_variable__1_:__s
call fcn.100012e0
push edi
call fcn.10008954
push ebx
call fcn.10008954
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100050a1
add esp, 0x70
ret
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push str.__s____d____d_
push 0x81ff
push edi
call fcn.10001010
add esp, 0x18
test esi, esi
jne 0x1000123d
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x1001c360
push 0x1001c370
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000123d
push 0x1001c360
push 0x1001c380
call ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x1000123d
push str.ERROR:_Cannot_get_CreateProcessA_function
call fcn.100012e0
push edi
call fcn.10008954
push ebx
call fcn.10008954
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100050a1
add esp, 0x70
ret
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push edi
push 0
call esi
test eax, eax
jne 0x10001292
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.ERROR:_Create_Injector_failed___d_:__s
call fcn.100012e0
push edi
call fcn.10008954
push ebx
call fcn.10008954
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100050a1
add esp, 0x70
ret
push 0xffffffffffffffff
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [esp + 0x14]
call esi
push edi
call fcn.10008954
push ebx
call fcn.10008954
mov ecx, dword [esp + 0x84]
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100050a1
add esp, 0x70
ret