Function at 0x40ea80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x55e01d
mov eax, dword fs:[0]
push eax
sub esp, 0x80
push ebx
push esi
push edi
mov eax, dword [0x660038]
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.00494a10
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 [0x677d34]
lea eax, [esi + 0xbe4]
call fcn.00403c30
test eax, eax
je 0x40ed5e
or edi, 0xffffffff
mov eax, 0x5ff568
lea esi, [esp + 0x24]
call fcn.00496280
mov byte [esp + 0x98], 3
push 0
push 0x3a
push ebx
call fcn.00495250
test eax, eax
jle 0x40eb73
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
mov ecx, ebx
call fcn.00494f40
mov bl, 4
mov byte [esp + 0x98], bl
lea edx, [esp + 0x2c]
push edx
mov edi, eax
call fcn.004961d0
mov byte [esp + 0x98], 5
mov edi, esi
call fcn.00496360
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x2c]
call fcn.00494b70
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x30]
jmp 0x40ec1a
push 0
or edi, 0xffffffff
mov eax, 0x5ff570
lea esi, [esp + 0x30]
call fcn.00494ae0
mov byte [esp + 0x98], 6
lea eax, [esp + 0x3c]
push eax
lea edi, [esp + 0x28]
call fcn.00494a20
mov byte [esp + 0x98], 7
mov ecx, esi
push ecx
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.00495940
add esp, 0xc
mov byte [esp + 0x98], 8
push ebx
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00495940
add esp, 0xc
mov byte [esp + 0x98], 9
lea edi, [esp + 0x1c]
call fcn.00494c50
mov byte [esp + 0x98], 8
lea ecx, [esp + 0x30]
call fcn.00494b70
mov byte [esp + 0x98], 7
lea ecx, [esp + 0x34]
call fcn.00494b70
mov byte [esp + 0x98], 6
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov byte [esp + 0x98], 3
mov ecx, esi
call fcn.00494b70
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040e910
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.00407eb0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
mov dword [esp + 0x5c], 0x5ff578
mov dword [esp + 0x6c], 5
call fcn.00407eb0
mov dword [esp + 0x78], eax
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
cmp dword [esp + 0x70], 0x20
jbe 0x40ecfb
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x28]
call fcn.00494b70
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x24]
call fcn.00494b70
mov byte [esp + 0x98], 0
call fcn.0040ad90
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00494b70
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.00494b70
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x24]
call fcn.00494b70
mov byte [esp + 0x98], 0
call fcn.0040ad90
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00494b70
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 + 0xc08]
call fcn.00407eb0
push eax
lea ecx, [esp + 0x24]
push ecx
call sub.ClientConfigUI66U.dll_class_VUnicodeString___cdecl_ExtractExecutablePath_wchar_t_const__
add esp, 8
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x20]
call fcn.00494ea0
push 0
or edi, 0xffffffff
mov eax, str.netscape
lea esi, [esp + 0x30]
mov dword [esp + 0x2c], str.IEXPLORE
call fcn.00494ae0
mov byte [esp + 0x98], 0xc
mov edx, esi
push edx
xor edi, edi
lea eax, [esp + 0x24]
call fcn.004952d0
test eax, eax
setge byte [esp + 0x17]
mov byte [esp + 0x98], 0xb
mov ecx, esi
call fcn.00494b70
cmp byte [esp + 0x17], 0
je 0x40edde
mov dword [esp + 0x28], str.NETSCAPE
lea esi, [esp + 0x18]
call fcn.00407e80
mov byte [esp + 0x98], 0xd
mov eax, esi
call fcn.00407eb0
test eax, eax
je 0x40ef81
mov ecx, dword [esp + 0x28]
push str.WWW_OpenURL
mov eax, esi
push eax
lea edi, [esp + 0x50]
call fcn.00407f00
mov byte [esp + 0x98], 0xe
mov eax, edi
call fcn.00452440
mov dword [esp + 0x40], eax
test eax, eax
je 0x40f0d3
mov eax, dword [0x677d34]
add eax, 0xc10
call fcn.00403c30
test eax, eax
je 0x40f0d3
or edi, 0xffffffff
mov eax, 0x5ff5d4
lea esi, [esp + 0x2c]
call fcn.00494af0
mov dword [esp + 0x3c], eax
mov byte [esp + 0x98], 0xf
or edi, edi
mov eax, 0x5ff5d4
lea esi, [esp + 0x30]
call fcn.00494af0
mov byte [esp + 0x98], 0x10
push ebx
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.00495940
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.00495940
add esp, 0xc
mov byte [esp + 0x98], 0x13
lea ecx, [esp + 0x34]
call fcn.00494b70
mov byte [esp + 0x98], 0x14
mov ecx, esi
call fcn.00494b70
mov bl, 0x15
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x2c]
call fcn.00494b70
push 0
or edi, 0xffffffff
mov eax, 0x5ff5d8
lea esi, [esp + 0x30]
call fcn.00494ae0
mov byte [esp + 0x98], 0x16
mov ecx, esi
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x44]
push eax
call fcn.00495940
add esp, 0xc
mov byte [esp + 0x98], 0x17
call fcn.00407eb0
mov ecx, eax
lea eax, [esp + 0x18]
lea esi, [esp + 0x34]
call fcn.00407ec0
mov byte [esp + 0x98], 0x19
lea ecx, [esp + 0x3c]
call fcn.00494b70
mov byte [esp + 0x98], 0x1a
lea ecx, [esp + 0x2c]
call fcn.00494b70
mov eax, esi
call fcn.00452440
test eax, eax
jne 0x40efa8
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x34]
call fcn.00407ee0
mov byte [esp + 0x98], 0xe
lea ecx, [esp + 0x24]
call fcn.00494b70
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x48]
call fcn.00407fc0
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x18]
call fcn.00407ea0
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x20]
call fcn.00494b70
jmp 0x40ed25
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 0x40ef4f
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x34]
call fcn.00407ee0
mov byte [esp + 0x98], 0xe
lea ecx, [esp + 0x24]
call fcn.00494b70
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x48]
call fcn.00407fc0
mov ecx, dword [esp + 0x28]
push str.WWW_Activate
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x48]
call fcn.00407f00
mov bl, 0x1b
mov byte [esp + 0x98], bl
mov eax, edi
call fcn.00452440
mov edi, eax
test edi, edi
je 0x40f05d
mov ecx, str.0xffffffff_0
lea eax, [esp + 0x18]
lea esi, [esp + 0x48]
call fcn.00407ec0
mov byte [esp + 0x98], 0x1c
mov eax, esi
call fcn.00452440
test eax, eax
jne 0x40f06e
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x48]
call fcn.00407ee0
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x40]
jmp 0x40ef7c
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 0x40f04d
mov byte [esp + 0x98], bl
lea ecx, [esp + 0x48]
call fcn.00407ee0
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x40]
call fcn.00407fc0
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x18]
call fcn.00407ea0
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x20]
call fcn.00494b70
jmp 0x40ecbf
mov eax, ebx
call fcn.00407eb0
push eax
lea eax, [esp + 0x24]
call fcn.00407eb0
push eax
call fcn.0040e850
add esp, 8
mov esi, eax
mov byte [esp + 0x98], 0xd
lea eax, [esp + 0x48]
call fcn.00407fc0
mov byte [esp + 0x98], 0xb
lea eax, [esp + 0x18]
call fcn.00407ea0
mov byte [esp + 0x98], 2
lea ecx, [esp + 0x20]
call fcn.00494b70
mov byte [esp + 0x98], 0
call fcn.0040ad90
mov dword [esp + 0x98], 0xffffffff
lea ecx, [esp + 0x1c]
call fcn.00494b70
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