Function at 0x480d61
Capabilities:
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x49c64a
call fcn.00497265
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
cmp dword [edi + 0x70], 0xffffffff
mov dword [ebp - 4], ebx
jne 0x480d93
push 1
push ebx
push ecx
mov ecx, esp
push str.Sending_error_report_over_SMTP_is_disabled__negative_priority___skipping.
jmp 0x480da8
lea esi, [edi + 0x20]
mov eax, dword [esi]
cmp dword [eax - 8], ebx
jne 0x480dbd
push 1
push ebx
push ecx
mov ecx, esp
push str.No_E_mail_address_is_specified_for_sending_error_report_over_SMTP__skipping.
call fcn.0045f630
lea ecx, [edi + 0x420]
call fcn.004620ac
jmp 0x4810cf
lea ecx, [ebp - 0x28]
push ecx
push dword [edi + 0x414]
lea ecx, [edi + 8]
call fcn.004682df
mov ecx, eax
call fcn.00467e19
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
cmp dword [eax - 8], ebx
sete bl
call fcn.0045e73f
test ebx, ebx
je 0x480e9e
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push dword [eax - 8]
push eax
call fcn.00466206
mov eax, dword [0x4a2e14]
xor ebx, ebx
mov dword [ebp - 0x18], eax
mov eax, dword [0x4a2e18]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push dword [ebp - 0x28]
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.MSVCR120.dll_wcstok_s]
add esp, 0xc
test eax, eax
je 0x480e46
cmp word [eax], bx
je 0x480e46
push eax
lea ecx, [ebp - 0x20]
call fcn.0045f630
xor ecx, ecx
mov byte [ebp - 4], 2
inc ecx
jmp 0x480e59
push esi
lea ecx, [ebp - 0x38]
call fcn.0045e6a5
push 2
mov dword [ebp - 4], 3
pop ecx
push dword [eax]
mov dword [ebp - 0x24], ecx
lea esi, [edi + 0x460]
mov dword [ebp - 0x1c], ecx
mov ecx, esi
call fcn.00493d94
mov eax, dword [ebp - 0x1c]
test al, 2
je 0x480e86
and eax, 0xfffffffd
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x1c], eax
call fcn.0045e73f
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], 1
test al, 1
je 0x480e99
lea ecx, [ebp - 0x20]
call fcn.0045e73f
lea ecx, [ebp - 0x28]
jmp 0x480ecf
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x414]
lea ecx, [edi + 8]
call fcn.004682df
mov ecx, eax
call fcn.00467e19
push dword [eax]
lea esi, [edi + 0x460]
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00493d94
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0045e73f
push dword [edi + 0x20]
mov ecx, esi
call fcn.004922f1
push dword [edi + 0x24]
mov ecx, esi
call fcn.00493dd3
mov eax, dword [edi + 0x28]
cmp dword [eax - 8], ebx
jne 0x480f18
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0047f106
push dword [eax]
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00493ddc
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.0045e73f
jmp 0x480f20
push eax
mov ecx, esi
call fcn.00493ddc
lea esi, [edi + 0x54c]
push dword [esi]
lea ecx, [edi + 0x460]
call fcn.0049227f
mov eax, dword [0x4cb014]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 6
push eax
push ecx
mov ecx, esp
push esi
call fcn.0045e6a5
mov ecx, edi
call fcn.0047bb96
push esi
lea ecx, [ebp - 0x1c]
call fcn.0045e6a5
push 0x5c
push 0x2f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 7
call fcn.0047ff1c
push 0x5c
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCR120.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x480fab
sub eax, dword [ebp - 0x1c]
sar eax, 1
js 0x480fab
inc eax
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00460ab0
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.0045f6df
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.0045e73f
push str..md5
lea ecx, [ebp - 0x1c]
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 - 0x20]
push eax
call fcn.0045f78e
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xa
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00466f64
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xc
call fcn.0045e73f
push 0x49fae4
push dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], ebx
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x48105f
push ebx
lea ecx, [ebp - 0x24]
call fcn.0046023d
push eax
lea ecx, [ebp - 0x48]
call fcn.0046b68b
push dword [ebp - 0x2c]
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 - 0x2c]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0x14
lea ecx, [edi + 0x460]
push dword [ebp - 0x30]
call fcn.0049227f
lea edx, [edi + 0x30]
mov eax, dword [edx]
cmp dword [eax - 8], ebx
je 0x481080
push dword [edi + 0x34]
push ecx
mov ecx, esp
push edx
call fcn.0045e6a5
lea ecx, [edi + 0x484]
call fcn.00493da0
push dword [edi + 0x3c]
lea esi, [edi + 0x484]
push dword [edi + 0x38]
mov ecx, esi
call fcn.00493d71
lea eax, [edi + 0x420]
mov ecx, esi
push eax
lea eax, [edi + 0x460]
push eax
call fcn.004928fb
xor ebx, ebx
lea ecx, [ebp - 0x30]
test eax, eax
sete bl
call fcn.0045e73f
lea ecx, [ebp - 0x34]
call fcn.0045e73f
lea ecx, [ebp - 0x1c]
call fcn.0045e73f
lea ecx, [ebp - 0x24]
call fcn.0045e73f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.0045f6ac
mov eax, ebx
call fcn.00497214
ret