Function at 0x10042890
Capabilities:
Check if file exists
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10138139
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x101ba518]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0xd4], ebx
mov eax, dword [ebp + 8]
push 0x44
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x120]
push 0
push eax
mov dword [ebp - 0x124], 0
call fcn.1011da50
xorps xmm0, xmm0
xor esi, esi
add esp, 0xc
mov dword [ebp - 0xc0], esi
movdqu xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 4], esi
xor eax, eax
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x48], esi
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
test dword [ebx + 0xac], 0x80000000
je 0x1004298b
mov dword [ebp - 0xb4], 0x80004
cmp dword [ebx + 0x8c], eax
je 0x1004297a
cmp dword [ebx + 0x90], eax
je 0x1004297a
lea eax, [ebp - 0xc0]
mov ecx, ebx
push eax
call fcn.100427e0
mov esi, dword [ebp - 0xc0]
test al, al
je 0x1004297a
mov dword [ebp - 0xe0], esi
jmp 0x10042995
mov dword [ebx + 0x94], 0
xor edi, edi
jmp 0x10042cc9
mov dword [ebp - 0xb4], 4
mov edi, dword [ebx + 0x98]
test edi, edi
je 0x10042a1c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100429a4
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
cmp eax, 0x3fffffff
jle 0x100429c1
xor eax, eax
jmp 0x100429d9
add eax, eax
call fcn.101224d0
mov ecx, esp
mov edx, edi
push 3
push dword [ebp - 0xb0]
call fcn.1003afe0
push eax
lea ecx, [ebp - 0x40]
call fcn.100062a0
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100412c0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x10042a08
push dword [ebp - 0x40]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
push 0x44
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.1011da50
mov ecx, dword [ebp - 0xbc]
xor eax, eax
add esp, 0xc
mov dword [ebp - 0xf8], 1
cmp dword [ebp - 0xb4], 4
setne al
lea eax, [eax*4 + 0x44]
mov dword [ebp - 0x124], eax
mov ax, word [ebx + 0xac]
mov word [ebp - 0xf4], ax
lea eax, [ebx + 0x74]
cmp ecx, eax
je 0x10042a77
push 0xffffffffffffffff
push 0
push eax
call fcn.10009170
cmp dword [ebp - 0x18], 0
je 0x10042a8a
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x10042ad5
mov edi, dword [ebx + 0x98]
test edi, edi
jne 0x10042a98
xor eax, eax
jmp 0x10042ad5
mov ecx, edi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10042aa0
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
cmp eax, 0x3fffffff
jle 0x10042abd
xor eax, eax
jmp 0x10042ad5
add eax, eax
call fcn.101224d0
mov ecx, esp
mov edx, edi
push 3
push dword [ebp - 0xb0]
call fcn.1003afe0
lea ecx, [ebp - 0xd0]
push ecx
lea ecx, [ebp - 0x124]
push ecx
push 0
push 0
push dword [ebp - 0xb4]
push 0
push 0
push 0
push eax
push 0
call dword [0x101c9a48]
test eax, eax
je 0x10042c87
cmp byte [ebp + 0xc], 0
jne 0x10042c48
mov edi, dword [ebp - 0xd0]
lea eax, [ebp - 0xb5]
push eax
lea eax, [ebp - 0xb4]
push eax
lea edx, [ebp - 0xb0]
lea ecx, [ebx + 0x74]
call fcn.1001a730
add esp, 8
test al, al
jne 0x10042b45
test edi, edi
je 0x10042b45
mov eax, 2
cmp edi, 0xffffffff
jne 0x10042b4b
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xc8]
cmp eax, 3
mov ecx, dword [ebp - 0xbc]
sete byte [ebp - 0xb0]
push dword [ebp - 0xb0]
call fcn.100145d0
mov dword [ebp - 0xdc], eax
add esp, 4
mov dword [ebp - 0xd8], edx
xor eax, eax
and edx, 0x80
or eax, edx
jne 0x10042c48
push str.Injecting_virtual_child_process_with_module__1__failed_error_with__2_
lea ecx, [ebp - 0x70]
call fcn.100062a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push str.VEnv
call fcn.100062a0
mov byte [ebp - 4], 5
call fcn.10010ed0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.10036150
mov ebx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
push 0x28d
push str.WinExecCommand::ExternalCallRealCreateProcess
call fcn.100361d0
mov edi, eax
mov byte [ebp - 4], 7
mov ecx, ebx
push dword [ebp - 0xbc]
call fcn.1002c7f0
lea eax, [ebp - 0xdc]
mov ecx, ebx
push eax
call fcn.100203f0
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 1
call fcn.100363f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.1000fb80
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xac]
call fcn.10035360
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
call fcn.10006340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10006340
mov ebx, dword [ebp - 0xd4]
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x7530
push dword [ebp - 0xd0]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xd0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0xcc]
call edi
mov dword [ebx + 0x94], 0x21
jmp 0x10042cba
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x94], eax
cmp eax, 2
jb 0x10042cb0
cmp eax, 3
jbe 0x10042cba
cmp eax, 0xc1
jne 0x10042cb0
mov dword [ebx + 0x94], 0xb
jmp 0x10042cba
mov dword [ebx + 0x94], 0
mov eax, 0x1f
cmp eax, dword [ebx + 0x94]
sbb edi, edi
neg edi
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 8
jb 0x10042cde
push dword [ebp - 0x28]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp dword [ebp - 0x44], 8
jb 0x10042d06
push dword [ebp - 0x58]
call fcn.10115284
add esp, 4
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.10115284
add esp, 4
mov eax, edi
lea esp, [ebp - 0x134]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10115289
mov esp, ebp
pop ebp
ret 8