Function at 0x4278d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5eae84]
xor eax, ebp
mov dword [ebp - 4], eax
movq xmm0, qword [str.._EXTRACTED_DATA_files_]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
movq qword [ebp - 0x204], xmm0
movq xmm0, qword [0x58c924]
push ebx
push esi
movq qword [ebp - 0x1fc], xmm0
movq xmm0, qword [0x58c92c]
mov edx, ecx
push edi
mov dword [ebp - 0x208], ecx
mov dword [ebp - 0x20c], eax
movq qword [ebp - 0x1f4], xmm0
mov esi, edx
lea esp, [esp]
mov al, byte [edx]
inc edx
test al, al
jne 0x427930
lea edi, [ebp - 0x204]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x427940
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x204]
and ecx, 3
push 0x5bb068
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR110.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x427aa8
push 0x200
push eax
lea eax, [ebp - 0x204]
push eax
call sub.MSVCR110.dll_memset
movq xmm0, qword [str..EXTRACTED_DATA_sound_]
mov edx, dword [ebp - 0x208]
movq qword [ebp - 0x204], xmm0
movq xmm0, qword [0x58c93c]
movq qword [ebp - 0x1fc], xmm0
movq xmm0, qword [0x58c944]
add esp, 0xc
movq qword [ebp - 0x1f4], xmm0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4279c2
lea edi, [ebp - 0x204]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4279d2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x204]
and ecx, 3
push 0x5bb068
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR110.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x427aa8
push 0x200
push eax
lea eax, [ebp - 0x204]
push eax
call sub.MSVCR110.dll_memset
push 0x5eb8d4
lea eax, [ebp - 0x204]
push str..EXTRACTED_DATA_s.lproj_
push eax
call dword [sym.imp.MSVCR110.dll_sprintf]
mov edx, dword [ebp - 0x208]
add esp, 0x18
mov esi, edx
jmp 0x427a40
mov al, byte [edx]
inc edx
test al, al
jne 0x427a40
lea edi, [ebp - 0x204]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x427a50
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x204]
and ecx, 3
push 0x5bb068
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCR110.dll_fopen]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x427aa8
push dword [ebp - 0x208]
push str._nWARNING_FILE__s_NOT_FOUND
call dword [sym.imp.MSVCR110.dll_printf]
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0057d22e
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.MSVCR110.dll_fseek]
push 2
push 0
push ebx
call esi
push ebx
call dword [sym.imp.MSVCR110.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call esi
mov eax, dword [ebp - 0x20c]
push edi
mov dword [eax], edi
call dword [sym.imp.MSVCR110.dll_malloc]
add esp, 0x20
xor esi, esi
mov dword [ebp - 0x208], eax
test edi, edi
jle 0x427b0b
mov edi, dword [ebp - 0x20c]
lea esp, [esp]
push ebx
push dword [edi]
push 1
push eax
call dword [sym.imp.MSVCR110.dll_fread]
add esi, eax
mov eax, dword [ebp - 0x208]
add esp, 0x10
cmp esi, dword [edi]
jl 0x427af0
push ebx
call dword [sym.imp.MSVCR110.dll_fclose]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x208]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0057d22e
mov esp, ebp
pop ebp
ret