Function at 0x4015ae
Capabilities:
Query environment variable
Read file on windows
Write file on windows

Disassembly:
mov eax, 0x4109e2
call fcn.004106f0
sub esp, 0xdc4
push ebx
push esi
push edi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x10], esp
call fcn.004011b2
xor ebx, ebx
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], ebx
call fcn.00401062
lea ecx, [ebp - 0x74]
call fcn.00401062
lea ecx, [ebp - 0x80]
call fcn.00401062
lea ecx, [ebp - 0x50]
call fcn.00401062
lea ecx, [ebp - 0x5c]
call fcn.00401062
lea ecx, [ebp - 0x38]
call fcn.00401062
mov byte [ebp - 4], 6
call fcn.004014a2
push 0x40
push ebx
push 0x41a9f8
mov byte [0x41a86c], 0x3b
mov byte [0x421dd0], bl
mov byte [0x422aec], bl
mov dword [0x41b4a4], ebx
mov byte [0x421eda], bl
mov dword [0x422ae4], ebx
mov dword [0x41bfec], ebx
mov byte [0x421d75], bl
mov byte [0x421ed8], bl
mov byte [0x421edc], bl
mov byte [0x421edd], bl
mov dword [0x421d68], ebx
mov dword [0x421ba4], ebx
mov byte [0x41ad90], bl
mov byte [0x422aed], bl
mov byte [0x421ed4], bl
mov byte [0x421ed9], bl
mov dword [0x41b4ac], ebx
call sub.MSVCRT.dll_memset
push 0x4140
push ebx
push 0x41d138
call sub.MSVCRT.dll_memset
push dword [0x41a860]
push 0x41bff8
call sub.MSVCRT.dll_strcpy
push dword [0x41a868]
push 0x41c718
call sub.MSVCRT.dll_strcpy
push 0x4127c4
push 0x41b298
call sub.MSVCRT.dll_strcpy
add esp, 0x30
mov dword [0x41bfec], ebx
mov dword [0x41d028], ebx
mov dword [0x421384], ebx
mov dword [0x41c204], ebx
mov dword [0x41bff0], 4
mov dword [0x41b4a8], ebx
mov byte [0x41c711], bl
mov byte [0x421aad], bl
mov byte [0x41c819], bl
mov byte [0x421ba0], bl
mov byte [0x41ab41], bl
mov byte [0x421278], bl
mov byte [0x41aa39], bl
mov byte [0x41ad88], bl
mov byte [0x41b6b9], bl
mov byte [0x41ac50], bl
test byte [0x421b9c], 1
mov byte [0x41d134], bl
mov byte [0x41b7c1], bl
mov byte [0x41bdd9], bl
mov byte [0x41b5b4], bl
mov byte [0x41c81a], bl
mov byte [0x41aa38], bl
mov dword [0x41ac4c], ebx
mov byte [0x41aa3a], 1
mov byte [0x41c712], 1
mov dword [0x41b8cc], ebx
mov byte [0x41b4b0], bl
mov byte [0x421790], bl
mov byte [0x41bde0], bl
mov byte [0x41c820], bl
mov byte [0x41b8d0], bl
mov byte [0x41bee8], bl
mov byte [0x41ac80], bl
mov byte [0x41aa40], bl
mov byte [0x41b6c0], bl
mov byte [0x41b7c8], bl
mov byte [0x4226e0], bl
mov byte [0x41ad90], bl
mov byte [0x41ab48], bl
mov byte [0x41b3a0], bl
mov byte [0x41c208], bl
mov byte [0x41b9d8], bl
mov byte [0x421388], bl
mov byte [0x421898], bl
mov byte [0x41b5b8], bl
mov byte [0x421280], bl
mov byte [0x41c610], bl
mov byte [0x41c100], bl
mov byte [0x41b190], bl
mov byte [0x41cc28], bl
jne 0x401821
or dword [0x421b9c], 1
mov ecx, 0x421b48
mov byte [ebp - 4], 8
call fcn.0040c2ea
push 0x410fab
call fcn.0041075e
pop ecx
mov dword [0x42178c], 0x421b48
jmp 0x401853
xor esi, esi
inc esi
cmp dword [ebp + 8], 2
mov dword [ebp - 4], 6
jg 0x4018be
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push esi
lea eax, [ebp - 0x1d]
push eax
push str.REQUEST_METHOD
call edi
test eax, eax
jbe 0x4018be
push esi
lea eax, [ebp - 0x1d]
push eax
push str.GATEWAY_INTERFACE
call edi
test eax, eax
jbe 0x4018be
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040b124
add esp, 0x1c
test eax, eax
je 0x4018be
mov byte [0x421278], 1
mov dword [0x41b4ac], esi
push str.plain
push 0x421a9c
mov byte [0x41ac54], bl
mov dword [0x41ac4c], ebx
mov byte [0x421edb], bl
call sub.MSVCRT.dll_strcpy
cmp dword [ebp + 8], 2
pop ecx
pop ecx
jge 0x4018f3
push ebx
call fcn.004047dd
pop ecx
jmp 0x401adb
push 0x104
push ebx
mov edi, 0x41d030
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], ebx
call sub.MSVCRT.dll_memset
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov cl, byte [eax]
add esp, 0xc
cmp cl, 0x2d
je 0x40191f
cmp cl, 0x2f
jne 0x401928
cmp byte [eax + 1], bl
je 0x401928
push esi
push esi
jmp 0x40192b
push esi
push 2
push edx
push dword [ebp + 8]
call fcn.0040495f
add esp, 0x10
cmp dword [0x41bfec], ebx
mov esi, eax
jne 0x401abe
cmp dword [0x41b4ac], ebx
jne 0x401967
movsx eax, byte [0x421278]
push eax
call fcn.00404080
cmp dword [0x41bfec], ebx
pop ecx
jne 0x401abe
cmp esi, ebx
jne 0x401abe
cmp byte [0x41d030], bl
je 0x401b3b
mov esi, 0x404
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
cmp eax, ebx
pop ecx
mov dword [ebp - 0x18], eax
je 0x401b3b
push esi
push ebx
push eax
mov dword [ebp - 0x28], ebx
call sub.MSVCRT.dll_memset
push 0x412794
push edi
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 0x14
cmp eax, ebx
mov dword [0x41b9d4], eax
jne 0x4019ec
push dword [ebp - 0x18]
call dword [sym.imp.MSVCRT.dll_free]
push edi
push str.Options_file___s__not_found_or_could_not_be_opened._n
call fcn.00401292
push ebx
call fcn.00401292
add esp, 0x10
mov eax, dword [0x41b8cc]
cmp eax, ebx
je 0x4019e4
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 2
pop esi
jmp 0x401ad6
mov edi, dword [ebp - 0x28]
mov esi, 0x100
test byte [eax + 0xc], 0x10
jne 0x401a5f
push eax
lea eax, [ebp - 0xdd0]
push 0x800
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
cmp eax, ebx
je 0x401a56
lea eax, [ebp - 0xdd0]
push eax
call sub.MSVCRT.dll_strlen
dec eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + eax - 0xdd0]
pop ecx
mov cl, byte [eax]
cmp cl, 0xa
je 0x401a38
cmp cl, 0xd
jne 0x401a3c
mov byte [eax], bl
jmp 0x401a14
push ebx
push edi
push esi
push dword [ebp - 0x18]
lea eax, [ebp - 0xdd0]
push eax
call fcn.0040929d
mov edi, eax
add esp, 0x14
mov dword [ebp - 0x28], edi
cmp edi, esi
mov eax, dword [0x41b9d4]
jb 0x4019f4
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
cmp edi, ebx
pop ecx
mov dword [ebp - 0x24], edi
je 0x401b3b
mov edi, dword [ebp - 0x18]
push 1
push ebx
push edi
push dword [ebp - 0x28]
call fcn.0040495f
add esp, 0x10
cmp dword [0x41bfec], ebx
mov esi, eax
jne 0x401a96
cmp esi, ebx
je 0x401b3b
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
jmp 0x401aae
push eax
call dword [sym.imp.MSVCRT.dll_free]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [edi + eax*4]
pop ecx
cmp eax, ebx
jne 0x401a9d
push edi
call dword [sym.imp.MSVCRT.dll_free]
cmp esi, ebx
pop ecx
je 0x401ad6
push ebx
call fcn.00401292
mov eax, dword [0x41b8cc]
cmp eax, ebx
pop ecx
je 0x401ad6
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
call fcn.004014a2
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00401054
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 4
call fcn.00401054
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 3
call fcn.00401054
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 2
call fcn.00401054
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00401054
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], bl
call fcn.00401054
lea ecx, [ebp - 0x1c]
call fcn.004015a9
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov cl, byte [eax]
cmp cl, 0x2d
je 0x401b5a
cmp cl, 0x2f
je 0x401b5a
push eax
push 0x41b4b0
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x421dd0
call fcn.00409047
mov edi, 0x41ab48
push edi
push 0x41b6c0
mov dword [0x41ad84], eax
call sub.MSVCRT.dll_strcpy
push edi
push 0x41b7c8
call sub.MSVCRT.dll_strcpy
push ebx
call dword [sym.imp.MSVCRT.dll_time]
mov esi, eax
call dword [sym.imp.MSVCRT.dll_clock]
add esi, eax
push esi
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 0x1c
cmp dword [ebp - 0x24], ebx
je 0x401bef
mov edi, dword [ebp - 0x18]
push ebx
push ebx
push edi
push dword [ebp - 0x24]
call fcn.0040495f
mov esi, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [edi]
add esp, 0x10
jmp 0x401bcf
push eax
call dword [sym.imp.MSVCRT.dll_free]
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, dword [edi + eax*4]
pop ecx
cmp eax, ebx
jne 0x401bbe
push edi
call dword [sym.imp.MSVCRT.dll_free]
cmp dword [0x41bfec], ebx
pop ecx
jne 0x401abe
cmp esi, ebx
jne 0x401abe
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
mov cl, byte [eax]
cmp cl, 0x2d
je 0x401c01
cmp cl, 0x2f
jne 0x401c0b
cmp byte [eax + 1], bl
je 0x401c0b
push ebx
push 1
jmp 0x401c0e
push ebx
push 2
push edx
push dword [ebp + 8]
call fcn.0040495f
add esp, 0x10
cmp dword [0x41bfec], ebx
mov edi, eax
jne 0x4023e9
cmp edi, ebx
jne 0x4023e9
push 0xc
pop esi
cmp dword [0x41ad84], esi
jne 0x401c5e
cmp byte [0x41b7c8], bl
je 0x401c53
cmp byte [0x41b3a0], bl
jne 0x401c5e
cmp byte [0x41b5b8], bl
jne 0x401c5e
push str.Failed_to_open_registry_key_for_Blat_n
call fcn.00401292
pop ecx
cmp byte [0x421ed8], bl
jne 0x401c77
push 0x41b7c8
push 0x41b6c0
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
cmp byte [0x41b7c8], bl
je 0x4023c7
cmp byte [0x41b3a0], bl
jne 0x401c97
cmp byte [0x41b5b8], bl
je 0x4023c7
cmp byte [0x41b4b0], bl
je 0x401ce5
push 0x412730
mov esi, 0x41b4b0
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x401ce5
push 0x4000
lea eax, [ebp - 0x120]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_OpenFile]
cmp eax, 0xffffffff
jne 0x401ce5
push esi
push str._s_does_not_exist_n
call fcn.00401292
push ebx
call fcn.00401292
add esp, 0xc
jmp 0x4019d3
push 0x421ab0
call fcn.0040151a
mov edi, 0x421b34
push edi
call fcn.0040151a
mov esi, 0x421ae0
push esi
call fcn.0040151a
push 0x421ab0
call fcn.004060eb
push edi
call fcn.004060eb
push esi
call fcn.004060eb
add esp, 0x18
mov ecx, 0x421ab0
call fcn.00401156
mov ecx, 0x421b34
mov edi, eax
call fcn.00401156
mov esi, 0x421ae0
mov ecx, esi
add edi, eax
call fcn.00401156
lea eax, [edi + eax + 4]
push eax
lea ecx, [ebp - 0x38]
call fcn.0040109b
mov ecx, 0x421ab0
call fcn.00401156
mov ecx, 0x421b34
mov edi, eax
call fcn.00401156
mov ecx, esi
add edi, eax
call fcn.00401156
lea eax, [edi + eax + 4]
mov edi, 0x421af8
push eax
mov ecx, edi
call fcn.0040109b
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00401156
test eax, eax
jbe 0x401deb
mov ecx, esi
call fcn.0040c2e7
mov edi, dword [ebp - 0x14]
cmp byte [eax + edi], 0x28
jne 0x401db7
jmp 0x401da6
inc edi
mov dword [ebp - 0x14], edi
mov ecx, esi
call fcn.0040c2e7
cmp byte [eax + edi], 0x29
jne 0x401da2
inc edi
mov dword [ebp - 0x14], edi
mov ecx, esi
call fcn.0040c2e7
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0040c2e7
mov ecx, dword [ebp - 0x14]
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x18]
inc dword [ebp - 0x18]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
mov ecx, esi
call fcn.00401156
cmp dword [ebp - 0x14], eax
jb 0x401d90
mov edi, 0x421af8
lea ecx, [ebp - 0x38]
call fcn.0040c2e7
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx], bl
lea ecx, [ebp - 0x38]
call fcn.0040c2e7
push eax
mov ecx, edi
call fcn.00401119
mov esi, 0x421b34
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00401156
test eax, eax
jbe 0x401e7a
mov ecx, esi
call fcn.0040c2e7
mov edi, dword [ebp - 0x14]
cmp byte [eax + edi], 0x28
jne 0x401e46
jmp 0x401e35
inc edi
mov dword [ebp - 0x14], edi
mov ecx, esi
call fcn.0040c2e7
cmp byte [eax + edi], 0x29
jne 0x401e31
inc edi
mov dword [ebp - 0x14], edi
mov ecx, esi
call fcn.0040c2e7
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0040c2e7
mov ecx, dword [ebp - 0x14]
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x18]
inc dword [ebp - 0x18]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
mov ecx, esi
call fcn.00401156
cmp dword [ebp - 0x14], eax
jb 0x401e1f
mov edi, 0x421af8
lea ecx, [ebp - 0x38]
call fcn.0040c2e7
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov ecx, esi
call fcn.00401156
test eax, eax
je 0x401eb7
mov ecx, edi
call fcn.00401156
test eax, eax
je 0x401ea7
push 0x2c
mov ecx, edi
call fcn.00401136
lea ecx, [ebp - 0x38]
call fcn.0040c2e7
push eax
mov ecx, edi
call fcn.00401119
mov esi, 0x421ab0
mov ecx, esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.00401156
test eax, eax
jbe 0x401f28
mov ecx, esi
call fcn.0040c2e7
mov edi, dword [ebp - 0x14]
cmp byte [eax + edi], 0x28
jne 0x401ef4
jmp 0x401ee3
inc edi
mov dword [ebp - 0x14], edi
mov ecx, esi
call fcn.0040c2e7
cmp byte [eax + edi], 0x29
jne 0x401edf
inc edi
mov dword [ebp - 0x14], edi
mov ecx, esi
call fcn.0040c2e7
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0040c2e7
mov ecx, dword [ebp - 0x14]
mov cl, byte [edi + ecx]
mov edx, dword [ebp - 0x18]
inc dword [ebp - 0x18]
mov byte [eax + edx], cl
inc dword [ebp - 0x14]
mov ecx, esi
call fcn.00401156
cmp dword [ebp - 0x14], eax
jb 0x401ecd
mov edi, 0x421af8
lea ecx, [ebp - 0x38]
call fcn.0040c2e7
mov ecx, dword [ebp - 0x18]
mov byte [eax + ecx], bl
mov ecx, esi
call fcn.00401156
test eax, eax
jbe 0x401f65
mov ecx, edi
call fcn.00401156
test eax, eax
je 0x401f55
push 0x2c
mov ecx, edi
call fcn.00401136
lea ecx, [ebp - 0x38]
call fcn.0040c2e7
push eax
mov ecx, edi
call fcn.00401119
mov ecx, edi
call fcn.00401156
test eax, eax
jne 0x401f88
mov ecx, 0x421ad4
call fcn.00401156
test eax, eax
jne 0x401f88
push str.No_target_email_address_or_newsgroup_was_specified.__You_must_give_an_email_naddress_or_usenet_newsgroup_to_send_messages_to.__Use__to___cc__or__bcc_option_nfor_email__or__groups_for_usenet._nAborting__nobody_to_send_messages_to._n
jmp 0x402218
cmp byte [0x41b4b0], bl
mov byte [0x41ad88], bl
je 0x401fae
push 0x412730
push 0x41b4b0
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4020c2
lea ecx, [ebp - 0x68]
call fcn.00401156
test eax, eax
je 0x401fe8
lea eax, [ebp - 0x68]
mov esi, 0x421b28
push eax
mov ecx, esi
mov byte [0x41ad88], 1
call fcn.00401145
push dword [0x419084]
push 0x41b4b0
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
jmp 0x4020c7
mov esi, 0x421b1c
mov ecx, esi
call fcn.00401156
test eax, eax
je 0x402051
mov ecx, esi
call fcn.0040c2e7
cmp byte [0x41aa3a], bl
mov edi, eax
mov byte [0x41ad88], 1
mov esi, 0x421b28
je 0x402047
mov dword [ebp - 0x14], ebx
cmp byte [edi], bl
je 0x401fd1
mov eax, dword [ebp - 0x14]
mov al, byte [edi + eax]
cmp al, 0x7c
mov ecx, esi
jne 0x402034
push 0x412634
call fcn.00401119
jmp 0x40203a
push eax
call fcn.00401136
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp byte [edi + eax], bl
jne 0x40201c
jmp 0x401fd1
push edi
mov ecx, esi
call fcn.00401119
jmp 0x401fd1
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0xfffffffffffffff6
mov byte [0x41ad88], 1
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
call edi
mov esi, 0x421b28
test eax, eax
je 0x401fd1
cmp dword [ebp - 0x18], ebx
je 0x401fd1
cmp dword [ebp - 0x14], 0x1a
je 0x401fd1
push dword [ebp - 0x14]
mov ecx, esi
call fcn.00401136
push ebx
lea eax, [ebp - 0x18]
push eax
push 1
lea eax, [ebp - 0x14]
push eax
push 0xfffffffffffffff6
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call edi
jmp 0x40207f
mov esi, 0x421b28
cmp byte [0x41ad88], bl
jne 0x4021ce
mov edi, 0x41b4b0
push edi
lea ecx, [ebp - 0x1c]
call fcn.004011ce
test eax, eax
jne 0x402111
push edi
push str.error_reading__s__aborting_n
call fcn.00401292
push ebx
call fcn.00401292
mov eax, dword [0x41b8cc]
add esp, 0xc
cmp eax, ebx
je 0x40210a
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 3
jmp 0x4019e6
lea ecx, [ebp - 0x1c]
call fcn.0040124c
test eax, eax
lea ecx, [ebp - 0x1c]
jne 0x40214f
call fcn.004011b8
push str.Sorry__I_can_only_mail_messages_from_disk_files..._n
call fcn.00401292
push ebx
call fcn.00401292
mov eax, dword [0x41b8cc]
cmp eax, ebx
pop ecx
pop ecx
je 0x402148
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 4
jmp 0x4019e6
call fcn.0040125b
mov ecx, esi
mov edi, eax
call fcn.0040106f
cmp edi, ebx
mov ecx, esi
je 0x402198
lea eax, [edi + 1]
push eax
call fcn.0040109b
push ebx
lea eax, [ebp - 0x28]
push eax
push edi
mov ecx, esi
call fcn.0040c2e7
push eax
lea ecx, [ebp - 0x1c]
call fcn.00401266
push edi
mov ecx, esi
mov dword [ebp - 0x18], eax
call fcn.00401170
mov ecx, esi
call fcn.0040115a
mov byte [eax], bl
jmp 0x4021a9
push 0x412290
call fcn.0040118b
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x1c]
call fcn.004011b8
cmp dword [ebp - 0x18], ebx
jne 0x4021ce
push 0x41b4b0
push str.error_reading__s__aborting_n
call fcn.00401292
pop ecx
pop ecx
push 5
jmp 0x4019e6
cmp byte [0x41ac50], bl
je 0x4021da
push 8
jmp 0x4021dc
push 7
push 0x41ac54
push 0x41b4a8
push 0x421b28
call fcn.004079f7
add esp, 0x10
mov ecx, esi
call fcn.00401156
mov esi, eax
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00404fe5
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
je 0x40223d
cmp dword [ebp - 0x2c], ebx
jne 0x40223d
push str.Sum_total_size_of_all_attachments_exceeds_4G_bytes.__This_is_too_much_to_be_nsending_with_SMTP_or_NNTP.__Please_try_sending_through_FTP_instead._nAborting__too_much_data_to_send._n
call fcn.00401292
push ebx
call fcn.00401292
mov eax, dword [0x41b8cc]
cmp eax, ebx
pop ecx
pop ecx
je 0x402236
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push 0xc
jmp 0x4019e6
cmp byte [0x41bdd9], bl
je 0x40224c
mov byte [0x41c712], 1
push dword [ebp - 0x2c]
lea eax, [ebp - 0x5d0]
push edi
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.00407154
push dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
push edi
lea eax, [ebp - 0x5d0]
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
call fcn.004058a7
add esp, 0x38
cmp dword [ebp - 0x18], ebx
jne 0x40229a
mov dword [ebp - 0x18], eax
call fcn.00404f77
call fcn.004014a2
cmp dword [0x41b4ac], ebx
je 0x402399
lea ecx, [ebp - 0x44]
call fcn.00401062
xor esi, esi
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 0xa
jle 0x4022d6
mov eax, dword [ebp + 0xc]
push dword [eax + esi*4]
call dword [sym.imp.MSVCRT.dll_free]
inc esi
cmp esi, dword [ebp + 8]
pop ecx
jl 0x4022c3
push dword [ebp + 0xc]
call dword [sym.imp.MSVCRT.dll_free]
cmp dword [ebp - 0x18], ebx
pop ecx
lea ecx, [ebp - 0x80]
je 0x4022eb
lea ecx, [ebp - 0x74]
call fcn.0040c2e7
mov edi, eax
xor esi, esi
cmp edi, ebx
je 0x402301
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
lea eax, [esi*4 + 0x400]
push eax
lea ecx, [ebp - 0x44]
call fcn.0040109b
cmp esi, ebx
je 0x402332
push edi
push edi
push edi
push edi
push str.Expires:_Thu__01_Dec_1994_16:00:00_GMT_r_nPragma:_no_cache_r_nLocation:__s_r_n_r_n_html__body__r_n_a_href__s__Click_here_to_go_to__s__a__r_n_META_HTTP_EQUIV_REFRESH__CONTENT_0__URL_s___r_n__body___html__r_n
lea ecx, [ebp - 0x44]
call fcn.0040c2e7
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
jmp 0x40235c
cmp dword [ebp - 0x18], ebx
mov eax, str.Success
je 0x402341
mov eax, str.Failure
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x44]
push str.Expires:_Thu__01_Dec_1994_16:00:00_GMT_r_nPragma:_no_cache_r_nContent_type:_text_html_r_n_r_n_html__body__r_nBlat_sending_message_result___d_:__s_r_n__body___html__r_n
call fcn.0040c2e7
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x44]
call fcn.00401160
lea ecx, [ebp - 0x44]
call fcn.00401156
push ebx
lea ecx, [ebp - 0x24]
push ecx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x24], eax
call fcn.0040c2e7
push eax
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.00401054
push ebx
call fcn.00401292
mov eax, dword [0x41b8cc]
cmp eax, ebx
pop ecx
je 0x4023b1
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
push dword [ebp - 0x18]
mov dword [0x41b8cc], ebx
call sub.MSVCRT.dll_abs
pop ecx
mov esi, eax
jmp 0x401adb
push str.To_set_the_SMTP_servers_name_address_and_your_username_email_address_for_that_nserver_machine_do:_nblat__install__server_name__your_email_address_nor_use__server__server_name__and__f__your_email_address__n
call fcn.00401292
mov dword [esp], str.aborting__nothing_sent_n
call fcn.00401292
push ebx
call fcn.00401292
pop ecx
jmp 0x401ac4
push ebx
call fcn.00401292
mov eax, dword [0x41b8cc]
cmp eax, ebx
pop ecx
je 0x402401
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
mov esi, edi
jmp 0x401ad6