Function at 0x405110
Capabilities:
Create process on windows
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x5a8
push ebx
push ebp
push esi
push edi
call fcn.00420831
mov esi, dword [eax + 0xc]
push 0xa
xor ebp, ebp
push 0x91
push esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4056bf
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4056bf
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
jbe 0x4056b0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x4056b0
lea eax, [ebp + 1]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x18], eax
je 0x40566c
mov ecx, 9
mov esi, str._____________start_info_____________
lea edi, [esp + 0x64]
push ebp
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 9
mov esi, str.______________end_info______________
lea edi, [esp + 0x40]
push ebx
rep movsd dword es:[edi], dword [esi]
push eax
movsb byte es:[edi], byte [esi]
call fcn.0040c860
mov edi, 0x432d90
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.24.03.01
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x42a5a4
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov esi, dword [esp + 0x5c8]
not ecx
dec ecx
mov edi, esi
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 0x800]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40560e
push 0x42a42c
push esi
push 0x42a42c
push 0x42a42c
push 0x432d90
push str.24.03.01
push 0x42a5a4
push 0x42a42c
push 0x42a42c
push str.Hello_Bill_Jon:_s_sI_am_running___s___s_._My_Username_is___s_._s_s_s_s
push ebx
call fcn.0040b8ea
mov edi, dword [esp + 0x5ec]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x2c
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ebx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov edi, dword [esp + 0x5c4]
not ecx
dec ecx
lea edx, [ecx + edx*2 + 0x800]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x432de4
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x431a84
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x432d90
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, str.24.03.01
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, 0x42a5a4
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x3c]
add edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x14], edx
mov edx, ecx
lea edi, [esp + 0x64]
or ecx, 0xffffffff
add edx, ebp
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
add edx, eax
mov esi, ecx
add esi, edx
push esi
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
je 0x4055a9
mov ecx, dword [str.email_ts.htm]
mov edx, dword [0x42bbcc]
mov eax, dword [0x42bbd0]
mov dword [esp + 0x1c], ecx
mov cl, byte [0x42bbd4]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
mov byte [esp + 0x28], cl
mov eax, dword [0x432f64]
cmp eax, 1
jne 0x405340
mov edi, str.RegYes
jmp 0x405354
mov eax, dword [0x432f64]
cmp eax, 2
mov edi, str.RegTmp
je 0x405354
mov edi, str.RegNot
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x5c0]
mov edx, dword [esp + 0x5c4]
push ebx
push 0x25
push eax
push 0x432de4
lea ecx, [esp + 0x4c]
push 0x432d90
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x58]
push 0x432d90
push 0x432de4
push edi
mov edi, dword [esp + 0x58]
push str.24.03.01
sub eax, edx
push 0x42a5a4
sub ecx, edi
push eax
mov eax, dword [esp + 0x50]
push ecx
lea edx, [esp + 0xa0]
push 0x431a84
push edx
push 0x25
push 0x25
push eax
push esi
push ebp
call fcn.0040c594
lea ecx, [esp + 0x74]
lea edx, [esp + 0x10c]
push ecx
push 0x42a264
push 0x431980
push str._s_s_s
push edx
call fcn.0040b8ea
add esp, 0x6c
lea eax, [esp + 0xb4]
push 0x180
push 0x8302
push eax
call fcn.0040be8c
mov esi, eax
add esp, 0xc
test esi, esi
mov dword [esp + 0x14], esi
jl 0x405549
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
push edi
push ebp
push esi
call fcn.0040bc9c
add esp, 0xc
cmp eax, edi
jne 0x405524
mov ecx, 9
mov esi, str.https:__www.electrasoft.com_email.htm
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
push ecx
movsw word es:[edi], word [esi]
call fcn.0040bbbc
mov esi, dword [esp + 0x5c0]
add esp, 4
test esi, esi
jne 0x40546f
xor eax, eax
jmp 0x405472
mov eax, dword [esi + 0x1c]
push 3
push 0
lea edx, [esp + 0xbc]
push 0
push edx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4054f4
lea eax, [esp + 0x8c]
lea ecx, [esp + 0xb4]
push eax
push ecx
lea edx, [esp + 0x1c0]
push str.Unable_to_open_your_web_browser_to_the_ElectraSoft_email_form_at:_n_s_n_n_nPlease_type_the_following_URL_into_your_web_browse_and_goto_it._n_n_s_n_nElectraSoft_Tech_Support_phone_281_499_8246.
push edx
call fcn.0040b8ea
add esp, 0x10
lea eax, [esp + 0x1b8]
mov ecx, esi
push 0x10
push 0x42a5a4
push eax
call fcn.0041cb63
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret
push ebp
mov dword [esp + 0x14], 1
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret
push esi
call fcn.0040bbbc
lea ecx, [esp + 0xb8]
lea edx, [esp + 0x1bc]
push ecx
push str.Could_not_write__ElectraSoft_email_form__file:_n_s_nCheck_hard_drive.
push edx
call fcn.0040b8ea
add esp, 0x10
jmp 0x405566
lea ecx, [esp + 0xb4]
lea edx, [esp + 0x1b8]
push ecx
push str.Could_not_create__ElectraSoft_email_form__file:_n_s_nCheck_hard_drive.
push edx
call fcn.0040b8ea
add esp, 0xc
mov ecx, dword [esp + 0x5bc]
push 0x10
lea eax, [esp + 0x1bc]
push 0x42a5a4
push eax
call fcn.0041cb63
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret
mov edi, str.Not_enough_local_memory_to_run__ElectraSoft_email_form__1_.
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x42a5a4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c0]
push ecx
mov ecx, dword [esp + 0x5c8]
call fcn.0041cb63
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret
mov edi, str.Not_enough_local_memory_to_run__ElectraSoft_email_form__2_.
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x42a5a4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c0]
push ecx
mov ecx, dword [esp + 0x5c8]
call fcn.0041cb63
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret
mov edi, str.Not_enough_local_memory_to_run__ElectraSoft_email_form__3_.
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x10
mov eax, ecx
mov esi, edi
mov edi, edx
push 0x42a5a4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c0]
push ecx
mov ecx, dword [esp + 0x5c8]
call fcn.0041cb63
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x5a8
ret