Function at 0x54de90
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 0x54de99
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 0x54e13c
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, 0x54e158
call fcn.00405698
je 0x54e032
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, 0x54e168
call fcn.00405698
je 0x54e032
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, 0x54e174
call fcn.00405698
je 0x54e032
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, 0x54e184
call fcn.00405698
je 0x54e032
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, 0x54e190
call fcn.00405698
jne 0x54e05d
lea edx, [ebp - 0xac]
mov eax, 0x54e19c
call fcn.0041152c
push dword [ebp - 0xac]
push 0x54e1ac
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 0x54e087
add dword [ebp - 0x30], 0x80
mov word [ebp - 0x2c], 8
cmp byte [ebp - 5], 0
je 0x54e099
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 0x54e0d5
mov dword [ebp - 0x10], 0xffffffff
jmp 0x54e116
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 0x54e143
lea eax, [ebp - 0xac]
mov edx, 0x10
call fcn.004052b0
lea eax, [ebp - 4]
call fcn.0040528c
ret