Function at 0x100152c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [0x10037018]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push edi
push eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], 0x10016740
mov dword [esp + 0x34], 0x100167e0
mov dword [esp + 0x38], 0x10016830
mov dword [esp + 0x3c], 0x10016880
mov dword [esp + 0x40], 0x100168f0
mov dword [esp + 0x44], 0x10016950
mov dword [esp + 0x48], 0x10016980
mov dword [esp + 0x4c], 0
call fcn.10014bf0
add esp, 4
lea edx, [esp + 0x2c]
push edx
push 0
mov edi, eax
push 0
push edi
call dword [sym.imp.zlib1.dll_Ordinal_131]
mov esi, eax
push edi
mov dword [esp + 0x18], esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test esi, esi
jne 0x1001537f
mov eax, dword [esp + 0x1c]
push eax
push str.error_opening__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100256d0
mov esp, ebp
pop ebp
ret 8
push 0x4000
call dword [sym.imp.MSVCR100.dll_malloc]
mov ebx, dword [ebx]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 4]
mov edi, dword [eax]
add esp, 4
mov dword [esp + 0x24], ebx
mov dword [esp + 0xc], edi
cmp edi, eax
je 0x1001562f
jmp 0x100153b0
lea eax, [edi + 0xc]
mov esi, 0x10
cmp dword [eax + 0x14], esi
jb 0x100153c5
mov ebx, dword [eax]
mov dword [esp + 0x10], ebx
jmp 0x100153cb
mov dword [esp + 0x10], eax
mov ebx, eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ecx
je 0x100153e9
push eax
push ebx
call sym.libBasic.dll_public:_static_bool___cdecl_BASUtilityFile::IsSupportFilePosfix_char_const___char_const__
add esp, 8
test al, al
jne 0x100155ca
xor ecx, ecx
cmp dword [edi + 0x3c], esi
jb 0x100153f3
mov edi, dword [edi + 0x28]
jmp 0x100153f6
add edi, 0x28
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x58], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ecx
push ebx
lea ecx, [esp + 0x6c]
call fcn.10014c70
mov eax, edi
add esp, 4
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10015430
sub eax, edx
jne 0x10015462
mov esi, dword [sym.imp.MSVCR100.dll_strrchr]
push 0x5c
push ebx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x10015461
push 0x2f
push ebx
call esi
mov edi, eax
add esp, 8
test edi, edi
jne 0x10015461
mov edi, ebx
jmp 0x10015462
inc edi
push edi
call fcn.10014b10
add esp, 4
push 0
push 0
push 0
push 0
push 8
mov edx, dword [esp + 0x28]
push 0xfffffffffffffff1
push 0
push 0xffffffffffffffff
push 8
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x88]
push ecx
mov ebx, eax
push ebx
push edx
call dword [sym.imp.zlib1.dll_Ordinal_134]
push ebx
mov esi, eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test esi, esi
je 0x100154c1
push edi
push str.error_in_opening__s_in_zipfile_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
jmp 0x1001558e
mov eax, dword [esp + 0x10]
push eax
call fcn.10014bf0
add esp, 4
push 0x1002b724
mov esi, eax
call fcn.10014bf0
add esp, 4
mov edi, eax
push edi
push esi
call dword [sym.imp.MSVCR100.dll__wfopen]
push edi
mov edi, dword [sym.imp.MSVCR100.dll_free]
mov ebx, eax
call edi
add esp, 0xc
push esi
call edi
add esp, 4
mov dword [esp + 0x28], ebx
test ebx, ebx
jne 0x10015512
mov ecx, dword [esp + 0x10]
push ecx
push str.error_in_opening__s_for_reading_n
jmp 0x100155bd
mov edx, dword [esp + 0x18]
push ebx
push 0x4000
push 1
push edx
xor esi, esi
call dword [sym.imp.MSVCR100.dll_fread]
mov edi, eax
add esp, 0x10
cmp edi, 0x4000
jge 0x10015558
push ebx
call dword [sym.imp.MSVCR100.dll_feof]
add esp, 4
test eax, eax
jne 0x10015558
mov eax, dword [esp + 0x10]
push eax
push str.error_in_reading__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
or esi, 0xffffffff
test edi, edi
jle 0x10015586
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push edi
push ecx
push edx
call dword [sym.imp.zlib1.dll_Ordinal_82]
mov esi, eax
test esi, esi
jns 0x10015588
mov eax, dword [esp + 0x10]
push eax
push str.error_in_writing__s_in_the_zipfile_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
test esi, esi
jne 0x1001558e
test edi, edi
jg 0x10015512
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100155a0
push eax
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
test esi, esi
js 0x100155c6
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.zlib1.dll_Ordinal_83]
test eax, eax
je 0x100155c6
mov edx, dword [esp + 0x10]
push edx
push str.error_in_closing__s_in_the_zipfile_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
mov edi, dword [esp + 0xc]
cmp byte [edi + 0x45], 0
jne 0x1001561e
mov ecx, dword [edi + 8]
cmp byte [ecx + 0x45], 0
jne 0x100155f1
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
jne 0x100155eb
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0x45], 0
je 0x100155e1
mov dword [esp + 0xc], ecx
jmp 0x1001561a
mov eax, dword [edi + 4]
cmp byte [eax + 0x45], 0
jne 0x10015616
jmp 0x10015604
mov edi, dword [esp + 0xc]
cmp edi, dword [eax + 8]
jne 0x10015616
mov dword [esp + 0xc], eax
mov eax, dword [eax + 4]
cmp byte [eax + 0x45], 0
je 0x10015600
mov dword [esp + 0xc], eax
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x24]
cmp edi, dword [eax + 4]
jne 0x100153b0
mov esi, dword [esp + 0x14]
push 0
push esi
call dword [sym.imp.zlib1.dll_Ordinal_84]
mov ecx, dword [esp + 0x18]
push ecx
mov edi, eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
test edi, edi
je 0x10015675
mov edx, dword [esp + 0x1c]
push edx
push str.error_in_closing__s_n
call dword [sym.imp.MSVCR100.dll_printf]
add esp, 8
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100256d0
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.100256d0
mov esp, ebp
pop ebp
ret 8