Function at 0x5125e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x56fcf9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
mov esi, ecx
xor edi, edi
mov dword [esp + 0x14], ebx
call fcn.005504da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x30]
cmp eax, 0x65
mov dword [esp + 0x24], edi
jg 0x5127e4
je 0x5127cf
dec eax
cmp eax, 0x1d
ja case.default.0x51299c
jmp dword [eax*4 + 0x512b14]
push 0x581520
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Illegal_seek
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5814f8
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5814e8
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5814d4
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.File_table_overflow
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5814ac
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x58149c
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x58148c
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x58147c
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Cross_device_link
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x58145c
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x581450
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x58143c
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x581428
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Bad_file_number
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5813fc
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.I_O_error
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Interrupted_system_call
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5813bc
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Not_super_user
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x19
push str.Damaged_or_not_a_zip_file
lea ecx, [esp + 0x14]
call fcn.004037b0
jmp 0x512a9b
cmp eax, 0x1f4
jg 0x51298e
je 0x51297b
add eax, 0xffffff9a
cmp eax, 0xe
ja case.default.0x51299c
jmp dword [eax*4 + 0x512b8c]
push str.Crc_mismatched
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.No_disk_spanning_callback_functor_set
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Disk_change_aborted
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Action_aborted
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Action_aborted_safely
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.The_device_selected_for_the_disk_spanning_archive_is_non_removable
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Limit_of_the_maximum_volumes_reached__999_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.The_filename_of_the_file_being_added_to_the_archive_is_too_long
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Incorrect_password_set_for_the_file_being_decrypted
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.During_testing_found_the_directory_with_the_size_greater_than_0
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push 0x5811e0
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
lea eax, [esp + 0x34]
push eax
mov ecx, esi
call fcn.005124e0
mov eax, dword [eax]
push eax
push str.Error_while_removing_a_file
lea ecx, [esp + 0x14]
push str._s___s_
push ecx
mov byte [esp + 0x34], 1
call fcn.0040b350
add esp, 0x10
lea ecx, [esp + 0x34]
mov byte [esp + 0x24], 0
call fcn.00402200
jmp 0x512a9b
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.005124e0
mov eax, dword [eax]
push eax
push str.Error_while_renaming_a_file
lea eax, [esp + 0x14]
push str._s___s_
push eax
mov byte [esp + 0x34], 2
call fcn.0040b350
add esp, 0x10
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.00402200
jmp 0x512a9b
push str.Cannot_create_the_file_for_the_specified_platform
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.The_central_directory_was_not_found_in_the_archive__or_you_were_trying_to_open_not_the_last_disk_of_a_multi_disk_archive_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Zlib_Library_error__end_of_stream_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
add eax, 0xfffffe0a
cmp eax, 5
ja case.default.0x51299c
jmp dword [eax*4 + 0x512bc8]
call fcn.0053fe76
cmp dword [eax], 0x1f6
je 0x5129b9
call fcn.0053fe76
mov eax, dword [eax]
jmp 0x5129be
mov eax, 0x64
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.005125e0
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 3
call fcn.0040b4e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 0
call fcn.00402200
jmp 0x512a9b
push str.Zlib_library_error__stream_error_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Zlib_library_error__data_error_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Not_enough_memory
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Zlib_library_error__buffer_error_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
push str.Zlib_library_error__version_error_
lea ecx, [esp + 0x10]
call fcn.004054c0
jmp 0x512a9b
mov al, byte [esp + 0x34]
test al, al
je 0x512ae9
mov ecx, 0x581018
mov eax, ecx
lea esi, [eax + 1]
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x512a60
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004037b0
test bl, 1
mov dword [esp + 0x24], edi
je 0x512a9b
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x512a9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0xc]
add esi, 0xfffffff0
push esi
call fcn.0040b110
mov edi, dword [esp + 0x30]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov dword [esp + 0x24], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x512ad3
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.005124e0
mov ecx, dword [eax]
cmp ecx, edi
mov ebx, 1
mov byte [esp + 0x24], 4
mov dword [esp + 0x14], ebx
jne 0x512a55
xor eax, eax
jmp 0x512a69