Function at 0x47c20f
Capabilities:
Write file on windows

Disassembly:
push 0x50
mov eax, 0x499c1c
call fcn.004961c2
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
or ebx, 0xffffffff
mov dword [ebp - 4], edi
cmp dword [esi + 0x70], ebx
jne 0x47c264
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Sending_error_report_over_SMAPI_is_disabled__negative_priority___skipping.
call fcn.0045ffe5
lea ecx, [esi + 0x438]
call fcn.00461a7e
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x58]
call fcn.0045fe4f
xor eax, eax
call fcn.00496245
ret
mov eax, dword [esi + 0x20]
cmp dword [eax - 8], edi
jne 0x47c27c
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.No_E_mail_address_is_specified_for_sending_error_report_over_Simple_MAPI__skipping.
jmp 0x47c241
cmp dword [esi + 0x44], edi
je 0x47c291
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Simple_MAPI_may_require_user_interaction__not_acceptable_for_non_GUI_mode___skipping.
jmp 0x47c241
push edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Sending_error_report_using_Simple_MAPI
call fcn.0045ffe5
lea ebx, [esi + 0x438]
mov ecx, ebx
mov dword [ebp - 0x48], ebx
call fcn.00461a7e
push 1
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Initializing_MAPI
call fcn.0045ffe5
mov ecx, ebx
call fcn.00461a7e
lea ecx, [esi + 0x504]
mov dword [ebp - 0x20], ecx
call fcn.004886b5
cmp eax, edi
jne 0x47c302
push edi
push 0x64
push ecx
mov ecx, dword [ebp - 0x20]
mov eax, esp
mov dword [ebp - 0x28], esp
push eax
call fcn.00479a3c
mov ecx, ebx
call fcn.00461a7e
or dword [ebp - 4], 0xffffffff
jmp 0x47c254
cmp dword [esi + 0x434], edi
je 0x47c36c
cmp dword [esi + 0x5a8], edi
jne 0x47c36c
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str._confirm_launch_email_client_
call fcn.0045ffe5
mov ecx, ebx
call fcn.00461a7e
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
mov dword [ebp - 0x2c], 1
call fcn.004615be
cmp dword [ebp - 0x2c], edi
je 0x47c362
push edi
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Cancelled_by_user
mov dword [esi + 0x5a8], 2
call fcn.0045ffe5
jmp 0x47c2f2
mov dword [esi + 0x5a8], 1
cmp dword [esi + 0x5a8], 1
je 0x47c3a2
push edi
push 0x64
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Not_allowed_to_launch_E_mail_client.
call fcn.0045ffe5
mov ecx, ebx
call fcn.00461a7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.0045fe4f
mov eax, edi
jmp 0x47c25e
mov eax, dword [0x4c8014]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 2
call fcn.00488519
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
push str.Launching_the_default_email_client___s_
push eax
call fcn.00460165
add esp, 0x10
push 1
push 0xa
push ecx
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0045e829
mov ecx, ebx
call fcn.00461a7e
push ecx
mov eax, esp
mov dword [ebp - 0x1c], esp
push eax
push dword [esi + 0x42c]
lea ecx, [esi + 8]
call fcn.0046301e
mov ecx, eax
call fcn.004649d5
mov ecx, dword [ebp - 0x20]
call fcn.00488ab2
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x28]
call fcn.0045e829
mov eax, dword [0x49fcd4]
mov ebx, dword [sym.imp.MSVCR100.dll_wcstok_s]
mov dword [ebp - 0x18], eax
mov eax, dword [0x49fcd8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x28]
mov byte [ebp - 4], 3
mov dword [ebp - 0x40], edi
jmp 0x47c481
push eax
lea ecx, [ebp - 0x20]
call fcn.0045ffe5
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
push str.SMTP:
push ecx
mov byte [ebp - 4], 4
call fcn.004799e9
lea ecx, [esi + 0x504]
call fcn.00489931
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.0045ddba
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
call ebx
add esp, 0xc
cmp eax, edi
jne 0x47c442
push ecx
lea eax, [esi + 0x24]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0045e829
lea ebx, [esi + 0x504]
mov ecx, ebx
call fcn.00488b12
lea eax, [esi + 0x598]
push eax
lea ecx, [ebp - 0x24]
call fcn.0045e829
push 0x5c
push 0x2f
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 5
call fcn.00479652
push 0x5c
push dword [ebp - 0x24]
call dword [sym.imp.MSVCR100.dll_wcsrchr]
pop ecx
pop ecx
cmp eax, edi
je 0x47c504
sub eax, dword [ebp - 0x24]
sar eax, 1
js 0x47c504
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
call fcn.004600c5
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0045f9b8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call fcn.0045ddba
lea eax, [esi + 0x28]
mov ecx, dword [eax]
push ecx
mov dword [ebp - 0x1c], esp
cmp dword [ecx - 8], edi
jne 0x47c51e
mov eax, esp
push eax
mov ecx, esi
call fcn.0047bb65
jmp 0x47c526
mov ecx, esp
push eax
call fcn.0045e829
mov ecx, ebx
call fcn.00488b72
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
call fcn.0045e829
push ecx
lea eax, [esi + 0x598]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 7
call fcn.0045e829
mov ecx, ebx
mov byte [ebp - 4], 5
call fcn.00489821
mov eax, dword [0x4c8014]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push ecx
lea eax, [esi + 0x598]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 8
call fcn.0045e829
mov ecx, esi
call fcn.0047b0a4
push str..md5
lea ecx, [ebp - 0x24]
call fcn.0045f443
mov eax, dword [0x4c8014]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 9
call fcn.004603aa
mov dword [esp], 0x49da74
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00460179
lea ecx, [ebp - 0x24]
push ecx
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 0xa
call fcn.004647c9
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0045ddba
push 0x49dae4
push dword [ebp - 0x3c]
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], edi
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x30], edi
je 0x47c657
push edi
lea ecx, [ebp - 0x20]
call fcn.0045f46b
push eax
lea ecx, [ebp - 0x58]
call fcn.00464854
push dword [ebp - 0x30]
mov esi, eax
push 1
push esi
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push esi
call dword [sym.imp.MSVCR100.dll_fwrite]
push dword [ebp - 0x30]
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x10
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x5c], esp
push eax
call fcn.0045e829
push ecx
lea eax, [ebp - 0x3c]
mov ecx, esp
mov dword [ebp - 0x44], esp
push eax
mov byte [ebp - 4], 0xd
call fcn.0045e829
mov ecx, ebx
mov byte [ebp - 4], 0xc
call fcn.00489821
mov ecx, ebx
call fcn.004887e0
push edi
push 0x64
mov esi, eax
push ecx
mov dword [ebp - 0x44], esp
cmp esi, edi
jne 0x47c677
mov eax, esp
push eax
mov ecx, ebx
call fcn.00479a3c
jmp 0x47c683
mov ecx, esp
push str.Sent_OK
call fcn.0045ffe5
mov ecx, dword [ebp - 0x48]
call fcn.00461a7e
lea ecx, [ebp - 0x3c]
call fcn.0045ddba
lea ecx, [ebp - 0x38]
call fcn.0045ddba
lea ecx, [ebp - 0x20]
call fcn.0045ddba
lea ecx, [ebp - 0x24]
call fcn.0045ddba
lea ecx, [ebp - 0x28]
call fcn.0045ddba
lea ecx, [ebp - 0x34]
call fcn.0045ddba
lea ecx, [ebp - 0x2c]
call fcn.0045ddba
mov edi, esi
jmp 0x47c38f