Function at 0x4840c0
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 0x4841c3
mov ecx, 0xffffffff
test ax, ax
jne 0x4845f8
push 0x8000
call fcn.0046a7f0
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 0x48440a
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.004848a0
test al, al
je 0x48444a
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 0x484130
mov esi, 0xfffffff5
jmp 0x48447e
mov dword [esp + 0x7c], 0x4d3b14
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.0046a7f0
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.0046a7f0
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 0x4d3750
push 0xfffffffffffffff1
push eax
call fcn.00499550
add esp, 0x10
cmp eax, 0xfffffffa
je 0x48440e
test eax, eax
jne 0x484421
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 0x4842b7
mov dword [esp + 0x24], edx
jmp 0x484336
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 0x48463b
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.00499780
add esp, 8
cmp eax, 2
jae 0x484602
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
test eax, eax
je 0x484368
cmp dword [esp + 4], 1
jne 0x48439b
cmp eax, 0x8000
je 0x48439b
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 0x484631
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 0x4842a6
mov dword [esp + 0x28], esi
cmp eax, 1
jne 0x484673
mov esi, dword [esp + 0x2c]
xor esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
xor eax, dword [esp + 0x18]
or eax, esi
jne 0x4843d6
xor esi, esi
or ecx, edx
je 0x4843fb
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.00489e60
add esp, 0x18
mov esi, 0xfffffff7
lea eax, [esp + 0x30]
push eax
call fcn.0049bb90
add esp, 4
jmp 0x48443b
xor esi, esi
jmp 0x48447e
push 0x4d3750
push str.Installed_zlib_is_not_compatible_with_linked_version___s_
push str.ziparchive
push 6
jmp 0x48442e
push eax
push str.Call_to_inflateInit2_failed__zerr_d_
push str.ziparchive
push 5
call fcn.00489e60
add esp, 0x10
mov esi, 0xfffffffe
push edi
call fcn.0046a990
add esp, 4
push dword [esp + 0x10]
jmp 0x484483
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.00489e60
add esp, 0x1c
mov esi, 0xfffffff5
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
push eax
call fcn.0046a990
add esp, 4
mov ecx, esi
test esi, esi
jne 0x4845f8
cmp byte [ebx + 0xa], 0
je 0x4845bf
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.004848a0
mov ecx, 0xfffffff5
test al, al
je 0x4845f8
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 0x484568
mov ebx, 0xfffffffe
cmp ebx, ecx
sbb eax, edi
jb 0x484568
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 0x484586
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 0x4845c3
mov ecx, dword [esp + 4]
xor ecx, edi
mov edx, dword [esp + 0x20]
xor edx, esi
or edx, ecx
jne 0x4845c3
cmp ebx, eax
jne 0x4845c3
xor ecx, ecx
jmp 0x4845f8
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.00489e60
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.00489e60
add esp, 0x20
mov esi, 0xfffffffe
jmp 0x4843fb
mov esi, 0xfffffff5
jmp 0x4843fb
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.00489e60
add esp, 0x14
mov esi, 0xfffffff5
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 4]
jmp 0x4843fb
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.0041c2d0
mov ecx, esi
call fcn.0041c2a0
push 0xe
push 0x4d29f9
push eax
call fcn.00404100
add esp, 0xc
push 4
push str.zerr
push eax
call fcn.00404100
add esp, 0xc
push 1
push 0x4d2a1e
push eax
call fcn.00404100
add esp, 0xc
push 2
push 0x4d2a20
push eax
call fcn.00404100
add esp, 0xc
push 1
push 0x4d2a1e
push eax
call fcn.00404100
add esp, 0xc
push 1
push 0x4d37e2
push eax
call fcn.00404100
add esp, 0xc
push 7
push str.__zerr
push eax
call fcn.00404100
add esp, 0xc
mov ecx, eax
push dword [esp + 4]
call fcn.004276b0
push 4
push str.__1
push eax
call fcn.00404100
add esp, 0xc
mov ecx, eax
push 1
call fcn.004276b0
push 2
push 0x4d2a4f
push eax
call fcn.00404100
add esp, 0xc
mov ecx, esi
call fcn.0041c3a0
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 8]
cmp dword [esp + 4], 1
je 0x4843bc
jmp 0x48467a