Function at 0x588be8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb6
push 0
push 0
dec ecx
jne 0x588bf0
push esi
push edi
xor eax, eax
push ebp
push 0x5890f6
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00595a80
mov eax, dword [0x5a7374]
mov eax, dword [eax]
call fcn.004eb580
cmp byte [0x5a69a9], 0
je 0x588c26
call fcn.00596278
push ebp
call fcn.00588490
pop ecx
mov eax, dword [0x5a6e14]
cmp dword [eax], 0
je 0x588df3
mov eax, dword [0x5a6e14]
cmp dword [eax], 0x1b
je 0x588df3
lea edx, [ebp - 0x470]
mov eax, dword [0x5a6e14]
mov eax, dword [eax]
call fcn.004223c0
mov edx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a3c4
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x36c]
mov ecx, 0
call fcn.00409d6c
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x368]
mov edx, 0x589110
call fcn.00409e14
mov edx, dword [ebp - 0x368]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d98
mov eax, dword [0x5a6e14]
mov eax, dword [eax]
add eax, 0xffffff9e
cmp eax, 5
ja case.default.0x588cc6
jmp dword [eax*4 + 0x588ccd]
mov esi, 0x589128
lea edi, [ebp - 0x35c]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
jmp case.default.0x588cc6
mov esi, 0x58916c
lea edi, [ebp - 0x35c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x588cc6
mov esi, 0x589198
lea edi, [ebp - 0x35c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x588cc6
lea eax, [ebp - 0x35c]
mov edx, 0x5a689b
call fcn.00409bc0
jmp case.default.0x588cc6
mov esi, 0x5891bc
lea edi, [ebp - 0x35c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x588cc6
mov esi, 0x5891e8
lea edi, [ebp - 0x35c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x5a6e14]
cmp dword [eax], 0x63
jne 0x588db6
lea eax, [ebp - 0x478]
lea edx, [ebp - 0x35c]
mov ecx, 0
call fcn.00409d6c
push dword [ebp - 0x478]
push 0x589228
push 0x589238
lea eax, [ebp - 0x474]
mov edx, 3
call fcn.00409e98
mov edx, dword [ebp - 0x474]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d98
mov eax, 0x58925c
mov dword [ebp - 8], eax
lea eax, [ebp - 0x47c]
lea edx, [ebp - 0x35c]
call fcn.0040a430
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.004232f4
push 0x10
push 0x589260
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxW
call fcn.00586f54
cmp dword [0x5a69c8], 0
jle 0x588f06
mov eax, dword [0x5a69c8]
test eax, eax
jle 0x588f06
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
push 0x5892a0
lea edx, [ebp - 0x484]
mov eax, dword [ebp - 4]
call fcn.004223c0
push dword [ebp - 0x484]
push 0x5892bc
lea eax, [ebp - 0x480]
mov edx, 3
call fcn.0040a59c
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x5892a0
lea edx, [ebp - 0x48c]
mov eax, dword [ebp - 4]
call fcn.004223c0
push dword [ebp - 0x48c]
push 0x5892d4
lea eax, [ebp - 0x488]
mov edx, 3
call fcn.0040a59c
mov edx, dword [ebp - 0x488]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x5892ec
lea edx, [ebp - 0x494]
mov eax, dword [ebp - 4]
call fcn.004223c0
push dword [ebp - 0x494]
push 0x5892bc
lea eax, [ebp - 0x490]
mov edx, 3
call fcn.0040a59c
mov edx, dword [ebp - 0x490]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x588e1c
mov eax, dword [0x5a6e8c]
mov edx, dword [0x5b1324]
mov dword [eax], edx
call fcn.0040495c
cmp eax, 3
jle 0x588f44
lea edx, [ebp - 0x498]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x498]
mov edx, 0x589308
call fcn.0040a64c
jne 0x588f44
call fcn.0040922c
cmp byte [0x5a6df7], 0
je 0x588f57
call fcn.0040922c
jmp 0x58907c
lea edx, [ebp - 0x49c]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x49c]
mov edx, 0x589308
call fcn.0040a64c
jne 0x588f83
call fcn.0040922c
jmp 0x589077
push 0x589318
lea edx, [ebp - 0x4a8]
mov eax, 2
call fcn.004049bc
mov edx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a3c4
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x4a4]
mov ecx, 0
call fcn.00409d6c
push dword [ebp - 0x4a4]
push 0x589338
lea edx, [ebp - 0x5b0]
mov eax, 4
call fcn.004049bc
lea eax, [ebp - 0x5b0]
mov edx, 0x589348
call fcn.0040a4bc
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x5ac]
mov ecx, 0xff
call fcn.0040a3c4
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x4ac]
mov ecx, 0
call fcn.00409d6c
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x4a0]
mov edx, 4
call fcn.00409e98
mov edx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d98
mov eax, 0x190
call fcn.005290c4
mov eax, dword [0x5a7374]
mov eax, dword [eax]
call fcn.004eb580
push 1
lea eax, [ebp - 0x35b]
push eax
call sub.kernel32.dll_WinExec
call fcn.005291c8
cmp eax, 0x1f4
jne 0x58906b
call fcn.0040922c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5890fd
lea eax, [ebp - 0x5b0]
call fcn.004094fc
lea eax, [ebp - 0x4ac]
call fcn.00409520
lea eax, [ebp - 0x4a8]
call fcn.004094fc
lea eax, [ebp - 0x4a4]
mov edx, 2
call fcn.0040958c
lea eax, [ebp - 0x49c]
mov edx, 9
call fcn.0040955c
lea eax, [ebp - 0x478]
mov edx, 2
call fcn.0040958c
lea eax, [ebp - 0x470]
call fcn.004094fc
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.0040958c
ret