Function at 0x4808e8
Capabilities:
Write file on windows

Disassembly:
push 0x4c
mov eax, 0x49c5a3
call fcn.00497265
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x4c], edi
cmp dword [esi + 0x74], 0xffffffff
mov dword [ebp - 4], edi
jne 0x480917
push 1
push edi
push ecx
mov ecx, esp
push str.Sending_error_report_over_SMAPI_is_disabled__negative_priority___skipping.
jmp 0x48093c
mov eax, dword [esi + 0x20]
cmp dword [eax - 8], edi
jne 0x48092c
push 1
push edi
push ecx
mov ecx, esp
push str.No_E_mail_address_is_specified_for_sending_error_report_over_Simple_MAPI__skipping.
jmp 0x48093c
cmp dword [esi + 0x44], edi
je 0x48094c
push 1
push edi
push ecx
mov ecx, esp
push str.Simple_MAPI_may_require_user_interaction__not_acceptable_for_non_GUI_mode___skipping.
call fcn.0045f630
lea ecx, [esi + 0x420]
jmp 0x480a1e
push edi
push edi
push ecx
mov ecx, esp
push str.Sending_error_report_using_Simple_MAPI
call fcn.0045f630
lea ebx, [esi + 0x420]
mov ecx, ebx
call fcn.004620ac
push 1
push 1
push ecx
mov ecx, esp
push str.Initializing_MAPI
call fcn.0045f630
mov ecx, ebx
call fcn.004620ac
lea eax, [esi + 0x4d0]
mov ecx, eax
mov dword [ebp - 0x2c], eax
call fcn.0048a826
test eax, eax
jne 0x4809a3
push edi
push 0x64
push ecx
mov ecx, dword [ebp - 0x2c]
push esp
call fcn.0047f546
jmp 0x480a1c
cmp dword [esi + 0x41c], edi
je 0x480a03
cmp dword [esi + 0x55c], edi
jne 0x480a03
push 1
push edi
push ecx
mov ecx, esp
push str._confirm_launch_email_client_
call fcn.0045f630
mov ecx, ebx
call fcn.004620ac
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 1
push eax
mov ecx, ebx
call fcn.0046217c
cmp dword [ebp - 0x28], 0
je 0x4809f9
push edi
push 0x64
push ecx
mov ecx, esp
mov dword [esi + 0x55c], 2
push str.Cancelled_by_user
jmp 0x480a17
mov dword [esi + 0x55c], 1
cmp dword [esi + 0x55c], 1
je 0x480a28
push edi
push 0x64
push ecx
mov ecx, esp
push str.Not_allowed_to_launch_E_mail_client.
call fcn.0045f630
mov ecx, ebx
call fcn.004620ac
jmp 0x480d4c
mov eax, dword [0x4cb014]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 2
push eax
call fcn.0048a70e
push dword [ebp - 0x38]
lea eax, [ebp - 0x28]
push str.Launching_the_default_email_client___s_
push eax
call fcn.0045fd48
add esp, 0x10
lea eax, [ebp - 0x28]
push 1
push 0xa
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, ebx
call fcn.004620ac
push ecx
push esp
push dword [esi + 0x414]
lea ecx, [esi + 8]
call fcn.004682df
mov ecx, eax
call fcn.00467e19
lea ecx, [esi + 0x4d0]
call fcn.0048ab46
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x40]
call fcn.0045e6a5
mov eax, dword [0x4a2e14]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4a2e18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x40]
mov dword [ebp - 0x48], edi
call dword [sym.imp.MSVCR120.dll_wcstok_s]
add esp, 0xc
test eax, eax
je 0x480b17
push eax
lea ecx, [ebp - 0x24]
call fcn.0045f630
push ecx
mov ecx, esp
mov byte [ebp - 4], 4
push eax
push str.SMTP:
push ecx
call fcn.0047b8ea
lea ecx, [esi + 0x4d0]
call fcn.0048a69d
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0045e73f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.MSVCR120.dll_wcstok_s]
add esp, 0xc
test eax, eax
jne 0x480ac8
lea ebx, [esi + 0x420]
push ecx
lea eax, [esi + 0x24]
mov ecx, esp
push eax
call fcn.0045e6a5
lea ecx, [esi + 0x4d0]
call fcn.0048ac06
lea eax, [esi + 0x54c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0045e6a5
push 0x5c
push 0x2f
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0047ff1c
push 0x5c
push dword [ebp - 0x20]
call dword [sym.imp.MSVCR120.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x480b8c
sub eax, dword [ebp - 0x20]
sar eax, 1
js 0x480b8c
inc eax
lea ecx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00460ab0
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0045f6df
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.0045e73f
lea edx, [esi + 0x28]
mov eax, dword [edx]
push ecx
cmp dword [eax - 8], edi
jne 0x480ba1
push esp
mov ecx, esi
call fcn.0047f106
jmp 0x480ba9
mov ecx, esp
push edx
call fcn.0045e6a5
lea ecx, [esi + 0x4d0]
call fcn.0048aba6
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0045e6a5
push ecx
lea eax, [esi + 0x54c]
mov byte [ebp - 4], 7
mov ecx, esp
push eax
call fcn.0045e6a5
lea ecx, [esi + 0x4d0]
mov byte [ebp - 4], 5
call fcn.0048a5fa
mov eax, dword [0x4cb014]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 8
push eax
push ecx
lea eax, [esi + 0x54c]
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, esi
call fcn.0047bb96
push str..md5
lea ecx, [ebp - 0x20]
call fcn.0045f7e1
mov eax, dword [0x4cb014]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 9
push eax
call fcn.0046184b
mov dword [esp], 0x49f800
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045f78e
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00466f64
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0045e73f
push 0x49fae4
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x30], 0
je 0x480cdf
push edi
lea ecx, [ebp - 0x24]
call fcn.0046023d
push eax
lea ecx, [ebp - 0x54]
call fcn.0046b68b
push dword [ebp - 0x30]
mov esi, eax
push 1
push esi
call sub.MSVCR120.dll_strlen
pop ecx
push eax
push esi
call dword [sym.imp.MSVCR120.dll_fwrite]
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x10
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x58], esp
push eax
call fcn.0045e6a5
push ecx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xd
mov ecx, esp
push eax
call fcn.0045e6a5
mov esi, dword [ebp - 0x2c]
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.0048a5fa
jmp 0x480ce2
mov esi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0048a908
mov dword [ebp - 0x2c], eax
push edi
push 0x64
push ecx
test eax, eax
jne 0x480cfe
push esp
mov ecx, esi
call fcn.0047f546
jmp 0x480d0a
mov ecx, esp
push str.Sent_OK
call fcn.0045f630
mov ecx, ebx
call fcn.004620ac
mov edi, dword [ebp - 0x2c]
lea ecx, [ebp - 0x3c]
call fcn.0045e73f
lea ecx, [ebp - 0x34]
call fcn.0045e73f
lea ecx, [ebp - 0x24]
call fcn.0045e73f
lea ecx, [ebp - 0x20]
call fcn.0045e73f
lea ecx, [ebp - 0x40]
call fcn.0045e73f
lea ecx, [ebp - 0x38]
call fcn.0045e73f
lea ecx, [ebp - 0x28]
call fcn.0045e73f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0045f6ac
mov eax, edi
call fcn.00497214
ret