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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov ebx, edx
movzx edx, word [edx]
cmp edx, 8
je 0x4b5d49
mov eax, 0xffffffff
test edx, edx
jne 0x4b648a
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
cmp dword [ecx + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
je 0x4b5dcd
call fcn.004b4770
mov edi, dword [ebx + 0x38]
mov esi, dword [ebx + 0x3c]
xor ecx, ecx
cmp eax, edi
sbb edx, esi
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], esi
mov ebx, 0
jb 0x4b5dd0
jmp 0x4b60db
mov dword [esp + 0xa0], 0x87bd60
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa8], ebx
mov eax, dword [ebx + 0x30]
mov dword [esp + 0xc], eax
mov esi, dword [ebx + 0x34]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
cmp dword [ecx + 0x10], 0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ecx
je 0x4b5e36
mov dword [esp + 0x34], 0
mov eax, esi
neg eax
mov eax, 0
sbb eax, eax
or eax, dword [esp + 0xc]
mov dword [esp + 8], eax
jmp 0x4b5e6f
mov edi, dword [ebx + 0x38]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push edi
call dword [eax + 4]
mov ebx, edx
mov ecx, edx
sar ecx, 0x1f
mov edx, dword [esp + 0x14]
mov edi, dword [edx + 0x38]
mov esi, dword [edx + 0x3c]
cmp ebx, edi
sbb ecx, esi
jae 0x4b60d1
cmp edi, 0x8000
mov eax, 0x8000
cmovae edi, eax
test esi, esi
cmovne edi, eax
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], edi
push edi
mov esi, edx
call fcn.004b7600
mov eax, dword [esp + 0x40]
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0x38]
mov esi, dword [esi + 0x3c]
mov ecx, eax
sub ebx, eax
jmp 0x4b60db
mov edi, dword [esp + 0xc]
cmp edi, 0x8000
mov eax, 0x8000
mov edx, 0x8000
cmovb edx, edi
test esi, esi
cmovne edx, eax
mov dword [esp + 0x34], 0
test edx, edx
mov dword [esp + 8], edx
je 0x4b5e6f
lea ecx, [esp + 0x88]
push edx
call fcn.004b7600
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0xc]
cmp edi, ebx
mov eax, ebx
cmova eax, edi
mov edx, dword [esp + 0x28]
cmp esi, edx
cmova ebx, edi
cmove ebx, eax
mov edi, edx
cmova edi, esi
mov dword [esp + 0x7c], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x80], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push ebx
call dword [eax + 4]
mov ecx, eax
mov eax, edx
sar eax, 0x1f
cmp edx, ebx
mov dword [esp + 0x9c], eax
sbb eax, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], edx
jae 0x4b5eff
cmp ebx, 0x8000
mov eax, 0x8000
cmovb eax, ebx
mov ecx, 0x8000
test edi, edi
cmovne eax, ecx
lea ecx, [esp + 0x78]
push eax
call fcn.004b7600
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
sub edx, ecx
pxor xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x10], edx
mov dword [esp + 0x50], edx
mov dword [esp + 0x6c], 2
lea eax, [esp + 0x40]
push 0x38
push 0x87b988
push 0xfffffffffffffff1
push eax
call fcn.0066e5d0
add esp, 0x10
cmp eax, 0xfffffffa
je 0x4b61c9
test eax, eax
jne 0x4b61dc
mov dword [esp + 0x3c], 0
mov edx, dword [esp + 0xc]
mov dword [esp], esi
mov dword [esp + 0x38], 0
mov dword [esp + 0x98], esi
mov ebx, dword [esp + 8]
jmp 0x4b5fa0
mov ebx, dword [esp + 8]
mov edx, dword [esp + 4]
test esi, esi
jne 0x4b62ae
cmp dword [esp + 0x44], 0
je 0x4b5fb0
mov dword [esp + 4], edx
mov edi, dword [esp]
jmp 0x4b601e
cmp ebx, edx
mov eax, edx
cmovb eax, ebx
mov edi, dword [esp + 0x34]
mov ecx, dword [esp]
cmp edi, ecx
mov esi, edx
cmovb esi, ebx
cmove esi, eax
mov eax, dword [esp + 0xc]
mov ebx, ecx
cmovb ebx, edi
mov edi, edx
sub eax, edx
mov edx, dword [esp + 0x98]
mov dword [esp], ecx
sbb edx, ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
lea ecx, [esp + 0xa0]
push edx
push eax
push esi
push dword [esp + 0x94]
mov eax, dword [esp + 0x14]
call dword [eax]
test eax, eax
je 0x4b627d
sub edi, esi
mov dword [esp + 4], edi
mov edi, dword [esp]
sbb edi, ebx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], esi
push 0
lea eax, [esp + 0x44]
push eax
call fcn.0066e810
add esp, 8
mov esi, eax
cmp eax, 2
jae 0x4b6251
mov eax, dword [esp + 0x50]
test eax, eax
mov dword [esp], edi
je 0x4b6056
cmp esi, 1
jne 0x4b5f90
cmp dword [esp + 0x10], eax
je 0x4b62aa
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
sub edx, ebx
mov edi, dword [esp + 0x10]
mov ecx, edi
sub ecx, eax
add dword [esp + 0x3c], ecx
adc dword [esp + 0x38], 0
mov ecx, dword [esp + 0x20]
cmp ecx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x9c]
sbb ecx, dword [esp + 0x30]
jae 0x4b60a0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
push edx
push ebx
call dword [eax]
test al, al
je 0x4b62a3
mov eax, dword [esp + 0x50]
jmp 0x4b60ac
sub edi, edx
mov dword [esp + 0x10], edi
add ebx, edx
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 8]
mov edx, dword [esp + 4]
test eax, eax
jne 0x4b5f98
mov eax, dword [esp + 0x18]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
jmp 0x4b5f98
mov ecx, eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x1c], esi
mov eax, edi
or eax, esi
je 0x4b61bf
xor edx, edx
mov dword [esp], ecx
xor ecx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], esi
jmp 0x4b611c
mov dword [esp], eax
mov edx, dword [esp + 0x18]
add ecx, edi
adc edx, 0
mov edi, dword [esp + 0x30]
cmp ecx, edi
mov eax, edx
sbb eax, esi
jae 0x4b622b
mov dword [esp + 4], ebx
sub edi, ecx
mov eax, esi
sbb eax, edx
mov esi, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 0x18]
mov dword [esp + 0x10], esi
add ebx, esi
mov esi, dword [ecx + 0x1c]
mov dword [esp + 0x18], edx
adc esi, edx
mov edx, dword [esp + 0xc]
cmp edx, edi
mov ecx, edi
cmovb ecx, edx
cmp dword [esp + 0x1c], eax
cmovb edi, edx
cmove edi, ecx
mov ecx, dword [esp + 0x24]
push esi
push ebx
push edi
push dword [esp + 0xc]
call fcn.004b65f0
test eax, eax
je 0x4b61fb
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edi
push eax
call dword [edx]
test al, al
je 0x4b6223
mov dword [esp + 8], 0
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x4b61b0
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x44]
mov eax, dword [esp]
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
jne 0x4b6100
sub ebx, edi
add eax, edi
jmp 0x4b6100
xor ebx, ebx
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
jmp 0x4b6103
mov dword [esp + 8], 0
jmp 0x4b622b
push 0x87b988
push str.Installed_zlib_is_not_compatible_with_linked_version___s_
push str.ziparchive
push 6
jmp 0x4b61e9
push eax
push str.Call_to_inflateInit2_failed__zerr_d_
push str.ziparchive
push 5
call fcn.00612760
add esp, 0x10
mov esi, 0xfffffffe
jmp 0x4b62fb
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 ebx
push edi
push str.CopyFileToFile:_copy_read_failed__block_size___u__offset___lld:__s
push str.ziparchive
push 5
call fcn.00612760
add esp, 0x1c
mov dword [esp + 8], 0xfffffff5
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b6240
mov dword [esp + 0x44], eax
push eax
call fcn.0051c570
add esp, 4
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 8]
jmp 0x4b6333
push dword [esp + 0x50]
push dword [esp + 0x50]
push dword [esp + 0x4c]
push dword [esp + 0x4c]
push esi
push str.Zip:_inflate_zerr_d__nIn_p_aIn_u_nOut_p_aOut_u_
push str.ziparchive
push 5
call fcn.00612760
add esp, 0x20
mov esi, 0xfffffffe
jmp 0x4b62ee
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.00612760
add esp, 0x14
mov esi, 0xfffffff5
jmp 0x4b62ee
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x3c]
xor eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
xor ecx, dword [esp + 0x28]
or ecx, eax
jne 0x4b62c9
xor esi, esi
or edx, dword [esp]
je 0x4b62ee
push dword [esp + 0x28]
push dword [esp + 0x30]
push dword [esp + 0x5c]
push str.Zip:_size_mismatch_on_inflated_file___lu_vs__llu_
push str.ziparchive
push 5
call fcn.00612760
add esp, 0x18
mov esi, 0xfffffff7
lea eax, [esp + 0x40]
push eax
call fcn.00670ba0
add esp, 4
mov eax, dword [esp + 0x78]
test eax, eax
mov edi, dword [esp + 0x14]
je 0x4b6314
mov dword [esp + 0x7c], eax
push eax
call fcn.0051c570
add esp, 4
mov eax, dword [esp + 0x88]
test eax, eax
je 0x4b632f
mov dword [esp + 0x8c], eax
push eax
call fcn.0051c570
add esp, 4
mov ecx, dword [esp + 0x24]
test esi, esi
mov eax, esi
jne 0x4b648a
cmp byte [edi + 0xa], 0
je 0x4b6439
pxor xmm0, xmm0
movdqa xmmword [esp + 0x40], xmm0
mov dword [esp + 0x54], 0
mov dword [esp + 0x50], 0
xor eax, eax
cmp word [edi], 0
sete al
mov edx, dword [edi + eax*8 + 0x30]
add edx, dword [edi + 0x18]
mov eax, dword [edi + eax*8 + 0x34]
adc eax, dword [edi + 0x1c]
lea esi, [esp + 0x40]
push eax
push edx
push 0x18
push esi
call fcn.004b65f0
test eax, eax
je 0x4b6404
xor ecx, ecx
cmp dword [eax], 0x8074b50
sete cl
mov dword [esp + 0x14], edi
movdqu xmm1, xmmword [edi + 0x30]
pshufd xmm0, xmm1, 0x55
movd edi, xmm0
movd edx, xmm1
xor ebx, ebx
mov esi, 0xfffffffe
mov dword [esp], edx
cmp esi, edx
mov edx, 0
mov dword [esp + 4], edi
sbb edx, edi
pshufd xmm0, xmm1, 0xff
pshufd xmm2, xmm1, 0xee
movd edi, xmm0
lea edx, [ecx*4]
movd esi, xmm2
jb 0x4b640b
mov dword [esp + 0x10], edx
mov edx, edi
mov edi, 0xfffffffe
cmp edi, esi
mov edi, edx
mov edx, dword [esp + 0x10]
sbb ebx, edi
jb 0x4b640b
movq xmm0, qword [eax + edx + 4]
pxor xmm2, xmm2
punpckldq xmm0, xmm2
jmp 0x4b6411
mov eax, 0xfffffff5
jmp 0x4b648a
movdqu xmm0, xmmword [eax + edx + 4]
mov eax, dword [eax + ecx*4]
pcmpeqd xmm1, xmm0
pshufd xmm2, xmm1, 0xb1
pand xmm2, xmm1
movmskpd ecx, xmm2
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + 0xc]
test cl, 1
je 0x4b643d
shr cl, 1
je 0x4b643d
cmp ebx, eax
jne 0x4b643d
xor eax, eax
jmp 0x4b648a
sub esp, 0x34
mov dword [esp + 0x30], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0x10], eax
movdqu xmmword [esp + 0x20], xmm0
mov eax, dword [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Zip:_size_crc32_mismatch._expected__llu___llu___x__was__llu___llu___x
mov dword [esp + 4], str.ziparchive
mov dword [esp], 5
call fcn.00612760
add esp, 0x34
mov eax, 0xfffffff7
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret