Function at 0x10029503
Capabilities:
Resume thread

Disassembly:
mov eax, 0x10135754
call fcn.1007db34
sub esp, 0x65c
push ebx
push esi
lea eax, [ebp - 0x58]
push edi
push eax
lea eax, [ebp - 0x40]
push dword [ebp + 0x2c]
mov edi, ecx
xor esi, esi
mov dword [ebp - 0x2c], edi
push eax
mov dword [ebp - 0x58], esi
call fcn.1002f4c9
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
lea eax, [ebp - 0x20]
push dword [ebp + 0x10]
mov dword [ebp - 4], esi
mov dword [ebp - 0x24], esi
push eax
call fcn.1002f696
push dword [ebp + 0x14]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], esi
call fcn.10094520
cmp dword [ebp + 0x10], esi
mov byte [ebp - 4], 2
mov ebx, 0x101ad1f8
jne 0x100295a7
push esi
mov ecx, ebx
call fcn.1004bccb
test eax, eax
je 0x100295a7
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
call fcn.1002f8a9
cmp dword [ebp - 0x1c], esi
mov byte [ebp - 4], 3
je 0x1002959b
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x14]
push eax
call fcn.10094e50
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.10094cc0
push 4
lea ecx, [ebp - 0x68]
call fcn.1005eb25
mov eax, dword [0x101b04b8]
mov byte [ebp - 4], 4
cmp eax, esi
mov edi, 0x101ad158
je 0x100295e8
push dword [ebp - 0x14]
mov ecx, edi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.100aa1c0
push eax
push str.__s___CSafeInject::OnCreateProcessInternalW___App:_s___Cmd:_s_____s_
push 0x101786b8
push 4
call fcn.1007bb15
add esp, 0x1c
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.1005eb48
mov ecx, edi
call fcn.10057e76
test eax, eax
je 0x1002965b
mov ecx, 0x101ad158
call fcn.10057c87
test eax, eax
je 0x1002965b
mov ebx, 0x10160a84
mov edi, 0x10160a78
push ebx
push edi
lea ecx, [ebp - 0x14]
call fcn.10096c00
test eax, eax
je 0x1002962c
mov dword [ebp - 0x1c], 1
push ebx
push edi
lea ecx, [ebp - 0x40]
call fcn.10096c00
test eax, eax
je 0x10029641
mov dword [ebp - 0x58], 1
push ebx
push edi
lea ecx, [ebp - 0x20]
call fcn.10096c00
test eax, eax
je 0x10029656
mov dword [ebp - 0x24], 1
mov ebx, 0x101ad1f8
lea eax, [ebp - 0x54]
mov dword [ebp - 0x54], esi
push eax
call fcn.100011ce
test eax, eax
pop ecx
je 0x100297af
test byte [ebp - 0x54], 1
je 0x100297af
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov ebx, dword [esi + 0x20]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.1005e85a
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x10029725
mov ecx, dword [esi + 0xc]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], eax
jne 0x100296d3
mov eax, dword [ebp + 0x14]
jmp 0x100296e1
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.10095990
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
je 0x100296ed
mov ecx, dword [ebp - 0x20]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], eax
jmp 0x10029797
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10029797
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x1c], 0
jne 0x10029740
mov eax, dword [ebp + 0x14]
jmp 0x1002974e
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.10095990
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
je 0x1002975a
mov ecx, dword [ebp - 0x20]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [esi + 0xa], 0x80
mov dword [esi + 0x10], eax
je 0x10029797
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [ebp - 0x1c], 0
je 0x100297a7
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10095a60
mov esi, dword [esi + 0x14]
jmp 0x10029ff8
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x27e]
mov word [ebp - 0x280], si
rep stosd dword es:[edi], eax
push 4
lea ecx, [ebp - 0x60]
mov dword [ebp - 0x18], esi
call fcn.1005eb25
push dword [ebp + 0x14]
mov ecx, ebx
mov byte [ebp - 4], 5
push dword [ebp + 0x10]
call fcn.1004ee2f
test eax, eax
jne 0x100297f0
call fcn.100511e1
test eax, eax
jne 0x10029809
mov ecx, 0x101ad158
call fcn.10057be9
test eax, eax
je 0x10029841
mov ecx, ebx
call fcn.1004dc65
test eax, eax
jne 0x10029841
lea eax, [ebp - 0x280]
push 0x104
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.1002bd5f
add esp, 0x10
test eax, eax
je 0x1002983a
lea eax, [ebp - 0x280]
mov ecx, ebx
push eax
call fcn.1004f0fe
mov dword [ebp - 0x18], eax
jmp 0x10029841
mov dword [ebp - 0x18], 2
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x280]
push eax
call fcn.1002fa4b
test eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x60]
je 0x1002988e
call fcn.1005eb48
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10094cc0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10094cc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10094cc0
xor eax, eax
jmp 0x1002a01e
call fcn.1005eb48
cmp dword [ebp - 0x18], esi
jne 0x100299eb
push 1
lea ecx, [ebp - 0x3c]
call fcn.10001261
mov esi, dword [ebp + 8]
mov byte [ebp - 4], 6
mov eax, dword [esi + 0x24]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x38], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp + 8], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
mov ebx, dword [esi + 0x20]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x2c]
push eax
push edi
call fcn.1005e85a
mov eax, dword [ebp + 8]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x28], eax
je 0x10029955
mov ecx, dword [esi + 0xc]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x2c]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x24], eax
jne 0x10029903
mov eax, dword [ebp + 0x14]
jmp 0x10029911
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.10095990
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
je 0x1002991d
mov ecx, dword [ebp - 0x20]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0xc]
push esi
call dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc], eax
jmp 0x100299c7
mov edi, dword [esi + 0x18]
test edi, edi
je 0x100299c7
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x1c], 0
jne 0x10029970
mov eax, dword [ebp + 0x14]
jmp 0x1002997e
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
push dword [eax - 8]
call fcn.10095990
cmp dword [ebp - 0x24], 0
mov ecx, dword [ebp + 0x10]
je 0x1002998a
mov ecx, dword [ebp - 0x20]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [esi + 0xa], 0x80
mov dword [esi + 0x10], eax
je 0x100299c7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
cmp dword [ebp - 0x1c], 0
je 0x100299d7
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10095a60
mov esi, dword [esi + 0x14]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.1000127e
jmp 0x10029ff8
push 0x1019f4bc
lea ecx, [ebp - 0x10]
call fcn.10094520
push 4
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.1005eb25
push dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 8
push dword [ebp + 0x10]
push eax
call fcn.1002c76a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.10094e50
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 8
call fcn.10094cc0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 8], esi
je 0x10029a4b
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.10094e50
jmp 0x10029a60
cmp dword [ebp - 0x1c], esi
je 0x10029a55
lea eax, [ebp - 0x14]
jmp 0x10029a40
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.10094f40
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call fcn.1005eb48
push dword [ebp - 0x10]
lea eax, [ebp - 0x280]
mov edi, 0x101aa510
push eax
mov ecx, edi
call fcn.1000a658
test eax, eax
je 0x10029ab0
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
mov dword [ebp + 0x14], esi
push dword [ebp - 0x10]
call fcn.1000a694
cmp dword [ebp + 0x14], esi
je 0x10029ab0
push dword [ebp + 0x14]
lea ecx, [ebp - 0x10]
call fcn.10094f40
push dword [ebp + 0x14]
call fcn.1007de95
pop ecx
push 1
lea ecx, [ebp - 0x64]
call fcn.10001261
and dword [ebp - 0x50], 0
xor eax, eax
lea edi, [ebp - 0x4c]
mov esi, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi + 0x20]
mov edi, dword [esi + 0x1c]
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x24]
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x14], eax
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp + 0x24]
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 8]
push eax
push edi
or ebx, 4
call fcn.1005e85a
mov eax, dword [ebp + 0x14]
add esp, 0x10
test eax, eax
mov dword [ebp - 0x3c], eax
je 0x10029b7b
mov ecx, dword [esi + 0xc]
cmp dword [ebp - 0x24], 0
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x1c], ecx
je 0x10029b2d
mov eax, dword [ebp - 0x20]
push dword [ebp + 0x38]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x10]
push dword [ebp + 0x30]
mov eax, dword [eax - 8]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
call fcn.10095990
push eax
push dword [ebp - 0x28]
push dword [ebp + 0xc]
push esi
call dword [ebp - 0x3c]
mov eax, dword [ebp - 0x6c]
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [esi + 0xc], eax
jmp 0x10029be7
mov edi, dword [esi + 0x18]
test edi, edi
je 0x10029be7
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp dword [ebp - 0x24], 0
mov eax, dword [ebp + 0x10]
je 0x10029b97
mov eax, dword [ebp - 0x20]
push dword [ebp + 0x38]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x10]
push dword [ebp + 0x30]
mov eax, dword [eax - 8]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push eax
call fcn.10095990
push eax
push dword [ebp - 0x28]
push dword [ebp + 0xc]
call edi
mov dword [esi + 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test byte [esi + 0xa], 0x80
mov dword [esi + 0x10], eax
je 0x10029be7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi + 0x28], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.10095a60
cmp dword [ebp - 0x1c], 0
je 0x10029c01
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.10095a60
mov ebx, dword [esi + 0x14]
push 4
lea ecx, [ebp - 0x74]
mov dword [ebp + 0x30], ebx
call fcn.1005eb25
mov eax, dword [0x101b04b8]
mov byte [ebp - 4], 0xb
test eax, eax
je 0x10029c52
cmp dword [ebp - 0x24], 0
mov edi, dword [ebp + 0x10]
je 0x10029c2a
mov edi, dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push dword [ebp + 0x2c]
push dword [ebp - 0x10]
push edi
push 0x781
push str._CSafeInject::OnCreateProcessInternalW__Line:_d_appname__s__NewCmdLine__s__CurrentDirectory__s__Ret__d__error__d_
push str.SafeInject
push 4
call fcn.1007bb15
add esp, 0x24
test ebx, ebx
je 0x10029fd1
lea eax, [ebp - 0x280]
mov edi, 0x101ad1f8
push eax
mov ecx, edi
call fcn.10050190
test eax, eax
jne 0x10029cd7
mov ecx, edi
call fcn.1004ed3e
test eax, eax
jne 0x10029ca1
mov ecx, 0x101ad158
call fcn.10057be9
test eax, eax
je 0x10029cd7
lea eax, [ebp - 0x280]
push str.ReaderHostU.exe
push eax
call fcn.1007edba
pop ecx
test eax, eax
pop ecx
je 0x10029cd7
push dword [ebp - 0x40]
push 1
push dword [ebp - 0x48]
call fcn.10052dd3
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.1007c2fd
lea eax, [ebp - 0x48]
push 1
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call fcn.1007d10b
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.1007c326
push dword [ebp - 0x48]
lea eax, [ebp - 0x280]
mov ecx, edi
push eax
call fcn.1004cf1a
test eax, eax
je 0x10029d3e
lea ecx, [ebp - 0x34]
call fcn.1007c2fd
lea eax, [ebp - 0x48]
push 1
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xd
call fcn.1007d10b
cmp dword [0x101b04b8], 0
je 0x10029d32
push dword [ebp - 0x48]
lea eax, [ebp - 0x280]
push eax
push 0x793
push str._CSafeInject::OnCreateProcessInternalW__Line:_d_FileDevice_Allow_it...Proc__s__PID__d_
push str.SafeInject
push 4
call fcn.1007bb15
add esp, 0x18
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.1007c326
lea eax, [ebp + 0x2c]
and dword [ebp + 0x2c], 0
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x50]
call fcn.10027369
add esp, 0xc
mov dword [ebp + 0x14], eax
test eax, eax
jne 0x10029d61
mov eax, dword [ebp - 0x50]
mov dword [ebp + 0x14], eax
push eax
mov edi, 0x101aad04
call fcn.100ab010
test eax, eax
pop ecx
je 0x10029d7d
mov esi, dword [ebp - 0x18]
cmp esi, 4
je 0x10029d86
xor esi, esi
jmp 0x10029d86
mov edi, dword [0x101ad644]
mov esi, dword [ebp - 0x18]
push edi
lea ecx, [ebp + 0x38]
call fcn.100943c0
mov eax, dword [eax]
push 0
push eax
mov byte [ebp - 4], 0xe
call fcn.1007344b
mov ebx, eax
pop ecx
neg ebx
pop ecx
mov byte [ebp - 4], 0xb
sbb bl, bl
lea ecx, [ebp + 0x38]
inc bl
call fcn.10094cc0
test bl, bl
je 0x10029db9
xor esi, esi
xor ebx, ebx
call fcn.100bc6f0
test eax, eax
je 0x10029dcf
push str.tsysdrv.dll
call fcn.100d6050
pop ecx
cmp esi, 1
jne 0x10029de2
push edi
push dword [ebp - 0x4c]
push dword [ebp + 0x14]
call fcn.100d7160
jmp 0x10029e11
cmp esi, 2
je 0x10029dfd
cmp esi, 4
jne 0x10029e01
push edi
push dword [ebp - 0x48]
call fcn.10059a8e
mov ebx, eax
pop ecx
test ebx, ebx
pop ecx
jne 0x10029e16
push 0
jmp 0x10029e08
cmp esi, 3
jne 0x10029e16
push 1
push edi
push dword [ebp + 0x14]
call fcn.100d7370
add esp, 0xc
mov ebx, eax
cmp dword [0x101b04b8], 0
je 0x10029e4b
lea eax, [ebp - 0x280]
push eax
push ebx
push esi
mov esi, 0x101ad158
mov ecx, esi
call fcn.100aa1c0
push eax
push str.__s___CSafeInject::OnCreateProcessInternalW___Type:_d__Inject__d____s_
push str.SafeInject
push 4
call fcn.1007bb15
add esp, 0x1c
jmp 0x10029e50
mov esi, 0x101ad158
mov ecx, esi
call fcn.10057df6
test eax, eax
je 0x10029f9c
cmp dword [ebp + 0x10], 0
je 0x10029f9c
push dword [ebp + 0x10]
call fcn.10057a13
cmp eax, 0x310
pop ecx
jne 0x10029f9c
mov ecx, esi
call fcn.100aa440
push eax
lea ecx, [ebp + 0x10]
call fcn.10094520
mov eax, dword [0x101b04b8]
mov byte [ebp - 4], 0xf
test eax, eax
mov ebx, str.SafeDoc
je 0x10029eb7
push dword [ebp + 0x10]
push 0x7f3
push str._CSafeInject::OnCreateProcessInternalW__Line:_d__Cmd__s_
push ebx
push 4
call fcn.1007bb15
add esp, 0x14
mov edx, dword [ebp + 0x10]
cmp dword [edx - 8], 0
je 0x10029f90
xor esi, esi
xor eax, eax
lea edi, [ebp - 0x30]
mov dword [ebp - 0x34], esi
stosd dword es:[edi], eax
mov ecx, 0xf9
lea edi, [ebp - 0x666]
mov word [ebp - 0x668], si
push 0x1f3
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x668]
push edx
push eax
call fcn.1007e246
lea eax, [ebp - 0x34]
push 2
push eax
lea eax, [ebp - 0x668]
push eax
call fcn.100271ef
add esp, 0x18
cmp eax, 2
jne 0x10029f72
cmp dword [0x101b04b8], esi
je 0x10029f34
push dword [ebp - 0x30]
push dword [ebp - 0x34]
push 0x805
push str._CSafeInject::OnCreateProcessInternalW__Line:_d__Cmd1__s___Cmd2__s_
push ebx
push 4
call fcn.1007bb15
add esp, 0x18
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
call fcn.1002c5b0
mov edi, eax
push edi
push dword [ebp - 0x48]
call fcn.1000a24d
cmp dword [0x101b04b8], esi
pop ecx
pop ecx
je 0x10029f90
push dword [ebp + 0x10]
push dword [ebp - 0x48]
push edi
push 0x80c
push str._CSafeInject::OnCreateProcessInternalW__Line:_d__Enable__d__PID__d__Cmd__s_
push ebx
push 4
call fcn.1007bb15
add esp, 0x1c
jmp 0x10029f90
cmp dword [0x101b04b8], esi
je 0x10029f90
push eax
push 0x800
push str._CSafeInject::OnCreateProcessInternalW__Line:_d__iCount__d_
push ebx
push 4
call fcn.1007bb15
add esp, 0x14
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xb
call fcn.10094cc0
cmp dword [ebp + 0x2c], 0
je 0x10029fab
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test byte [ebp + 0x24], 4
jne 0x10029fba
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp dword [ebp + 0x34], 0
je 0x10029fd1
lea eax, [ebp - 0x50]
push 0x10
push eax
push dword [ebp + 0x34]
call fcn.1007dea0
add esp, 0xc
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xa
call fcn.1005eb48
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 7
call fcn.1000127e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.10094cc0
mov esi, dword [ebp + 0x30]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.10094cc0
and byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10094cc0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.10094cc0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x34