Function at 0x10004080
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016b181
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a8
push ebx
push esi
push edi
push 0x3e8
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x104
lea eax, [ebp - 0x1b0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x1b0]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x50], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100040f0
sub ecx, edx
lea eax, [ebp - 0x1b0]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.100053e0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x60]
cmp dword [ebp - 0x4c], 0x10
lea ecx, [ebp - 0x48]
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
mov byte [ebp - 0x10], 0
push dword [ebp - 0x10]
call fcn.10007b30
add esp, 0xc
mov byte [ebp - 4], 1
lea edi, [ebp - 0x48]
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x38]
cmovae edi, dword [ebp - 0x48]
mov ecx, edi
lea edx, [edi + eax*2]
call fcn.10002ff0
cmp eax, edx
je 0x10004197
movzx ecx, word [eax]
cmp ecx, 0x5c
je 0x1000415e
cmp ecx, 0x2f
jne 0x10004167
add eax, 2
cmp eax, edx
jne 0x10004151
jmp 0x10004197
movzx esi, word [edx - 2]
cmp esi, 0x5c
je 0x1000417e
cmp esi, 0x2f
je 0x1000417e
add edx, 0xfffffffe
cmp eax, edx
jne 0x10004167
jmp 0x10004197
cmp eax, edx
je 0x10004197
movzx esi, word [edx - 2]
cmp esi, 0x5c
je 0x10004190
cmp esi, 0x2f
jne 0x10004197
add edx, 0xfffffffe
cmp eax, edx
jne 0x10004182
sub edx, edi
mov dword [ebp - 0x90], 0
sar edx, 1
lea ecx, [ebp - 0x90]
push edx
xor eax, eax
mov dword [ebp - 0x80], 0
push edi
mov dword [ebp - 0x7c], 7
mov word [ebp - 0x90], ax
call fcn.10005290
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x10004207
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100041fd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044e7
push edx
push ecx
call fcn.101417d3
add esp, 8
xor eax, eax
mov dword [ebp - 0x38], 0
push 6
mov byte [ebp - 0x10], al
lea ecx, [ebp - 0xa8]
push str.EP.exe
push dword [ebp - 0x10]
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.10007b30
add esp, 0xc
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x48]
call fcn.100033b0
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call fcn.100030d0
push eax
lea ecx, [ebp - 0x78]
call fcn.100033b0
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x100042a2
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10004298
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044ec
push edx
push ecx
call fcn.101417d3
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x94]
cmp edx, 8
jb 0x100042e6
mov ecx, dword [ebp - 0xa8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100042dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100044f1
push edx
push ecx
call fcn.101417d3
add esp, 8
cmp dword [ebp - 0x64], 8
lea edi, [ebp - 0x78]
mov esi, dword [ebp - 0x68]
cmovae edi, dword [ebp - 0x78]
call fcn.101428ef
mov ebx, eax
mov byte [ebp - 4], 8
mov ecx, 0xf
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x10], 0x23f
test esi, esi
je 0x10004373
cmp esi, 0x7fffffff
ja 0x100044f6
push 0
push 0
push esi
push edi
push ebx
call fcn.10142940
mov dword [ebp - 0x14], eax
test edx, edx
jne 0x100044fb
push edx
push eax
lea ecx, [ebp - 0x30]
call fcn.100062a0
push dword [ebp - 0x14]
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push esi
push edi
push ebx
call fcn.10142940
test edx, edx
jne 0x10004502
mov ecx, dword [ebp - 0x1c]
push 1
push 0
cmp ecx, 0x10
mov dword [ebp - 4], 9
push 0
lea eax, [ebp - 0x30]
cmovae eax, dword [ebp - 0x30]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
jg 0x100043bd
mov edx, str.Error_starting_360.exe:
mov ecx, 0x10224488
call fcn.10006760
push esi
mov ecx, eax
mov edi, 1
call fcn.10004780
jmp 0x100043ce
mov edx, str.360.exe_started_successfully.
mov ecx, 0x10224390
xor edi, edi
call fcn.10006760
push eax
call fcn.10006a10
mov edx, dword [ebp - 0x1c]
add esp, 4
cmp edx, 0x10
jb 0x1000440b
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10004401
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004509
push edx
push ecx
call fcn.101417d3
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 8
jb 0x10004457
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000444d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004509
push edx
push ecx
call fcn.101417d3
add esp, 8
mov edx, dword [ebp - 0x7c]
xor eax, eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
cmp edx, 8
jb 0x100044a4
mov ecx, dword [ebp - 0x90]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000449a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004509
push edx
push ecx
call fcn.101417d3
add esp, 8
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x100044d4
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100044ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10004509
push edx
push ecx
call fcn.101417d3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1014c40f
call fcn.1014c40f
call fcn.1014c40f
call fcn.100025e0
mov ecx, edx
call fcn.10002fc0
mov ecx, edx
call fcn.10002fc0
call fcn.1014c40f
int3