Function at 0x1000f690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x10415990]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0xfb
lea eax, [ebp - 0x113]
push 0
push eax
mov edi, ecx
mov esi, edx
mov dword [ebp - 0x320], ebx
mov byte [ebp - 0x10], 0
mov dword [ebp - 0xf], 0
mov byte [ebp - 0x114], 0
call sub.MSVCR100.dll_memset
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [0x1045b8f0]
push 0
push ecx
push edx
push edi
push str.Aisound_AuthCheck__d___d___d___in_
push 0x19f
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 2
push eax
call fcn.10062060
add esp, 0x34
test ebx, ebx
jne 0x1000f737
mov ecx, dword [0x1045b8f0]
push ebx
push ebx
push ebx
push ebx
push str.Aisound_AuthCheck_invalid_param__headInfo_is_null
push 0x1a1
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push ebx
push ecx
call fcn.10062060
add esp, 0x28
mov ebx, 0x277a
jmp 0x1000f904
push 0x1037466c
push edi
call fcn.10061320
add esp, 8
test eax, eax
jne 0x1000fbfb
test esi, esi
je 0x1000f785
xor edx, edx
cmp edx, 0x1037300c
je 0x1000f785
push edx
push esi
lea edi, [ebp - 0x314]
call fcn.1005fc80
mov eax, edi
push 0x1037300c
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov edi, eax
add esp, 0x10
mov dword [ebp - 0x318], edi
test edi, edi
jne 0x1000f7b8
mov ecx, dword [0x1045b8f0]
push 0
push 0
push 0
push esi
push str.Aisound_AuthCheck_open_file_failed__fileInfo_s
push 0x1aa
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push ecx
mov ebx, 0x2776
call fcn.10062060
add esp, 0x28
jmp 0x1000f904
mov eax, dword [ebp + 8]
push 0
test eax, eax
jle 0x1000f7c4
push eax
jmp 0x1000f7c6
push 0
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
lea edx, [ebp - 0x10]
add esp, 0xc
test edx, edx
je 0x1000f833
mov esi, dword [sym.imp.MSVCR100.dll_fread]
push edi
push 4
mov eax, edx
push 1
push eax
call esi
add esp, 0x10
cmp eax, 4
je 0x1000f7f6
mov ebx, 0xfffffffe
jmp 0x1000f836
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x320]
xor ebx, ebx
cmp byte [ebp - 0xf], 2
mov dword [eax], edx
jne 0x1000f99d
push ebx
push 2
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000f864
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_fseek_jsonInfoSize_error__ret_d
push 0x1dd
jmp 0x1000f847
or ebx, 0xffffffff
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_read_file_head_new_old_mark_error__ret_d
push 0x1d3
mov ecx, dword [0x1045b8f0]
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push ecx
call fcn.10062060
add esp, 0x28
jmp 0x1000f8fa
lea edx, [ebp - 0x31c]
test edx, edx
je 0x1000f887
push edi
push 4
mov eax, edx
push 1
push eax
call esi
add esp, 0x10
cmp eax, 4
je 0x1000f89d
mov ebx, 0xfffffffe
jmp 0x1000f88a
or ebx, 0xffffffff
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_read_jsoninfo_size_error__ret_d
push 0x1e2
jmp 0x1000f847
movzx esi, byte [ebp - 0x319]
movzx edx, byte [ebp - 0x31a]
mov eax, dword [ebp - 0x31c]
mov edi, dword [ebp - 0x320]
shl esi, 8
or esi, edx
movzx ecx, ah
shl esi, 8
or esi, ecx
movzx edx, al
shl esi, 8
or esi, edx
push esi
push 0x1e7
push str......._source_appmsc_lualuac_aisound_aisound.c
mov dword [edi + 0x100], esi
call fcn.100642c0
add esp, 0xc
mov dword [edi + 0x104], eax
test eax, eax
jne 0x1000f93f
mov ebx, 0x2775
mov edi, dword [ebp - 0x318]
push edi
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
mov eax, dword [0x1045b8f0]
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck___d___out_
push 0x237
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 2
push eax
call fcn.10062060
mov ecx, dword [ebp - 8]
add esp, 0x28
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.1015eea7
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1000f96c
mov ecx, dword [ebp - 0x318]
push ecx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x1000f962
mov ebx, 0xfffffffe
jmp 0x1000f96f
mov al, byte [ebp - 0xf]
xor ebx, ebx
mov byte [edi + 4], al
jmp 0x1000f8f4
or ebx, 0xffffffff
mov edx, dword [0x1045b8f0]
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_read_jsoninfo_err__ret_d
push 0x1f3
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push edx
call fcn.10062060
add esp, 0x28
jmp 0x1000f8f4
lea esi, [ebp - 0x10]
mov eax, str.v5pp
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1000f9c5
test cl, cl
je 0x1000f9c1
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1000f9c5
add eax, 2
add esi, 2
test cl, cl
jne 0x1000f9a5
xor eax, eax
jmp 0x1000f9ca
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000fa82
lea ecx, [ebp - 0x114]
test ecx, ecx
je 0x1000fa01
push edi
push 0xfc
mov edx, ecx
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
lea ecx, [ebp - 0x31c]
add esp, 0x10
test ecx, ecx
je 0x1000fa01
cmp eax, 0xfc
je 0x1000fa33
mov edx, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.Aisound_AuthCheck_read_file_head_error_
push 0x1ff
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push edx
call fcn.10062060
add esp, 0x28
or ebx, 0xffffffff
jmp 0x1000f8fa
mov eax, dword [ebp - 0x320]
mov cl, byte [ebp - 0x113]
mov edx, dword [ebp - 0xb2]
mov byte [eax + 4], cl
lea edi, [eax + 5]
mov ecx, 8
lea esi, [ebp - 0x112]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0x25]
mov ecx, 0x10
lea esi, [ebp - 0xf2]
mov dword [eax + 0x65], edx
mov edx, dword [ebp - 0xaa]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xae]
mov dword [eax + 0x69], ecx
mov dword [eax + 0x6d], edx
jmp 0x1000f8f4
lea esi, [ebp - 0x10]
mov eax, str.v5vn
lea ebx, [ebx]
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x1000fab0
test cl, cl
je 0x1000faac
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x1000fab0
add eax, 2
add esi, 2
test cl, cl
jne 0x1000fa90
xor eax, eax
jmp 0x1000fab5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1000f8fa
mov eax, dword [ebp + 8]
push 0
test eax, eax
jle 0x1000facc
add eax, 4
push eax
jmp 0x1000face
push 4
push edi
call dword [sym.imp.MSVCR100.dll_fseek]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x1000fb0b
mov eax, dword [0x1045b8f0]
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_fseek_jsonInfoSize_error__ret_d
push 0x217
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push eax
call fcn.10062060
add esp, 0x28
jmp 0x1000f8fa
lea ecx, [ebp - 0x318]
test ecx, ecx
je 0x1000fb32
push edi
push 4
mov edx, ecx
push 1
push edx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, 4
je 0x1000fb62
mov ebx, 0xfffffffe
jmp 0x1000fb35
or ebx, 0xffffffff
mov eax, dword [0x1045b8f0]
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_read_jsoninfo_size_error__ret_d
push 0x21c
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push eax
call fcn.10062060
add esp, 0x28
jmp 0x1000f8fa
movzx esi, byte [ebp - 0x315]
movzx ecx, byte [ebp - 0x316]
mov eax, dword [ebp - 0x318]
mov ebx, dword [ebp - 0x320]
shl esi, 8
or esi, ecx
movzx edx, ah
shl esi, 8
or esi, edx
movzx eax, al
shl esi, 8
or esi, eax
push esi
push 0x221
push str......._source_appmsc_lualuac_aisound_aisound.c
mov dword [ebx + 0x100], esi
call fcn.100642c0
add esp, 0xc
mov dword [ebx + 0x104], eax
test eax, eax
jne 0x1000fbbe
mov ebx, 0x2775
jmp 0x1000f8fa
test esi, esi
je 0x1000fbe2
push edi
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
cmp eax, esi
je 0x1000fbdb
mov ebx, 0xfffffffe
jmp 0x1000fbe5
xor ebx, ebx
jmp 0x1000f8fa
or ebx, 0xffffffff
push 0
push 0
push 0
push ebx
push str.Aisound_AuthCheck_read_jsoninfo_err__ret_d
push 0x22c
jmp 0x1000f847
mov edx, dword [0x1045b8f0]
push 0
push 0
push 0
push 0
push str.Aisound_AuthCheck_fileOpenType_error
push 0x1c3
push str......._source_appmsc_lualuac_aisound_aisound.c
push 1
push 0
push edx
mov ebx, 0x277a
call fcn.10062060
add esp, 0x28
jmp 0x1000f904