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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10139109
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x101bb518]
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.1011e040
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 0x100477eb
mov dword [ebp - 0xb4], 0x80004
cmp dword [ebx + 0x8c], eax
je 0x100477da
cmp dword [ebx + 0x90], eax
je 0x100477da
lea eax, [ebp - 0xc0]
mov ecx, ebx
push eax
call fcn.1005f580
mov esi, dword [ebp - 0xc0]
test al, al
je 0x100477da
mov dword [ebp - 0xe0], esi
jmp 0x100477f5
mov dword [ebx + 0x94], 0
xor edi, edi
jmp 0x10047b29
mov dword [ebp - 0xb4], 4
mov edi, dword [ebx + 0x98]
test edi, edi
je 0x1004787c
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047804
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
cmp eax, 0x3fffffff
jle 0x10047821
xor eax, eax
jmp 0x10047839
add eax, eax
call fcn.10122ac0
mov ecx, esp
mov edx, edi
push 3
push dword [ebp - 0xb0]
call fcn.1005f580
push eax
lea ecx, [ebp - 0x40]
call fcn.1005f580
mov byte [ebp - 4], 3
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.1005f580
mov byte [ebp - 4], 2
cmp dword [ebp - 0x2c], 8
jb 0x10047868
push dword [ebp - 0x40]
call fcn.10115871
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.1011e040
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 0x100478d7
push 0xffffffffffffffff
push 0
push eax
call fcn.1005f580
cmp dword [ebp - 0x18], 0
je 0x100478ea
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x10047935
mov edi, dword [ebx + 0x98]
test edi, edi
jne 0x100478f8
xor eax, eax
jmp 0x10047935
mov ecx, edi
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10047900
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0xb0], eax
cmp eax, 0x3fffffff
jle 0x1004791d
xor eax, eax
jmp 0x10047935
add eax, eax
call fcn.10122ac0
mov ecx, esp
mov edx, edi
push 3
push dword [ebp - 0xb0]
call fcn.1005f580
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 [0x101caa30]
test eax, eax
je 0x10047ae7
cmp byte [ebp + 0xc], 0
jne 0x10047aa8
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.1005f580
add esp, 8
test al, al
jne 0x100479a5
test edi, edi
je 0x100479a5
mov eax, 2
cmp edi, 0xffffffff
jne 0x100479ab
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.1005f580
mov dword [ebp - 0xdc], eax
add esp, 4
mov dword [ebp - 0xd8], edx
xor eax, eax
and edx, 0x80
or eax, edx
jne 0x10047aa8
push str.Injecting_virtual_child_process_with_module__1__failed_error_with__2_
lea ecx, [ebp - 0x70]
call fcn.1005f580
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x40]
push str.VEnv
call fcn.1005f580
mov byte [ebp - 4], 5
call fcn.1005f580
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.1005f580
mov ebx, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
push 0x28d
push str.WinExecCommand::ExternalCallRealCreateProcess
call fcn.1005f580
mov edi, eax
mov byte [ebp - 4], 7
mov ecx, ebx
push dword [ebp - 0xbc]
call fcn.1005f580
lea eax, [ebp - 0xdc]
mov ecx, ebx
push eax
call fcn.1005f580
push ebx
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
push 1
call fcn.1005f580
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8c]
call fcn.1005f580
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xac]
call fcn.1005f580
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 0x10047b1a
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [ebx + 0x94], eax
cmp eax, 2
jb 0x10047b10
cmp eax, 3
jbe 0x10047b1a
cmp eax, 0xc1
jne 0x10047b10
mov dword [ebx + 0x94], 0xb
jmp 0x10047b1a
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 0x10047b3e
push dword [ebp - 0x28]
call fcn.10115871
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 0x10047b66
push dword [ebp - 0x58]
call fcn.10115871
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.10115871
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.10115876
mov esp, ebp
pop ebp
ret 8