Function at 0x461140
Capabilities:
Check for time delay via gettickcount
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c74b8
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62f570]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov ebp, dword [esp + 0x64]
mov edx, dword [eax + 0x144]
lea ecx, [esp + 0x14]
push ecx
push ebp
mov ecx, esi
mov dword [esp + 0x1c], 0
call edx
mov ebx, eax
test ebx, ebx
jne 0x4612dd
mov eax, dword [esi]
mov edx, dword [eax + 0x14c]
push ebp
mov ecx, esi
call edx
mov edi, eax
test edi, edi
je 0x461385
mov eax, dword [esi + 0x84]
cmp eax, 0xfffffffe
je 0x46124b
mov dword [esi + 0x84], 0xfffffffe
call fcn.0053a8e1
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4611db
push 0x80004005
call fcn.004015b0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x64], eax
mov dword [esp + 0x5c], 0
mov eax, dword [esi + 0x20]
push eax
push 0x5f3510
lea ecx, [esp + 0x6c]
push str._s__d
push ecx
call fcn.0040bc50
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x74]
mov ecx, dword [esi + 0x20]
add esp, 0x10
push 0
push 0
push edi
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [edi - 0x10]
mov dword [esp + 0x5c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46124b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
mov dword [esp + 0x28], eax
call edi
test eax, eax
je 0x4612c0
lea esp, [esp]
test ebx, ebx
jne 0x4612c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x18]
cmp eax, 0x2710
ja 0x4612c0
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov edx, dword [esi]
mov edx, dword [edx + 0x144]
lea eax, [esp + 0x14]
push eax
push ebp
mov ecx, esi
call edx
push 0
push 0
mov ebx, eax
push 0
lea eax, [esp + 0x28]
push eax
call edi
test eax, eax
jne 0x461270
mov ecx, dword [esi + 0x84]
cmp ecx, 0xfffffffe
jne 0x4612d5
mov dword [esi + 0x84], 0xffffffff
test ebx, ebx
je 0x461385
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x14]
push edx
push eax
push 0x4e38
lea edi, [esi + 0x88]
mov dword [edi], 0
push ebx
mov dword [esi + 0x84], 0
call dword [sym.imp.USER32.dll_SendMessageW]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
push 0
push 0
lea ecx, [esp + 0x44]
push ecx
mov ebp, eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x461367
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebp
cmp eax, 0x2710
ja 0x461367
lea edx, [esp + 0x38]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov ecx, dword [esi + 0x84]
test ecx, ecx
jne 0x461367
push ecx
push ecx
push ecx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x461326
mov eax, dword [esi + 0x84]
cmp eax, 1
jne 0x461385
push edi
add esi, 0x8c
push esi
call fcn.004626e0
mov dword [eax], ebx
mov eax, dword [edi]
jmp 0x461387
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0x18