Function at 0x414d80
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x698
mov eax, dword [0x465024]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x400
lea eax, [ebp - 0x658]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x658]
push 0x3e7
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edi, [ebp - 0x658]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x414de0
mov eax, dword [0x45f1d4]
mov ecx, 2
mov dword [edi], eax
call fcn.004291c0
test eax, eax
je 0x41507c
cmp dword [0x465bd4], 1
jg 0x414f57
push 0x5c
push str.E:_srcdragent_test_src_application.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x414e37
push 0x5c
push str.E:_srcdragent_test_src_application.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x414e3c
mov esi, str.E:_srcdragent_test_src_application.cpp
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x688]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x670], 0
lea ecx, [ebp - 0x58]
movaps xmmword [ebp - 0x680], xmm0
add esp, 0x24
mov dword [ebp - 0x66c], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414ec0
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x680]
call fcn.004195d0
cmp dword [ebp - 0x66c], 0x10
lea eax, [ebp - 0x680]
push str.Restart
cmovae eax, dword [ebp - 0x680]
push 0x212
push esi
push dword [0x45e960]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x66c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x41505e
mov edx, dword [ebp - 0x680]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415383
jmp 0x415054
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x688]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x670], 0
lea ecx, [ebp - 0x58]
movaps xmmword [ebp - 0x680], xmm0
add esp, 0x24
mov dword [ebp - 0x66c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x414fd5
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x680]
call fcn.004195d0
push dword [0x45e960]
cmp dword [ebp - 0x66c], 0x10
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push eax
push str._s___s_
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x66c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x41505e
mov edx, dword [ebp - 0x680]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415054
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415388
push ecx
push edx
call fcn.0042f231
add esp, 8
lea eax, [ebp - 0x658]
push eax
push str.start_new_process:_s
push esi
lea eax, [ebp - 0x258]
push eax
push 2
call fcn.004291f0
add esp, 0x14
xor eax, eax
mov dword [ebp - 0x50], 0x44
mov word [ebp - 0xe], ax
xorps xmm0, xmm0
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x690]
push eax
lea eax, [ebp - 0x50]
movlpd qword [ebp - 0x4c], xmm0
push eax
push 0
push 0
push 0x10
push 0
push 0
push 0
lea eax, [ebp - 0x658]
movlpd qword [ebp - 0x44], xmm0
push eax
push 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x1e], xmm0
movlpd qword [ebp - 0x16], xmm0
movaps xmmword [ebp - 0x690], xmm0
mov dword [ebp - 0x24], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41538d
lea ecx, [eax + 4]
call fcn.004291c0
test eax, eax
je 0x415370
cmp dword [0x465bd4], 1
jg 0x41524d
push 0x5c
push str.E:_srcdragent_test_src_application.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x415133
push 0x5c
push str.E:_srcdragent_test_src_application.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x415138
mov esi, str.E:_srcdragent_test_src_application.cpp
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x688]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x670], 0
lea ecx, [ebp - 0x58]
movaps xmmword [ebp - 0x680], xmm0
add esp, 0x24
mov dword [ebp - 0x66c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4151b6
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x680]
call fcn.004195d0
cmp dword [ebp - 0x66c], 0x10
lea eax, [ebp - 0x680]
push str.Restart
cmovae eax, dword [ebp - 0x680]
push 0x215
push esi
push dword [0x45e968]
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x66c]
add esp, 0x20
mov esi, eax
cmp ecx, 0x10
jb 0x415359
mov edx, dword [ebp - 0x680]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41534f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154a8
jmp 0x41534f
push 0x50
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.004311e0
add esp, 0xc
lea eax, [ebp - 0x688]
push eax
call fcn.00437d64
add esp, 4
lea eax, [ebp - 0x688]
push eax
call fcn.0043805d
add esp, 4
mov ecx, dword [eax + 0x10]
push dword [eax]
inc ecx
push dword [eax + 4]
push dword [eax + 8]
push dword [eax + 0xc]
mov eax, dword [eax + 0x14]
push ecx
add eax, 0x76c
push eax
push str._4d__02d__02d__2d:_2d:_2d
lea eax, [ebp - 0x58]
push 0x50
push eax
call fcn.00408bc0
xorps xmm0, xmm0
mov dword [ebp - 0x670], 0
lea ecx, [ebp - 0x58]
movaps xmmword [ebp - 0x680], xmm0
add esp, 0x24
mov dword [ebp - 0x66c], 0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4152d0
sub ecx, edx
lea eax, [ebp - 0x58]
push ecx
push eax
lea ecx, [ebp - 0x680]
call fcn.004195d0
push dword [0x45e968]
cmp dword [ebp - 0x66c], 0x10
lea eax, [ebp - 0x680]
cmovae eax, dword [ebp - 0x680]
push eax
push str._s___s_
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
mov ecx, dword [ebp - 0x66c]
add esp, 0x14
mov esi, eax
cmp ecx, 0x10
jb 0x415359
mov edx, dword [ebp - 0x680]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41534f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4154ad
push ecx
push edx
call fcn.0042f231
add esp, 8
push str.restart_process_fail
push esi
lea eax, [ebp - 0x258]
push eax
push 4
call fcn.004291f0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042f1f3
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00436a90
call fcn.00436a90
push dword [ebp - 0x68c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x690]
call esi
push dword [ebp - 0x688]
push str._ID_d__n
call fcn.00409910
add esp, 8
mov ecx, 2
call fcn.004291c0
test eax, eax
je 0x4154a1
call fcn.00429190
cmp eax, 1
jg 0x415444
push 0x5c
push str.E:_srcdragent_test_src_application.cpp
call fcn.00430780
add esp, 8
test eax, eax
je 0x4153f9
push 0x5c
push str.E:_srcdragent_test_src_application.cpp
call fcn.00430780
add esp, 8
lea esi, [eax + 1]
jmp 0x4153fe
mov esi, str.E:_srcdragent_test_src_application.cpp
lea ecx, [ebp - 0x680]
call fcn.0042cc10
push str.Restart
push 0x217
push esi
mov ecx, 2
mov edx, eax
call fcn.004291a0
push eax
mov ecx, edx
call fcn.004096e0
push eax
push str._s___s___s:_d__s:
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
add esp, 0x20
jmp 0x41547d
lea ecx, [ebp - 0x680]
call fcn.0042cc10
mov ecx, 2
mov edx, eax
call fcn.004291a0
push eax
mov ecx, edx
call fcn.004096e0
push eax
push str._s___s_
lea eax, [ebp - 0x258]
push 0x1ff
push eax
call fcn.00408bc0
add esp, 0x14
lea ecx, [ebp - 0x680]
mov esi, eax
call fcn.004096f0
push str.restart_process_success__i_will_exit
push esi
lea eax, [ebp - 0x258]
push eax
push 2
call fcn.004291f0
add esp, 0x10
push 0
call fcn.00437471
call fcn.00436a90
call fcn.00436a90
int3