Function at 0x493680
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x90
mov ebx, edx
mov dword [esp + 0x20], ecx
movzx eax, word [edx]
cmp ax, 8
je 0x493783
mov ecx, 0xffffffff
test ax, ax
jne 0x493bb8
push 0x8000
call fcn.004227e0
add esp, 4
push 0x8000
push 0
mov dword [esp + 0x14], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
mov edi, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
xor edx, edx
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 8], edi
mov dword [esp + 0x1c], esi
nop dword [eax]
cmp edx, edi
mov eax, dword [esp + 0x10]
sbb eax, esi
jae 0x4939ca
sub edi, edx
mov eax, dword [esp + 0x10]
sbb esi, eax
mov ecx, ebx
mov ebx, dword [ebx + 0x18]
mov dword [esp + 4], edx
add ebx, edx
mov edx, ebx
mov ebx, dword [ecx + 0x1c]
adc ebx, eax
cmp edi, 0x8000
mov eax, esi
sbb eax, 0
mov eax, 0
cmovae esi, eax
mov eax, 0x8000
cmovae edi, eax
mov ecx, dword [esp + 0x20]
push ebx
mov dword [esp + 0x1c], edx
push edx
push edi
push dword [esp + 0x18]
call fcn.00493e60
test al, al
je 0x493a0a
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push edi
push dword [esp + 0x10]
call dword [eax]
mov edx, dword [esp + 4]
add edx, edi
adc dword [esp + 0x10], esi
test al, al
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 8]
mov esi, dword [esp + 0x1c]
jne 0x4936f0
mov esi, 0xfffffff5
jmp 0x493a3e
mov dword [esp + 0x7c], 0x55bdb4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
mov esi, dword [ebx + 0x30]
mov eax, dword [ebx + 0x34]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x1c], eax
push 0x8000
call fcn.004227e0
add esp, 4
push 0x8000
push 0
mov dword [esp + 0x18], eax
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
push 0x8000
call fcn.004227e0
add esp, 4
mov edi, eax
push 0x8000
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
movaps xmmword [esp + 0x40], xmm0
movaps xmmword [esp + 0x50], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x8000
mov dword [esp + 0x5c], 2
lea eax, [esp + 0x30]
push 0x38
push 0x55ba30
push 0xfffffffffffffff1
push eax
call fcn.004b8ee0
add esp, 0x10
cmp eax, 0xfffffffa
je 0x4939ce
test eax, eax
jne 0x4939e1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x78], esi
mov ecx, esi
mov edx, dword [esp + 0xc]
xor esi, esi
cmp dword [esp + 0x34], 0
mov dword [esp + 8], ecx
je 0x493877
mov dword [esp + 0x24], edx
jmp 0x4938f6
mov dword [esp + 0x28], esi
mov dword [esp + 4], edi
mov dword [esp + 0x14], ebx
cmp ecx, 0x8000
mov eax, edx
sbb eax, 0
mov edi, 0
cmovb edi, edx
mov esi, 0x8000
cmovb esi, ecx
mov eax, dword [esp + 0x78]
sub eax, ecx
mov dword [esp + 0x74], eax
mov ebx, edx
mov edx, dword [esp + 0xc]
sbb edx, ebx
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x7c]
push edx
push dword [esp + 0x78]
push esi
push dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
call dword [eax]
test al, al
je 0x493bfb
sub dword [esp + 8], esi
sbb ebx, edi
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], esi
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x28]
push 0
lea eax, [esp + 0x34]
push eax
call fcn.004b9110
add esp, 8
cmp eax, 2
jae 0x493bc2
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x493928
cmp dword [esp + 4], 1
jne 0x49395b
cmp eax, 0x8000
je 0x49395b
mov eax, dword [esp + 0x3c]
sub eax, edi
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push eax
push edi
call dword [edx]
test al, al
je 0x493bf1
mov eax, 0x8000
sub eax, dword [esp + 0x40]
add dword [esp + 0x2c], eax
adc esi, 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], 0x8000
mov eax, dword [esp + 4]
test eax, eax
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x24]
je 0x493866
mov dword [esp + 0x28], esi
cmp eax, 1
jne 0x493c33
mov esi, dword [esp + 0x2c]
xor esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x18]
or eax, esi
jne 0x493996
xor esi, esi
or ecx, edx
je 0x4939bb
push dword [esp + 0x18]
push dword [esp + 0x20]
push dword [esp + 0x4c]
push str.Zip:_size_mismatch_on_inflated_file___lu_vs__llu_
push str.ziparchive
push 5
call fcn.00420f20
add esp, 0x18
mov esi, 0xfffffff7
lea eax, [esp + 0x30]
push eax
call fcn.004bb520
add esp, 4
jmp 0x4939fb
xor esi, esi
jmp 0x493a3e
push 0x55ba30
push str.Installed_zlib_is_not_compatible_with_linked_version___s_
push str.ziparchive
push 6
jmp 0x4939ee
push eax
push str.Call_to_inflateInit2_failed__zerr_d_
push str.ziparchive
push 5
call fcn.00420f20
add esp, 0x10
mov esi, 0xfffffffe
push edi
call fcn.00422980
add esp, 4
push dword [esp + 0x10]
jmp 0x493a43
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
add esp, 4
push eax
push ebx
push dword [esp + 0x20]
push edi
push str.CopyFileToFile:_copy_read_failed__block_size___u__offset___lld:__s
push str.ziparchive
push 5
call fcn.00420f20
add esp, 0x1c
mov esi, 0xfffffff5
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
call fcn.00422980
add esp, 4
mov ecx, esi
test esi, esi
jne 0x493bb8
cmp byte [ebx + 0xa], 0
je 0x493b7f
xorps xmm0, xmm0
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
xor eax, eax
cmp word [ebx], 0
sete al
mov edx, dword [ebx + eax*8 + 0x30]
add edx, dword [ebx + 0x18]
mov eax, dword [ebx + eax*8 + 0x34]
adc eax, dword [ebx + 0x1c]
lea esi, [esp + 0x30]
mov ecx, dword [esp + 0x20]
push eax
push edx
push 0x18
push esi
call fcn.00493e60
mov ecx, 0xfffffff5
test al, al
je 0x493bb8
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
cmp eax, 0x8074b50
lea edx, [esp + 0x34]
cmove esi, edx
lea eax, [esp + 0x38]
cmove edx, eax
mov ecx, dword [ebx + 0x30]
xor eax, eax
mov edi, 0xfffffffe
mov dword [esp + 0x10], ecx
cmp edi, ecx
mov edi, dword [ebx + 0x34]
mov ecx, 0
mov dword [esp + 0xc], edi
sbb ecx, edi
mov edi, dword [ebx + 0x3c]
mov dword [esp + 0x14], ebx
mov ecx, dword [ebx + 0x38]
mov dword [esp + 4], ecx
mov dword [esp + 0x20], edi
jb 0x493b28
mov ebx, 0xfffffffe
cmp ebx, ecx
sbb eax, edi
jb 0x493b28
cmp dword [esp + 8], 0x8074b50
lea eax, [esp + 0x3c]
lea edi, [esp + 0x38]
cmove edi, eax
mov ecx, dword [edx]
xor edx, edx
mov edi, dword [edi]
mov dword [esp + 8], 0
jmp 0x493b46
xor eax, eax
cmp dword [esp + 8], 0x8074b50
sete al
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov edi, dword [esp + eax*4 + 0x3c]
mov eax, dword [esp + eax*4 + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], ecx
xor eax, ecx
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], edx
xor ecx, edx
or ecx, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0xc]
mov esi, dword [esp + 8]
jne 0x493b83
mov ecx, dword [esp + 4]
xor ecx, edi
mov edx, dword [esp + 0x20]
xor edx, esi
or edx, ecx
jne 0x493b83
cmp ebx, eax
jne 0x493b83
xor ecx, ecx
jmp 0x493bb8
push eax
push esi
push edi
push dword [esp + 0x24]
push dword [esp + 0x2c]
push ebx
push dword [esp + 0x38]
push dword [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push str.Zip:_size_crc32_mismatch._expected__llu___llu___x__was__llu___llu___x
push str.ziparchive
push 5
call fcn.00420f20
add esp, 0x34
mov ecx, 0xfffffff7
mov eax, ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push dword [esp + 0x3c]
push eax
push str.Zip:_inflate_zerr_d__nIn_p_aIn_u_nOut_p_aOut_u_
push str.ziparchive
push 5
call fcn.00420f20
add esp, 0x20
mov esi, 0xfffffffe
jmp 0x4939bb
mov esi, 0xfffffff5
jmp 0x4939bb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
push dword [eax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll_strerror
add esp, 4
push eax
push esi
push str.Zip:_inflate_read_failed__getSize___u:__s
push str.ziparchive
push 5
call fcn.00420f20
add esp, 0x14
mov esi, 0xfffffff5
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 4]
jmp 0x4939bb
lea esi, [esp + 0x88]
mov ecx, esi
push 0xffffffffffffffff
push str.ziparchive
push 6
push 0x54b
push str.system_libziparchive_zip_archive.cc
call fcn.0043ce40
mov ecx, esi
call fcn.0043ce10
push 0xe
push 0x55acd9
push eax
call fcn.0041b3d0
add esp, 0xc
push 4
push str.zerr
push eax
call fcn.0041b3d0
add esp, 0xc
push 1
push 0x55acfe
push eax
call fcn.0041b3d0
add esp, 0xc
push 2
push 0x55ad00
push eax
call fcn.0041b3d0
add esp, 0xc
push 1
push 0x55acfe
push eax
call fcn.0041b3d0
add esp, 0xc
push 1
push 0x55bac2
push eax
call fcn.0041b3d0
add esp, 0xc
push 7
push str.__zerr
push eax
call fcn.0041b3d0
add esp, 0xc
mov ecx, eax
push dword [esp + 4]
call fcn.00434a00
push 4
push str.__1
push eax
call fcn.0041b3d0
add esp, 0xc
mov ecx, eax
push 1
call fcn.00434a00
push 2
push 0x55ad2f
push eax
call fcn.0041b3d0
add esp, 0xc
mov ecx, esi
call fcn.0043cf10
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 8]
cmp dword [esp + 4], 1
je 0x49397c
jmp 0x493c3a