Function at 0x40f560
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5644fd
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x668038]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov eax, ebx
lea esi, [esp + 0x1c]
call fcn.004992f0
mov dword [esp + 0x98], 0
call sub.mfc90u.dll_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.mfc90u.dll_CCmdTarget::BeginWaitCursor
mov byte [esp + 0x98], 2
mov esi, dword [0x680770]
lea eax, [esi + 0xc2c]
call fcn.0040f1f0
test eax, eax
je 0x40f83e
or edi, 0xffffffff
mov eax, 0x605660
lea esi, [esp + 0x24]
call fcn.0049abd0
mov byte [esp + 0x98], 3
push 0
push 0x3a
push ebx
call fcn.00499b50
test eax, eax
jle 0x40f653
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.00499840
mov bl, 4
mov byte [esp + 0x98], bl
lea edx, [esp + 0x2c]
push edx
mov edi, eax
call fcn.0049ab20
mov byte [esp + 0x98], 5
mov edi, esi
call fcn.0049acb0
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x2c]
call fcn.00499450
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x30]
jmp 0x40f6fa
push 0
or edi, 0xffffffff
mov eax, 0x605668
lea esi, [esp + 0x30]
call fcn.004993c0
mov byte [esp + 0x98], 6
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x28]
call fcn.00499300
mov byte [esp + 0x98], 7
mov ecx, esi
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x98], 8
push ebx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x98], 9
lea edi, [esp + 0x1c]
call fcn.00499530
mov byte [esp + 0x98], 8
lea ecx, [esp + 0x30]
call fcn.00499450
mov byte [esp + 0x98], 7
lea ecx, [esp + 0x34]
call fcn.00499450
mov byte [esp + 0x98], 6
lea ecx, [esp + 0x3c]
call fcn.00499450
mov byte [esp + 0x98], 3
mov ecx, esi
call fcn.00499450
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040f3f0
add esp, 4
mov byte [esp + 0x98], 0xa
push 0x38
lea edx, [esp + 0x58]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea eax, [esp + 0x28]
mov dword [esp + 0x50], 0x3c
mov dword [esp + 0x54], 1
mov dword [esp + 0x58], 0
call fcn.00408130
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x5c], 0x605670
mov dword [esp + 0x6c], 5
call fcn.00408130
mov dword [esp + 0x78], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [esp + 0x70], 0x20
jbe 0x40f7db
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x28]
call fcn.00499450
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x24]
call fcn.00499450
mov byte [esp + 0x98], 0
call fcn.0040b210
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00499450
mov eax, 1
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x30
call dword [sym.imp.USER32.dll_MessageBeep]
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x28]
call fcn.00499450
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x24]
call fcn.00499450
mov byte [esp + 0x98], 0
call fcn.0040b210
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00499450
xor eax, eax
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esi + 0xc50]
call fcn.00408130
push eax
lea ecx, [esp + 0x24]
push ecx
call sub.ClientConfigUI67U.dll_class_VUnicodeString___cdecl_ExtractExecutablePath_wchar_t_const__
add esp, 8
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x20]
call fcn.004997a0
push 0
or edi, 0xffffffff
mov eax, str.netscape
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], str.IEXPLORE
call fcn.004993c0
mov byte [esp + 0x98], 0xc
mov edx, esi
push edx
xor edi, edi
lea eax, [esp + 0x24]
call fcn.00499bd0
test eax, eax
setge byte [esp + 0x17]
mov byte [esp + 0x98], 0xb
mov ecx, esi
call fcn.00499450
cmp byte [esp + 0x17], 0
je 0x40f8be
mov dword [esp + 0x28], str.NETSCAPE
lea esi, [esp + 0x18]
call fcn.00408100
mov byte [esp + 0x98], 0xd
mov eax, esi
call fcn.00408130
test eax, eax
je 0x40fa61
mov ecx, dword [esp + 0x28]
push str.WWW_OpenURL
mov eax, esi
push eax
lea edi, [esp + 0x50]
call fcn.00408180
mov byte [esp + 0x98], 0xe
mov eax, edi
call fcn.0049cb10
mov dword [esp + 0x40], eax
test eax, eax
je 0x40fbb3
mov eax, dword [0x680770]
add eax, 0xc58
call fcn.0040f1f0
test eax, eax
je 0x40fbb3
or edi, 0xffffffff
mov eax, 0x6056cc
lea esi, [esp + 0x2c]
call fcn.004993d0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x98], 0xf
or edi, edi
mov eax, 0x6056cc
lea esi, [esp + 0x30]
call fcn.004993d0
mov byte [esp + 0x98], 0x10
push ebx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x98], 0x11
mov edx, dword [esp + 0x3c]
push edx
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x98], 0x13
lea ecx, [esp + 0x34]
call fcn.00499450
mov byte [esp + 0x98], 0x14
mov ecx, esi
call fcn.00499450
mov bl, 0x15
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x2c]
call fcn.00499450
push 0
or edi, 0xffffffff
mov eax, 0x6056d0
lea esi, [esp + 0x30]
call fcn.004993c0
mov byte [esp + 0x98], 0x16
mov ecx, esi
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.0049a280
add esp, 0xc
mov byte [esp + 0x98], 0x17
call fcn.00408130
mov ecx, eax
lea eax, [esp + 0x18]
lea esi, [esp + 0x34]
call fcn.00408140
mov byte [esp + 0x98], 0x19
lea ecx, [esp + 0x3c]
call fcn.00499450
mov byte [esp + 0x98], 0x1a
lea ecx, [esp + 0x2c]
call fcn.00499450
mov eax, esi
call fcn.0049cb10
test eax, eax
jne 0x40fa88
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x34]
call fcn.00408160
mov byte [esp + 0x98], 0xe
lea ecx, [esp + 0x24]
call fcn.00499450
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x48]
call fcn.00408240
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x18]
call fcn.00408120
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x20]
call fcn.00499450
jmp 0x40f805
mov ecx, dword [esp + 0x40]
push 0
push 0xea60
push 0x20b0
push 1
push eax
push ecx
push 0
push 0
call sub.USER32.dll_DdeClientTransaction
test eax, eax
je 0x40fa2f
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x34]
call fcn.00408160
mov byte [esp + 0x98], 0xe
lea ecx, [esp + 0x24]
call fcn.00499450
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x48]
call fcn.00408240
mov ecx, dword [esp + 0x28]
push str.WWW_Activate
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x48]
call fcn.00408180
mov bl, 0x1b
mov byte [esp + 0x98], bl
mov eax, edi
call fcn.0049cb10
mov edi, eax
test edi, edi
je 0x40fb3d
mov ecx, str.0xffffffff_0
lea eax, [esp + 0x18]
lea esi, [esp + 0x48]
call fcn.00408140
mov byte [esp + 0x98], 0x1c
mov eax, esi
call fcn.0049cb10
test eax, eax
jne 0x40fb4e
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x48]
call fcn.00408160
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x40]
jmp 0x40fa5c
push 0
push 0xea60
push 0x20b0
push 1
push eax
push edi
push 0
push 0
call sub.USER32.dll_DdeClientTransaction
test eax, eax
je 0x40fb2d
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x48]
call fcn.00408160
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x40]
call fcn.00408240
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x18]
call fcn.00408120
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x20]
call fcn.00499450
jmp 0x40f79f
mov eax, ebx
call fcn.00408130
push eax
lea eax, [esp + 0x24]
call fcn.00408130
push eax
call fcn.0040f330
add esp, 8
mov esi, eax
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x48]
call fcn.00408240
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x18]
call fcn.00408120
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x20]
call fcn.00499450
mov byte [esp + 0x98], 0
call fcn.0040b210
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00499450
mov eax, esi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret