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

Disassembly:
lea edx, [ebp - 0x70]
xor eax, eax
mov al, byte [0x41a1f8]
call fcn.004048e0
mov ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
mov edx, 0x409154
call fcn.004033d8
mov eax, dword [ebp - 0x6c]
call fcn.00410138
cmp byte [0x41a1f8], 0xa
jbe 0x408e04
push dword [0x41bdac]
push dword [0x41bb54]
push 0x409168
lea edx, [ebp - 0x78]
xor eax, eax
call fcn.004057d8
push dword [ebp - 0x78]
lea eax, [ebp - 0x74]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x74]
call fcn.00410138
mov eax, 0x41bb58
call fcn.00403208
jmp 0x4090eb
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x10
call fcn.004027e8
mov eax, ebx
xor ecx, ecx
mov edx, 0x44
call fcn.004027e8
mov dword [ebx], 0x44
mov word [ebx + 0x30], 0
xor eax, eax
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 8], eax
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 5
mov dword [ebx + 0x14], 5
mov dword [ebx + 0x2c], 5
mov word [ebx + 0x30], 0
mov word [ebx + 0x32], 0
add byte [ebx], dh
ror byte [ecx - 0x3fcccbbd], 0x89
inc ebx
cmp byte [ebx], dh
ror byte [ecx - 0x3fccc3bd], 0x89
inc ebx
inc eax
push 0x409174
push dword [0x41bb58]
push dword [0x41bdb0]
push dword [ebp - 4]
push dword [ebp - 8]
push 0x409180
push dword [0x41bb54]
push 0x409174
lea eax, [ebp - 0x10]
mov edx, 8
call fcn.0040344c
lea eax, [ebp - 0x64]
push eax
push ebx
push 0
push 0
push 0xc000040
push 0
push 0
push 0
mov eax, dword [ebp - 0x10]
call fcn.0040358c
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x408f61
push 0x40918c
push dword [ebp - 0x10]
push 0x409168
lea edx, [ebp - 0x80]
push ebp
xor byte [ebx], 0xc0
call fcn.004057d8
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x7c]
call fcn.00410138
inc byte [0x41a1f8]
cmp byte [0x41a1f8], 0xa
jbe 0x4090eb
push dword [0x41bdb4]
push dword [0x41bb54]
push 0x409168
lea edx, [ebp - 0x88]
xor eax, eax
call fcn.004057d8
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
mov edx, 4
call fcn.0040344c
mov eax, dword [ebp - 0x84]
call fcn.00410138
mov eax, 0x41bb58
call fcn.00403208
jmp 0x4090eb
mov byte [esi], 0
xor ebx, ebx
cmp byte [esi], 0
jne 0x408f90
push 0x64
call sub.kernel32.dll_Sleep
push 0
push 0x408c88
mov eax, dword [ebp - 0x58]
push eax
call sub.user32.dll_EnumThreadWindows
inc ebx
cmp bl, 0xa
jbe 0x408f8b
mov byte [esi], 1
cmp byte [esi], 0
je 0x408f6b
push 0x1b7740
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x408fe6
mov eax, dword [0x41bdb8]
call fcn.00410138
mov eax, 0x41bb68
mov edx, 0x40919c
call fcn.0040325c
push 0
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_TerminateProcess
mov eax, dword [ebp - 0x64]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, 0x41bb68
mov edx, 0x4091fc
call fcn.0040325c
jmp 0x4090eb
mov eax, 0x41bb68
mov edx, 0x409244
call fcn.0040325c
mov ax, word [0x41a1f4]
dec ax
je 0x409018
dec ax
je 0x40903a
dec ax
je 0x409078
dec ax
je 0x4090b6
jmp 0x4090d5
mov eax, 0x41bb7c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.004033d8
mov eax, 0x41bb64
mov edx, dword [ebp - 8]
call fcn.0040325c
jmp 0x4090e7
push dword [0x41bb7c]
push 0x409260
push dword [ebp - 8]
mov eax, 0x41bb80
mov edx, 3
call fcn.0040344c
mov eax, 0x41bb64
mov edx, dword [0x41bb80]
call fcn.0040325c
mov eax, 0x41bb68
mov edx, 0x409270
call fcn.0040325c
jmp 0x4090e7
push dword [0x41bb80]
push 0x409260
push dword [ebp - 8]
mov eax, 0x41bb84
mov edx, 3
call fcn.0040344c
mov eax, 0x41bb64
mov edx, dword [0x41bb84]
call fcn.0040325c
mov eax, 0x41bb68
mov edx, 0x409334
call fcn.0040325c
jmp 0x4090e7
push dword [0x41bb84]
push 0x409260
push dword [ebp - 8]
mov eax, 0x41bb64
mov edx, 3
call fcn.0040344c
jmp 0x4090e7
mov eax, 0x41bb64
mov ecx, dword [ebp - 8]
mov edx, 0x4093b8
call fcn.004033d8
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409125
lea eax, [ebp - 0x88]
mov edx, 9
call fcn.0040322c
lea eax, [ebp - 0x10]
call fcn.00403208
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040322c
ret