Function at 0x3405b737
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6f8
push edi
mov word [ebp - 0x2d0], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x2ce]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.340f2990
test eax, eax
je 0x3405b77e
mov eax, dword [ebp + 8]
push eax
push 0x341814dc
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.340be4d8
add esp, 0xc
jmp 0x3405b796
mov edx, dword [ebp + 8]
push edx
push str.TSandbox_s.exe
lea eax, [ebp - 0x2d0]
push eax
call fcn.340be4d8
add esp, 0xc
call fcn.3401782f
mov ecx, eax
call fcn.340e0350
push eax
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.340bd95a
add esp, 8
test eax, eax
jne 0x3405b7bd
xor eax, eax
jmp 0x3405b9cc
mov word [ebp - 0x250], 0
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x24e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edx, dword [ebp + 8]
push edx
push str.TSandbox_ServiceInitComplete__s
lea eax, [ebp - 0x250]
push eax
call fcn.340be4d8
add esp, 0xc
mov dword [ebp - 0x6d8], 0
lea ecx, [ebp - 0x250]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x6d8], eax
cmp dword [ebp - 0x6d8], 0
je 0x3405b845
push 0x7530
mov edx, dword [ebp - 0x6d8]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x6d8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x3405b9cc
mov word [ebp - 0x6d4], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x6d2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x200
lea ecx, [ebp - 0x6d4]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea edx, [ebp - 0x6d4]
push edx
call fcn.34011920
add esp, 8
mov dword [ebp - 0x6f0], eax
cmp dword [ebp - 0x6f0], 0
jne 0x3405b89a
xor eax, eax
jmp 0x3405b9cc
mov eax, dword [ebp - 0x6f0]
add eax, 2
mov dword [ebp - 0x6f0], eax
mov ecx, dword [ebp - 0x6f0]
mov word [ecx], 0
lea edx, [ebp - 0x2d0]
push edx
lea eax, [ebp - 0x6d4]
push eax
call fcn.340bd8ca
add esp, 8
mov dword [ebp - 0x48], 0
mov ecx, 0x10
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x6ec], 0
xor ecx, ecx
mov dword [ebp - 0x6e8], ecx
mov dword [ebp - 0x6e4], ecx
mov dword [ebp - 0x6e0], ecx
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x6dc], 0
mov dword [ebp - 0x2d4], 0x4000410
lea edx, [ebp - 0x6ec]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x6dc]
push edx
push 0
push 0
lea eax, [ebp - 0x6d4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x3405b9c9
mov dword [ebp - 0x6f4], 0
mov dword [ebp - 0x6f8], 0
cmp dword [ebp - 0x6f8], 0x64
jge 0x3405b9c9
mov ecx, dword [ebp - 0x6f8]
add ecx, 1
mov dword [ebp - 0x6f8], ecx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x250]
push edx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x6f4], eax
cmp dword [ebp - 0x6f4], 0
je 0x3405b9c7
push 0x7530
mov eax, dword [ebp - 0x6f4]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [ebp - 0x6f4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x3405b9c9
jmp 0x3405b963
mov eax, dword [ebp - 4]
pop edi
mov esp, ebp
pop ebp
ret