Function at 0x10074c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2034
call fcn.10203e10
mov eax, dword [0x105520d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
push 0x1025a8d8
push eax
mov dword [ebp - 0x202c], esi
call dword [sym.imp.MSVCR100.dll_fopen]
xor ebx, ebx
mov edi, eax
add esp, 8
mov dword [ebp - 0x2030], ebx
mov dword [ebp - 0x2028], ebx
mov dword [ebp - 0x2024], ebx
cmp edi, ebx
je 0x10074ed5
mov byte [ebp - 0x201d], bl
jmp 0x10074cf0
cmp byte [ebp - 0x201d], 0
jne 0x10074e8a
lea eax, [ebp - 0x2028]
push eax
push edi
call dword [sym.imp.MSVCR100.dll_fgetpos]
mov ecx, dword [ebp - 0x2024]
mov edx, dword [ebp - 0x2028]
mov esi, dword [ebp - 0x202c]
push ecx
push edx
push str.QLIB_Playback_DLF______before_item_read____file_position__d
add esi, 0xa5e4
push 4
push esi
call fcn.10115e20
push edi
push 1
lea eax, [ebp - 0x1010]
push 8
push eax
add ebx, 8
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x2c
cmp eax, 1
jne 0x10074e83
lea ecx, [ebp - 0x2028]
push ecx
push edi
call dword [sym.imp.MSVCR100.dll_fgetpos]
movzx edx, word [ebp - 0x1010]
mov eax, dword [ebp - 0x2024]
mov ecx, dword [ebp - 0x2028]
push edx
push eax
push ecx
push str.QLIB_Playback_DLF______after_header_read____file_position__d__item_data_length:__d
push 4
push esi
call fcn.10115e20
movzx edx, word [ebp - 0x1010]
push edi
push 1
sub edx, 8
push edx
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.MSVCR100.dll_fread]
lea ecx, [ebp - 0x2028]
push ecx
push edi
mov dword [ebp - 0x2034], eax
call dword [sym.imp.MSVCR100.dll_fgetpos]
mov edx, dword [ebp - 0x2024]
mov eax, dword [ebp - 0x2028]
push edx
push eax
push str.QLIB_Playback_DLF______after_item_data_read____file_position__d
push 4
push esi
call fcn.10115e20
mov ecx, 1
add esp, 0x4c
cmp dword [ebp - 0x2034], ecx
jne 0x10074e83
movzx eax, word [ebp - 0x1010]
add dword [ebp - 0x2030], ecx
movzx ecx, word [ebp - 0x100e]
push eax
push ecx
push str.QLIB_Playback_DLF______found_log_code_0X_X__length__d_bytes
push 4
push esi
lea ebx, [ebx + eax - 8]
call fcn.10115e20
mov ax, word [ebp - 0x1010]
mov edx, 0x1000
add esp, 0x14
mov word [ebp - 0x201c], 0x10
mov word [ebp - 0x201a], ax
cmp ax, dx
jbe 0x10074e39
mov byte [ebp - 0x201d], 1
jmp 0x10074cf0
movzx eax, ax
push eax
lea ecx, [ebp - 0x1010]
push ecx
lea edx, [ebp - 0x2018]
push edx
call sub.MSVCR100.dll_memcpy
movzx ecx, word [ebp - 0x201a]
mov edx, dword [ebp - 0x202c]
add esp, 0xc
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x201c]
add ecx, 4
push eax
push ecx
mov ecx, dword [edx + 0x479bf8]
call fcn.10143d80
jmp 0x10074cf0
cmp byte [ebp - 0x201d], 0
mov eax, dword [ebp - 0x2030]
mov ecx, dword [ebp - 0x202c]
push eax
push ebx
push str.QLIB_Playback_DLF_______d_bytes_read_from__d_items
sete byte [ebp - 0x201d]
add ecx, 0xa5e4
push 4
push ecx
call fcn.10115e20
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
mov al, byte [ebp - 0x201d]
add esp, 0x18
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4
push str.QLIB_Playback_DLF______file_open_failed
push 0x10
add esi, 0xa5e4
push esi
call fcn.10115e20
mov ecx, dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.10203cc8
mov esp, ebp
pop ebp
ret 4