Function at 0x1c015d40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1c02c12e
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x1c03c020]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push esi
push edi
mov eax, dword [0x1c03c020]
xor eax, esp
push eax
lea eax, [esp + 0x290]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xor eax, eax
push eax
push eax
mov esi, ecx
push edi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
call dword [sym.imp.MSVCR90.dll_fseek]
mov ebx, dword [sym.imp.MSVCR90.dll_fread]
add esp, 0xc
push edi
push 1
lea eax, [esp + 0x64]
push 0x20
push eax
call ebx
add esp, 0x10
mov eax, 0x20
xor ecx, ecx
mov edx, dword [esp + ecx + 0x5c]
cmp edx, dword [ecx + str.HncZip_1.0_r_n]
jne 0x1c015e26
sub eax, 4
add ecx, 4
cmp eax, 4
jae 0x1c015de3
push edi
push 1
lea eax, [esp + 0x54]
push 0x10
push eax
call ebx
add esp, 0x10
cmp dword [esp + 0x4c], 0
mov dword [esp + 0x1c], 0
jle 0x1c015f7e
mov dword [esp + 0x14], 0x30
jmp 0x1c015e46
push 0xffffffffffffffff
push 0x4001
mov ecx, esi
call sym.HncBM90.dll_private:_void___thiscall_CHncZIP::_AddError_int__int_
or eax, 0xffffffff
jmp 0x1c015f88
mov ebx, dword [sym.imp.MSVCR90.dll_fread]
push 0x2c
call sub.MSVCR90.dll_void____cdecl_operator_new_unsigned_int_
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x298], 0
test esi, esi
je 0x1c015e70
lea ecx, [esi + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::constructor_void_]
jmp 0x1c015e72
xor esi, esi
mov ecx, dword [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x2a0], 0xffffffff
push edi
mov dword [esp + 0x24], esi
call dword [sym.imp.MSVCR90.dll_fseek]
add esp, 0xc
push 0x208
lea edx, [esp + 0x80]
push 0
push edx
call fcn.1c02b4b0
add esp, 0xc
push edi
push 1
lea eax, [esp + 0x34]
push 0x20
push eax
call ebx
mov ecx, dword [esp + 0x48]
push 0
push ecx
push edi
call dword [sym.imp.MSVCR90.dll_fseek]
movsx edx, word [esp + 0x58]
add esp, 0x1c
push edi
push 1
lea eax, [edx + edx + 2]
push eax
lea ecx, [esp + 0x88]
push ecx
call ebx
mov dl, byte [esp + 0x3c]
mov byte [esi], dl
mov eax, dword [esp + 0x44]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x40]
mov dword [esi + 8], ecx
mov edx, dword [esp + 0x48]
add esp, 0x10
lea eax, [esp + 0x7c]
push eax
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], edx
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const__]
mov ecx, dword [esp + 0x20]
mov ebx, dword [ecx + 0x30]
mov eax, dword [ebx + 0xc]
test eax, eax
jne 0x1c015f1b
xor ecx, ecx
jmp 0x1c015f23
mov ecx, dword [ebx + 0x14]
sub ecx, eax
sar ecx, 2
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x10], edx
sub edx, eax
sar edx, 2
cmp edx, ecx
jae 0x1c015f41
mov eax, dword [esp + 0x10]
mov dword [eax], esi
add eax, 4
mov dword [ebx + 0x10], eax
jmp 0x1c015f66
cmp eax, dword [esp + 0x10]
jbe 0x1c015f4d
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x10]
mov eax, dword [ebx]
push edx
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov eax, ebx
call fcn.1c016d00
mov eax, dword [esp + 0x1c]
add dword [esp + 0x14], 0x20
inc eax
cmp eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
jl 0x1c015e40
push edi
call dword [sym.imp.MSVCR90.dll_ftell]
add esp, 4
mov ecx, dword [esp + 0x290]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.1c01a4c0
mov esp, ebp
pop ebp
ret 4