Function at 0x57efac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb6
push 0
push 0
dec ecx
jne 0x57efb4
push esi
push edi
xor eax, eax
push ebp
push 0x57f4ba
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0058a92c
mov eax, dword [0x59da4c]
mov eax, dword [eax]
call fcn.004eb69c
cmp byte [0x59ce9d], 0
je 0x57efea
call fcn.0058b634
push ebp
call fcn.0057e29c
pop ecx
mov eax, dword [0x59d3fc]
cmp dword [eax], 0
je 0x57f1b7
mov eax, dword [0x59d3fc]
cmp dword [eax], 0x1b
je 0x57f1b7
lea edx, [ebp - 0x470]
mov eax, dword [0x59d3fc]
mov eax, dword [eax]
call fcn.004224dc
mov edx, dword [ebp - 0x470]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x36c]
mov ecx, 0
call fcn.00409d38
mov ecx, dword [ebp - 0x36c]
lea eax, [ebp - 0x368]
mov edx, 0x57f4d4
call fcn.00409de0
mov edx, dword [ebp - 0x368]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, dword [0x59d3fc]
mov eax, dword [eax]
add eax, 0xffffff9e
cmp eax, 5
ja case.default.0x57f08a
jmp dword [eax*4 + 0x57f091]
mov esi, 0x57f4ec
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.0x57f08a
mov esi, 0x57f530
lea edi, [ebp - 0x35c]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
jmp case.default.0x57f08a
mov esi, 0x57f55c
lea edi, [ebp - 0x35c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x57f08a
lea eax, [ebp - 0x35c]
mov edx, 0x59cd8f
call fcn.00409b8c
jmp case.default.0x57f08a
mov esi, 0x57f580
lea edi, [ebp - 0x35c]
mov ecx, 0xa
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
jmp case.default.0x57f08a
mov esi, 0x57f5ac
lea edi, [ebp - 0x35c]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x59d3fc]
cmp dword [eax], 0x63
jne 0x57f17a
lea eax, [ebp - 0x478]
lea edx, [ebp - 0x35c]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x478]
push 0x57f5ec
push 0x57f5fc
lea eax, [ebp - 0x474]
mov edx, 3
call fcn.00409e64
mov edx, dword [ebp - 0x474]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, 0x57f620
mov dword [ebp - 8], eax
lea eax, [ebp - 0x47c]
lea edx, [ebp - 0x35c]
call fcn.0040a3fc
mov edx, dword [ebp - 0x47c]
mov eax, dword [ebp - 8]
call fcn.00423410
push 0x10
push 0x57f624
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetActiveWindow
push eax
call sub.user32.dll_MessageBoxW
call fcn.0057cd48
cmp dword [0x59cfbc], 0
jle 0x57f2ca
mov eax, dword [0x59cfbc]
test eax, eax
jle 0x57f2ca
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
push 0x57f664
lea edx, [ebp - 0x484]
mov eax, dword [ebp - 4]
call fcn.004224dc
push dword [ebp - 0x484]
push 0x57f680
lea eax, [ebp - 0x480]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x480]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x57f664
lea edx, [ebp - 0x48c]
mov eax, dword [ebp - 4]
call fcn.004224dc
push dword [ebp - 0x48c]
push 0x57f698
lea eax, [ebp - 0x488]
mov edx, 3
call fcn.0040a568
mov edx, dword [ebp - 0x488]
lea eax, [ebp - 0x25c]
call fcn.00405098
lea eax, [ebp - 0x25c]
call fcn.00405290
push 0x57f6b0
lea edx, [ebp - 0x494]
mov eax, dword [ebp - 4]
call fcn.004224dc
push dword [ebp - 0x494]
push 0x57f680
lea eax, [ebp - 0x490]
mov edx, 3
call fcn.0040a568
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 0x57f1e0
mov eax, dword [0x59d49c]
mov edx, dword [0x5ba404]
mov dword [eax], edx
call fcn.0040495c
cmp eax, 3
jle 0x57f308
lea edx, [ebp - 0x498]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x498]
mov edx, 0x57f6cc
call fcn.0040a618
jne 0x57f308
call fcn.004091f8
cmp byte [0x59d3eb], 0
je 0x57f31b
call fcn.004091f8
jmp 0x57f440
lea edx, [ebp - 0x49c]
mov eax, 4
call fcn.004049bc
mov eax, dword [ebp - 0x49c]
mov edx, 0x57f6cc
call fcn.0040a618
jne 0x57f347
call fcn.004091f8
jmp 0x57f43b
push 0x57f6dc
lea edx, [ebp - 0x4a8]
mov eax, 2
call fcn.004049bc
mov edx, dword [ebp - 0x4a8]
lea eax, [ebp - 0x46c]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x46c]
lea eax, [ebp - 0x4a4]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x4a4]
push 0x57f6fc
lea edx, [ebp - 0x5b0]
mov eax, 4
call fcn.004049bc
lea eax, [ebp - 0x5b0]
mov edx, 0x57f70c
call fcn.0040a488
mov edx, dword [ebp - 0x5b0]
lea eax, [ebp - 0x5ac]
mov ecx, 0xff
call fcn.0040a390
lea edx, [ebp - 0x5ac]
lea eax, [ebp - 0x4ac]
mov ecx, 0
call fcn.00409d38
push dword [ebp - 0x4ac]
lea eax, [ebp - 0x4a0]
mov edx, 4
call fcn.00409e64
mov edx, dword [ebp - 0x4a0]
lea eax, [ebp - 0x35c]
mov ecx, 0xff
call fcn.00409d64
mov eax, 0x190
call fcn.0052a1dc
mov eax, dword [0x59da4c]
mov eax, dword [eax]
call fcn.004eb69c
push 1
lea eax, [ebp - 0x35b]
push eax
call sub.kernel32.dll_WinExec
call fcn.0052a2e0
cmp eax, 0x1f4
jne 0x57f42f
call fcn.004091f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x57f4c1
lea eax, [ebp - 0x5b0]
call fcn.004094c8
lea eax, [ebp - 0x4ac]
call fcn.004094ec
lea eax, [ebp - 0x4a8]
call fcn.004094c8
lea eax, [ebp - 0x4a4]
mov edx, 2
call fcn.00409558
lea eax, [ebp - 0x49c]
mov edx, 9
call fcn.00409528
lea eax, [ebp - 0x478]
mov edx, 2
call fcn.00409558
lea eax, [ebp - 0x470]
call fcn.004094c8
lea eax, [ebp - 0x36c]
mov edx, 2
call fcn.00409558
ret