Function at 0x401490
Capabilities:
Print debug messages
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x433fdb
mov eax, dword fs:[0]
push eax
sub esp, 0x724
mov eax, dword [0x443430]
xor eax, esp
mov dword [esp + 0x720], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x443430]
xor eax, esp
push eax
lea eax, [esp + 0x738]
mov dword fs:[0], eax
mov eax, dword [esp + 0x748]
lea ecx, [esp + 0x28]
mov dword [esp + 0x38], eax
call fcn.00404afb
push 0x103
xor edi, edi
lea ecx, [esp + 0x41]
push edi
push ecx
mov byte [esp + 0x48], 0
call fcn.00420b80
push 0x3e7
lea edx, [esp + 0x35d]
push edi
push edx
mov byte [esp + 0x364], 0
call fcn.00420b80
add esp, 0x18
push 0x104
lea eax, [esp + 0x40]
push eax
push edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x28], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [esp + 0x3c]
push ecx
call esi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocString
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x40157e
push str.CreateFile_open_file_is_failed_in_ReadFileListInArchive
call esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x740], 0xffffffff
call fcn.00404cca
xor eax, eax
jmp 0x4017d5
mov ebx, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 2
push edi
push edi
push ebp
call ebx
push 2
push edi
push 0xfffffffffffffff3
push ebp
call ebx
push edi
lea eax, [esp + 0x1c]
push eax
push 9
lea ecx, [esp + 0x358]
push ecx
push ebp
mov dword [esp + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, edi
je 0x4015e1
cmp dword [esp + 0x18], edi
jne 0x40160a
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_is_end__000_in_ReadFileListInArchive
call esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x740], 0xffffffff
call fcn.00404cca
xor eax, eax
jmp 0x4017d5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_is_failed_000_in_ReadFileListInArchive
call esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x740], 0xffffffff
call fcn.00404cca
xor eax, eax
jmp 0x4017d5
mov edi, str._ZM_QZDM_
lea esi, [esp + 0x34c]
mov ecx, 0xa
xor edx, edx
mov byte [esp + 0x355], 0
repe cmpsb byte [esi], byte es:[edi]
je 0x401640
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.file_is_not_SIGNATURE_in_ReadFileListInArchive
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563
push 2
push 0
push 0xffffffffffffffef
push ebp
mov esi, 0x11
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x30]
push ecx
push ebp
mov dword [esp + 0x38], 0
call edi
test eax, eax
je 0x40168f
cmp dword [esp + 0x18], 0
jne 0x4016a6
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_number_is_file_end_000_in_ReadFileListInArchive
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_number_is_failed_in_ReadFileListInArchive
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563
lea ecx, [esp + 0x24]
call fcn.00401890
mov eax, dword [esp + 0x24]
cmp eax, 0x100
jle 0x4016c3
mov eax, 0x100
mov dword [esp + 0x24], eax
cmp eax, 1
mov dword [esp + 0x20], eax
jl 0x40172c
lea esp, [esp]
push 2
add esi, 4
push 0
mov edx, esi
neg edx
push edx
push ebp
call ebx
push 0
lea eax, [esp + 0x1c]
push eax
push 4
lea ecx, [esp + 0x28]
push ecx
push ebp
mov dword [esp + 0x30], 0
call edi
test eax, eax
je 0x401816
cmp dword [esp + 0x18], 0
je 0x4017ff
lea ecx, [esp + 0x1c]
call fcn.00401890
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
sub eax, 1
cmp eax, 1
lea esi, [esi + edx + 8]
mov dword [esp + 0x20], eax
jge 0x4016d0
push 0x207
lea eax, [esp + 0x149]
push 0
push eax
mov byte [esp + 0x150], 0
call fcn.00420b80
mov eax, dword [esp + 0x758]
add esp, 0xc
add eax, 0xffffffff
mov dword [esp + 0x20], eax
js 0x4017b5
neg esi
push 2
push 0
sub esi, 4
push esi
push ebp
call ebx
push 0
lea ecx, [esp + 0x1c]
push ecx
push 4
lea edx, [esp + 0x28]
push edx
push ebp
mov dword [esp + 0x30], 0
call edi
test eax, eax
je 0x40186b
cmp dword [esp + 0x18], 0
je 0x40182d
lea ecx, [esp + 0x1c]
call fcn.00401890
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov dword [edx + eax*4], ecx
sub eax, 1
mov dword [esp + 0x20], eax
jns 0x40175d
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x28]
mov dword [esp + 0x740], 0xffffffff
call fcn.00404cca
mov eax, 1
mov ecx, dword [esp + 0x738]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x720]
xor ecx, esp
call fcn.0041f2bf
add esp, 0x730
ret 8
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_is_end__111_in_ReadFileListInArchive
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_is_failed_111_in_ReadFileListInArchive
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [esp + 0x24]
add eax, 1
push eax
lea ecx, [esp + 0x14c]
push 0x43a68c
push ecx
call fcn.0041f4bd
add esp, 0x10
lea edx, [esp + 0x144]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.ReadFile_file_is_failed_007_in_UnZipArchive
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401563