Function at 0x47c7a0
Capabilities:
Read file on windows

Disassembly:
push 0x4c0
mov eax, 0x49bdde
call fcn.00497265
mov ebx, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x4bc], esi
mov dword [ebp - 0x48c], ecx
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x4c8], ecx
mov dword [ebp - 0x4c4], ecx
mov eax, dword [0x4cb014]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x47c], eax
or dword [ebp - 0x49c], 0xffffffff
xorps xmm0, xmm0
movlpd qword [ebp - 0x4b0], xmm0
mov dword [ebp - 0x4a8], ecx
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x4b8], eax
cmp dword [ebx + 0x554], ecx
push ecx
push ecx
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
je 0x47c81e
push str._exporting_report_
jmp 0x47c823
push str._compressing_files_
call fcn.0045f630
lea edi, [ebx + 0x420]
mov ecx, edi
call fcn.004620ac
mov ecx, esi
call fcn.0046834f
mov ecx, edx
mov dword [ebp - 0x4c0], eax
push ecx
push eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x4b4], ecx
push str.Total_file_size_for_compression_is__I64d_bytes
push eax
call fcn.0045fd48
add esp, 0x10
lea eax, [ebp - 0x47c]
push 0
push 0
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
cmp dword [ebx + 0x554], 0
je 0x47c899
lea eax, [ebx + 0x558]
lea esi, [ebx + 0x54c]
push eax
mov ecx, esi
call fcn.0045f6df
jmp 0x47c8e9
lea eax, [ebp - 0x494]
mov ecx, esi
push eax
call fcn.00467e56
push 0x4a0a18
push eax
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 3
push eax
call fcn.0045f78e
lea esi, [ebx + 0x54c]
mov byte [ebp - 4], 4
push eax
mov ecx, esi
call fcn.0045f6df
lea ecx, [ebp - 0x498]
call fcn.0045e73f
lea ecx, [ebp - 0x494]
mov byte [ebp - 4], 2
call fcn.0045e73f
push dword [esi]
lea eax, [ebp - 0x47c]
push str.Creating_ZIP_archive_file__s
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x47c]
push 0
push 1
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
push 0
push 0
mov ecx, esi
call fcn.0046023d
push eax
call fcn.004565a9
mov dword [ebp - 0x4a0], eax
pop ecx
pop ecx
test eax, eax
jne 0x47c953
push 1
push 0x64
push ecx
mov ecx, esp
push str.Failed_to_create_ZIP_file.
call fcn.0045f630
mov ecx, edi
call fcn.004620ac
jmp 0x47ce63
mov ecx, dword [ebp - 0x4bc]
and dword [ebp - 0x498], 0
call fcn.00468010
test eax, eax
mov eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x4b0]
mov dword [ebp - 0x4ac], eax
jle 0x47ccd9
mov esi, dword [ebp - 0x498]
mov ecx, dword [ebp - 0x4bc]
push esi
call fcn.00467f94
mov ecx, edi
mov esi, eax
call fcn.00461fed
test al, al
jne 0x47ce3d
push 0
mov ecx, esi
call fcn.0046023d
push eax
lea ecx, [ebp - 0x484]
call fcn.0045f630
push 0
lea ecx, [esi + 4]
mov byte [ebp - 4], 5
call fcn.0046023d
push eax
lea ecx, [ebp - 0x490]
call fcn.0045f630
lea eax, [esi + 8]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x4a4]
call fcn.0045e6a5
push dword [ebp - 0x484]
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 7
push str.Compressing_file__s
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x47c]
xor esi, esi
push esi
push esi
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
push esi
push esi
push 3
push esi
push 1
push connect
push dword [ebp - 0x490]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x49c], esi
cmp esi, 0xffffffff
jne 0x47ca80
push dword [ebp - 0x490]
push str.Couldnt_open_file__s
lea eax, [ebp - 0x47c]
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x47c]
push 0
push 0
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
jmp 0x47cc8e
lea eax, [ebp - 0x478]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx eax, word [ebp - 0x420]
lea ecx, [ebp - 0x4cc]
and dword [ebp - 0x42c], 0
push dword [ebp - 0x4a4]
mov dword [ebp - 0x430], eax
movzx eax, word [ebp - 0x41e]
dec eax
mov dword [ebp - 0x434], eax
movzx eax, word [ebp - 0x41a]
mov dword [ebp - 0x438], eax
movzx eax, word [ebp - 0x418]
mov dword [ebp - 0x43c], eax
movzx eax, word [ebp - 0x416]
mov dword [ebp - 0x440], eax
movzx eax, word [ebp - 0x414]
mov dword [ebp - 0x444], eax
mov eax, 0x80
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x428], eax
call fcn.0046b68b
push 0
lea ecx, [ebp - 0x484]
mov esi, eax
call fcn.0046023d
push eax
lea ecx, [ebp - 0x4cc]
call fcn.0046b68b
push 0xffffffffffffffff
push 8
push esi
mov esi, dword [ebp - 0x4a0]
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x444]
push ecx
push eax
push esi
call fcn.00456e15
add esp, 0x28
test eax, eax
je 0x47cb6b
push dword [ebp - 0x484]
push str.Couldnt_compress_file__s
jmp 0x47ca52
mov ecx, edi
call fcn.00461fed
test al, al
jne 0x47cd7d
push 0
lea eax, [ebp - 0x4a8]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47cc74
cmp dword [ebp - 0x4a8], 0
je 0x47cc74
push dword [ebp - 0x4a8]
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.00456ef8
add esp, 0xc
test eax, eax
jne 0x47cc3a
mov ecx, dword [ebp - 0x4ac]
add ecx, dword [ebp - 0x4a8]
mov eax, dword [ebp - 0x494]
adc eax, 0
mov dword [ebp - 0x4ac], ecx
push 0
mov edx, eax
mov dword [ebp - 0x494], eax
call fcn.00497abd
mov edx, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0x4c0]
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x4a3484]
movss dword [ebp - 0x480], xmm0
call fcn.00497abd
movss xmm1, dword [ebp - 0x480]
mov ecx, edi
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
push eax
call fcn.0046207c
jmp 0x47cb6b
push esi
call fcn.00457477
push dword [ebp - 0x484]
lea eax, [ebp - 0x47c]
push str.Couldnt_write_to_compressed_file__s
push eax
call fcn.0045fd48
add esp, 0x10
lea eax, [ebp - 0x47c]
push 0
push 0
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
push esi
call fcn.00457477
pop ecx
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x49c], 0xffffffff
lea ecx, [ebp - 0x4a4]
call fcn.0045e73f
lea ecx, [ebp - 0x490]
call fcn.0045e73f
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 2
call fcn.0045e73f
mov esi, dword [ebp - 0x498]
mov ecx, dword [ebp - 0x4bc]
inc esi
mov dword [ebp - 0x498], esi
call fcn.00468010
cmp esi, eax
jl 0x47c98b
lea esi, [ebx + 0x54c]
mov eax, dword [ebp - 0x4a0]
push 0
push eax
call fcn.0045779d
xor eax, eax
pop ecx
pop ecx
mov dword [ebp - 0x4a0], eax
cmp dword [ebx + 0x554], eax
jne 0x47ce18
push dword [esi]
lea eax, [ebp - 0x47c]
push str.Calculating_MD5_hash_for_file__s
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x47c]
push 0
push 0
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
lea eax, [ebp - 0x4b8]
push eax
push ecx
mov ecx, esp
push esi
call fcn.0045e6a5
mov ecx, ebx
call fcn.0047bb96
test eax, eax
je 0x47cda7
push dword [esi]
push str.Couldnt_calculate_MD5_hash_for_file__s
lea eax, [ebp - 0x47c]
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x47c]
push 0
push 0
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, edi
call fcn.004620ac
jmp 0x47ce51
lea ecx, [ebp - 0x4a4]
call fcn.0045e73f
lea ecx, [ebp - 0x490]
call fcn.0045e73f
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 2
call fcn.0045e73f
jmp 0x47ce43
push str..md5
push esi
lea eax, [ebp - 0x480]
push eax
call fcn.0045f78e
push 0x49fae4
push dword [eax]
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.MSVCR120.dll__wfopen_s]
add esp, 0xc
lea ecx, [ebp - 0x480]
call fcn.0045e73f
cmp dword [ebp - 0x488], 0
jne 0x47cdf0
push dword [esi]
push str.Couldnt_save_MD5_hash_for_file__s
jmp 0x47cd4f
push dword [ebp - 0x4b8]
push dword [ebp - 0x488]
call dword [sym.imp.MSVCR120.dll_fwprintf]
push dword [ebp - 0x488]
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 0xc
and dword [ebp - 0x488], 0
mov eax, dword [ebp - 0x4ac]
cmp dword [ebp - 0x4c0], eax
jne 0x47ce51
mov eax, dword [ebp - 0x494]
cmp dword [ebp - 0x4b4], eax
jne 0x47ce51
xor eax, eax
inc eax
mov dword [ebp - 0x48c], eax
mov esi, dword [ebp - 0x4a0]
test esi, esi
je 0x47ce51
push 0
push esi
call fcn.0045779d
pop ecx
pop ecx
mov eax, dword [ebp - 0x49c]
cmp eax, 0xffffffff
je 0x47ce63
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x488], 0
je 0x47ce79
push dword [ebp - 0x488]
call dword [sym.imp.MSVCR120.dll_fclose]
pop ecx
mov esi, dword [ebp - 0x48c]
push 1
push 0x64
push ecx
mov ecx, esp
test esi, esi
je 0x47ce91
push str.Finished_compressing_files...OK
jmp 0x47ce96
push str.File_compression_failed.
call fcn.0045f630
mov ecx, edi
call fcn.004620ac
xor eax, eax
push eax
push 0x64
push ecx
mov ecx, esp
cmp dword [ebx + 0x554], eax
je 0x47cec4
test esi, esi
je 0x47cebd
push str._end_exporting_report_ok_
jmp 0x47cec9
push str._end_exporting_report_failed_
jmp 0x47cec9
push str._end_compressing_files_
call fcn.0045f630
mov ecx, edi
call fcn.004620ac
lea ecx, [ebp - 0x4b8]
call fcn.0045e73f
lea ecx, [ebp - 0x47c]
call fcn.0045e73f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.0045f6ac
mov eax, esi
call fcn.00497214
ret 4