Function at 0x64810c
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x15
push 0
push 0
dec ecx
jne 0x648115
xchg dword [ebp - 4], ecx
push ebx
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040573c
xor eax, eax
push ebp
push 0x6483b8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x74]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0040a298
mov eax, dword [ebp - 0x78]
mov ecx, 4
mov edx, 1
call fcn.004057ac
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x70]
call fcn.0040a048
mov eax, dword [ebp - 0x70]
mov edx, 0x6483d4
call fcn.00405698
je 0x6482ae
lea eax, [ebp - 0x80]
push eax
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 4]
call fcn.0040a298
mov eax, dword [ebp - 0x84]
mov ecx, 3
mov edx, 1
call fcn.004057ac
mov eax, dword [ebp - 0x80]
lea edx, [ebp - 0x7c]
call fcn.0040a048
mov eax, dword [ebp - 0x7c]
mov edx, 0x6483e4
call fcn.00405698
je 0x6482ae
lea eax, [ebp - 0x8c]
push eax
lea edx, [ebp - 0x90]
mov eax, dword [ebp - 4]
call fcn.0040a298
mov eax, dword [ebp - 0x90]
mov ecx, 4
mov edx, 1
call fcn.004057ac
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.0040a048
mov eax, dword [ebp - 0x88]
mov edx, 0x6483f0
call fcn.00405698
je 0x6482ae
lea eax, [ebp - 0x98]
push eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebp - 4]
call fcn.0040a298
mov eax, dword [ebp - 0x9c]
mov ecx, 2
mov edx, 1
call fcn.004057ac
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0040a048
mov eax, dword [ebp - 0x94]
mov edx, 0x648400
call fcn.00405698
je 0x6482ae
lea eax, [ebp - 0xa4]
push eax
lea edx, [ebp - 0xa8]
mov eax, dword [ebp - 4]
call fcn.0040a298
mov eax, dword [ebp - 0xa8]
mov ecx, 2
mov edx, 1
call fcn.004057ac
mov eax, dword [ebp - 0xa4]
lea edx, [ebp - 0xa0]
call fcn.0040a048
mov eax, dword [ebp - 0xa0]
mov edx, 0x64840c
call fcn.00405698
jne 0x6482d9
lea edx, [ebp - 0xac]
mov eax, 0x648418
call fcn.0041152c
push dword [ebp - 0xac]
push 0x648428
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 3
call fcn.0040560c
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403464
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 1
cmp dword [ebp + 8], 1
jne 0x648303
add dword [ebp - 0x30], 0x80
mov word [ebp - 0x2c], 8
cmp byte [ebp - 5], 0
je 0x648315
mov word [ebp - 0x2c], 0
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040574c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x648351
mov dword [ebp - 0x10], 0xffffffff
jmp 0x648392
imul eax, dword [ebp - 0xc], 0x3e8
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_WaitForSingleObject
push 0
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_TerminateProcess
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x6c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x68]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6483bf
lea eax, [ebp - 0xac]
mov edx, 0x10
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret