Function at 0x401028
Capabilities:
Create process on windows

Disassembly:
jmp 0x402b30
sub esp, 0x168
push ebx
mov ebx, dword [esp + 0x170]
push ebp
push esi
xor esi, esi
push edi
cmp ebx, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
je 0x402e73
cmp byte [ebx], 0
je 0x402e73
push esi
push 0x10
lea eax, [esp + 0x18]
push esi
push eax
call sub.USER32.dll_DdeInitializeA
cmp eax, esi
jne 0x402d11
mov ecx, dword [esp + 0x10]
push 0x3ec
push str.Netscape
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
mov edx, dword [esp + 0x10]
push 0x3ec
mov edi, eax
push str.WWW_OpenURL
push edx
mov dword [esp + 0x30], edi
call sub.USER32.dll_DdeCreateStringHandleA
mov ebp, eax
mov eax, dword [esp + 0x10]
push 0x3ec
push str.WWW_Activate
push eax
mov dword [esp + 0x34], ebp
call sub.USER32.dll_DdeCreateStringHandleA
mov ecx, dword [esp + 0x10]
push esi
push ebp
push edi
push ecx
mov dword [esp + 0x28], eax
call sub.USER32.dll_DdeConnect
mov esi, eax
test esi, esi
je 0x402cec
push ebx
lea edx, [esp + 0x7c]
push str.__s___0xFFFFFFFF_0x4
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x78]
push 0x3ec
push eax
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
push 0
push 0x2710
mov ebp, eax
push 0x20b0
push 1
push ebp
push esi
push 0
push 0
call sub.USER32.dll_DdeClientTransaction
mov edx, dword [esp + 0x10]
push ebp
push edx
mov edi, eax
call sub.USER32.dll_DdeFreeStringHandle
test edi, edi
je 0x402cde
push 7
push str.mailto:
push ebx
mov dword [esp + 0x28], 1
call fcn.00403190
add esp, 0xc
test eax, eax
je 0x402cde
push 0
lea eax, [esp + 0x24]
push 4
push eax
push edi
call sub.USER32.dll_DdeGetData
push edi
call sub.USER32.dll_DdeFreeDataHandle
push esi
call sub.USER32.dll_DdeDisconnect
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push 0
push ecx
push edx
push eax
call sub.USER32.dll_DdeConnect
mov esi, eax
test esi, esi
je 0x402cde
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x78]
push ecx
push str.0x_lX_0x0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
lea eax, [esp + 0x78]
push 0x3ec
push eax
push ecx
call sub.USER32.dll_DdeCreateStringHandleA
push 0
push 0x2710
mov edi, eax
push 0x20b0
push 1
push edi
push esi
push 0
push 0
call sub.USER32.dll_DdeClientTransaction
mov edx, dword [esp + 0x10]
push edi
push edx
call sub.USER32.dll_DdeFreeStringHandle
push esi
call sub.USER32.dll_DdeDisconnect
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
push edi
push eax
call sub.USER32.dll_DdeFreeStringHandle
mov ecx, dword [esp + 0x10]
push ebp
push ecx
call sub.USER32.dll_DdeFreeStringHandle
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
push edx
push eax
call sub.USER32.dll_DdeFreeStringHandle
mov ecx, dword [esp + 0x10]
push ecx
call sub.USER32.dll_DdeUninitialize
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x402d31
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov al, byte [0x40e210]
mov ebp, dword [sym.imp.SHELL32.dll_ShellExecuteA]
test al, al
jne 0x402e17
mov edx, dword [0x40d854]
push 9
push 0
push 0
push ebx
push str.open
push edx
call ebp
cmp eax, 0x20
mov dword [esp + 0x14], eax
ja 0x402e75
push str.Select_Web_Browser_to_go_to
push 0x40e410
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
push 0x40e410
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersion]
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [0x40d854]
mov dword [esp + 0x2c], 0x4c
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], str.Programs__.exe_
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], 0x40e210
mov dword [esp + 0x4c], 0x100
mov dword [esp + 0x5c], 0x40e410
mov dword [esp + 0x58], 0x40e310
mov dword [esp + 0x60], 0x1800
call esi
cmp eax, 0x80000000
jb 0x402ded
call esi
cmp al, 4
jae 0x402dfc
call esi
cmp eax, 0x80000000
jae 0x402e04
call esi
cmp al, 4
jb 0x402e04
or dword [esp + 0x60], 0x80000
lea ecx, [esp + 0x2c]
push ecx
call sub.comdlg32.dll_GetOpenFileNameA
test eax, eax
jne 0x402e17
mov byte [0x40e210], al
mov al, byte [0x40e210]
test al, al
je 0x402e4c
mov edx, dword [0x40d854]
push 9
push 0
push ebx
push 0x40e210
push str.open
push edx
call ebp
cmp eax, 0x20
mov dword [esp + 0x14], eax
jbe 0x402e4c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
mov eax, dword [0x40d854]
push 0x30
push 0x40a8fc
push str.Internet_connection_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret