Function at 0x304a9ad8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x52
push 0
push 0
dec ecx
jne 0x304a9ae0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x304a9ed4
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x304a9e85
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
push 0x304a9ee8
push 0x304a9ee8
push 0x304a9eec
push 0x304a9ee8
push 0
call sub.shell32.dll_ShellExecuteA
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x250]
call fcn.30408bf8
mov ecx, dword [ebp - 0x250]
lea eax, [ebp - 0x24c]
mov edx, 0x304a9efc
call fcn.304049f4
mov eax, dword [ebp - 0x24c]
call fcn.304a96f0
cmp dword [ebp - 0x24], 0x20
ja 0x304a9bd2
mov eax, 0x304a9f38
call fcn.304a96f0
lea eax, [ebp - 0x258]
push eax
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x264]
call fcn.30408bf8
mov eax, dword [ebp - 0x264]
mov dword [ebp - 0x260], eax
mov byte [ebp - 0x25c], 0xb
lea edx, [ebp - 0x260]
xor ecx, ecx
mov eax, 0x304a9f6c
call fcn.30409ebc
mov ecx, dword [ebp - 0x258]
lea eax, [ebp - 0x254]
mov edx, 0x304a9fb4
call fcn.304049f4
mov eax, dword [ebp - 0x254]
call fcn.304a96f0
jmp 0x304a9e5f
mov eax, 0x304a9fcc
call fcn.304a96f0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0x64
call sub.kernel32.dll_Sleep_1
inc dword [ebp - 0xc]
push 0
push 0x304a9ff8
call sub.user32.dll_FindWindowA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x304a9c06
cmp dword [ebp - 0xc], 0x64
jle 0x304a9be1
cmp dword [ebp - 8], 0
je 0x304a9e5f
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x26c]
call fcn.30408bf8
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x268]
mov edx, 0x304aa010
call fcn.304049f4
mov eax, dword [ebp - 0x268]
call fcn.304a96f0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov eax, dword [ebp - 0x18]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x274]
call fcn.30408bf8
mov ecx, dword [ebp - 0x274]
lea eax, [ebp - 0x270]
mov edx, 0x304aa058
call fcn.304049f4
mov eax, dword [ebp - 0x270]
call fcn.304a96f0
mov eax, dword [ebp - 0x18]
push eax
push 0
push 0x400
call sub.kernel32.dll_OpenProcess
mov dword [ebp - 0x24], eax
push 0x304aa084
mov eax, dword [ebp - 0x24]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x27c]
call fcn.30408bf8
push dword [ebp - 0x27c]
push 0x304aa0c0
lea eax, [ebp - 0x278]
mov edx, 3
call fcn.30404a68
mov eax, dword [ebp - 0x278]
call fcn.304a96f0
mov edx, dword [ebp - 0x18]
mov eax, 8
call fcn.3049dd00
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x284]
call fcn.30408bf8
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x280]
mov edx, 0x304aa0ec
call fcn.304049f4
mov eax, dword [ebp - 0x280]
call fcn.304a96f0
cmp dword [ebp - 0x10], 0
je 0x304a9e4c
mov eax, 0x304aa120
call fcn.304a96f0
lea eax, [ebp - 0x248]
mov edx, 0x224
call fcn.30407444
mov dword [ebp - 0x248], 0x224
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x10]
call fcn.3049dd20
cmp eax, 1
sbb eax, eax
inc eax
cmp al, 1
jne 0x304a9e40
lea eax, [ebp - 0x14]
call fcn.304046e8
lea eax, [ebp - 0x288]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.30404958
mov eax, dword [ebp - 0x288]
call fcn.304a96f0
lea eax, [ebp - 0x28c]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.30404958
mov eax, dword [ebp - 0x28c]
mov edx, 0x304aa168
call fcn.3045c8a4
test al, al
je 0x304a9dc6
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x128]
mov ecx, 0x104
call fcn.30404958
lea edx, [ebp - 0x248]
mov eax, dword [ebp - 0x10]
call fcn.3049dd40
test eax, eax
jne 0x304a9d68
mov edx, 0x304aa168
mov eax, dword [ebp - 0x14]
call fcn.3045c8a4
test al, al
je 0x304a9e34
mov eax, dword [0x304c5908]
mov edx, dword [ebp - 0x14]
call fcn.3040473c
lea eax, [ebp - 0x290]
mov ecx, dword [ebp - 0x14]
mov edx, 0x304aa180
call fcn.304049f4
mov eax, dword [ebp - 0x290]
call fcn.304a96f0
mov edx, dword [ebp - 0x14]
mov eax, 0x304aa1b0
call fcn.304a9658
mov eax, 0x304aa1d0
call fcn.304a96f0
mov dword [ebp - 4], 1
jmp 0x304a9e56
mov eax, 0x304aa1f8
call fcn.304a96f0
jmp 0x304a9e56
mov eax, 0x304aa21c
call fcn.304a96f0
jmp 0x304a9e56
mov eax, 0x304aa254
call fcn.304a96f0
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_CloseWindow
cmp dword [ebp - 4], 0
je 0x304a9e71
mov eax, 0x304aa27c
call fcn.304a96f0
jmp 0x304a9e7b
mov eax, 0x304aa2a4
call fcn.304a96f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x304a9e9e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x304a9edb
lea eax, [ebp - 0x290]
mov edx, 0xc
call fcn.3040470c
lea eax, [ebp - 0x258]
mov edx, 4
call fcn.3040470c
lea eax, [ebp - 0x14]
call fcn.304046e8
ret