Function at 0x47be67
Capabilities:
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x499b8f
call fcn.004961c2
xor edi, edi
mov dword [ebp - 0x1c], edi
mov esi, ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
cmp dword [esi + 0x6c], 0xffffffff
mov dword [ebp - 4], edi
jne 0x47bebe
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push str.Sending_error_report_over_SMTP_is_disabled__negative_priority___skipping.
call fcn.0045ffe5
lea ecx, [esi + 0x438]
call fcn.00461a7e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0045fe4f
xor eax, eax
call fcn.00496245
ret
lea ebx, [esi + 0x20]
mov eax, dword [ebx]
cmp dword [eax - 8], edi
jne 0x47bef8
push 1
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.No_E_mail_address_is_specified_for_sending_error_report_over_SMTP__skipping.
call fcn.0045ffe5
lea ecx, [esi + 0x438]
call fcn.00461a7e
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0045fe4f
mov eax, esi
jmp 0x47beb8
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x42c]
lea ecx, [esi + 8]
call fcn.0046301e
mov ecx, eax
call fcn.004649d5
mov eax, dword [eax]
xor ecx, ecx
cmp dword [eax - 8], edi
sete cl
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x24]
call fcn.0045ddba
cmp dword [ebp - 0x38], edi
je 0x47bfda
mov eax, dword [ebx]
push dword [eax - 8]
lea ecx, [ebp - 0x24]
push eax
call fcn.00463d57
mov eax, dword [0x49fcd4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x49fcd8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x24]
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], edi
call dword [sym.imp.MSVCR100.dll_wcstok_s]
add esp, 0xc
cmp eax, edi
je 0x47bf87
cmp word [eax], di
je 0x47bf87
push eax
lea ecx, [ebp - 0x20]
call fcn.0045ffe5
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], 1
jmp 0x47bf9e
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0045e829
mov dword [ebp - 4], 3
mov dword [ebp - 0x1c], 2
mov eax, dword [eax]
lea edi, [esi + 0x47c]
push eax
mov ecx, edi
call fcn.00490cc2
test byte [ebp - 0x1c], 2
je 0x47bfc0
and dword [ebp - 0x1c], 0xfffffffd
lea ecx, [ebp - 0x2c]
call fcn.0045ddba
test byte [ebp - 0x1c], 1
mov dword [ebp - 4], 1
je 0x47bfd5
lea ecx, [ebp - 0x20]
call fcn.0045ddba
lea ecx, [ebp - 0x24]
jmp 0x47c00a
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x42c]
lea ecx, [esi + 8]
call fcn.0046301e
mov ecx, eax
call fcn.004649d5
mov eax, dword [eax]
lea edi, [esi + 0x47c]
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00490cc2
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0045ddba
push dword [ebx]
mov ecx, edi
call fcn.00493b30
push dword [esi + 0x24]
mov ecx, edi
call fcn.00490cb9
mov eax, dword [esi + 0x28]
cmp dword [eax - 8], 0
jne 0x47c055
lea eax, [ebp - 0x20]
push eax
mov ecx, esi
call fcn.0047bb65
push dword [eax]
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.00490cce
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0
call fcn.0045ddba
jmp 0x47c05d
push eax
mov ecx, edi
call fcn.00490cce
lea ebx, [esi + 0x598]
push dword [ebx]
mov ecx, edi
call fcn.00493b95
mov eax, dword [0x4c8014]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push ebx
mov byte [ebp - 4], 6
call fcn.0045e829
mov ecx, esi
call fcn.0047b0a4
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0045e829
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.00479652
push 0x5c
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR100.dll_wcsrchr]
xor ebx, ebx
pop ecx
pop ecx
cmp eax, ebx
je 0x47c0e9
sub eax, dword [ebp - 0x1c]
sar eax, 1
js 0x47c0e9
inc eax
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
call fcn.004600c5
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0045f9b8
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0045ddba
push str..md5
lea ecx, [ebp - 0x1c]
call fcn.0045f443
mov eax, dword [0x4c8014]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 9
call fcn.004603aa
mov dword [esp], 0x49da74
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00460179
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xa
call fcn.004647c9
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.0045ddba
push 0x49dae4
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], ebx
call dword [sym.imp.MSVCR100.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x28], ebx
je 0x47c198
push ebx
lea ecx, [ebp - 0x24]
call fcn.0045f46b
push eax
lea ecx, [ebp - 0x48]
call fcn.00464854
push dword [ebp - 0x28]
mov ebx, eax
push 1
push ebx
call sub.MSVCR100.dll_strlen
pop ecx
push eax
push ebx
call dword [sym.imp.MSVCR100.dll_fwrite]
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 0x14
push dword [ebp - 0x30]
mov ecx, edi
call fcn.00493b95
lea eax, [esi + 0x30]
mov ecx, dword [eax]
cmp dword [ecx - 8], 0
je 0x47c1bd
push dword [esi + 0x34]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.0045e829
lea ecx, [esi + 0x4a8]
call fcn.00490cda
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x38]
push eax
lea ebx, [esi + 0x4a8]
push ecx
mov ecx, ebx
call fcn.00490d0d
add esi, 0x438
push esi
push edi
mov ecx, ebx
call fcn.00493d5a
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
lea ecx, [ebp - 0x30]
call fcn.0045ddba
lea ecx, [ebp - 0x34]
call fcn.0045ddba
lea ecx, [ebp - 0x1c]
call fcn.0045ddba
lea ecx, [ebp - 0x24]
call fcn.0045ddba
jmp 0x47bee8